Summary
Breaking change in @redpincompany/hosted-payment-sdk 2.0.0: The hosted thank-you page no longer posts VIEW_ALL_PAYMENTS. It posts REDPIN_PAYMENT_TRACKING_EXITED. The SDK maps that message to onPaymentFlowExited (() => void). onViewAllPayments is not called.
Documentation Updates
Page updates
- Quickstart setup — React Native SDK example and callback list now use
onPaymentFlowExited. The callback fires when the user exits payment tracking from the thank-you page. Use it to leave the hosted flow.