Deep linking / external browser return
Some payment flows redirect users to an external browser, including 3DS authentication challenges, bank transfer redirects, PIX payments, and other alternative payment methods. Handle their return to your app with the following steps.1. Set callback_url in checkout session
Includecallback_url when creating the checkout session on your backend:
2. Configure deep links
iOS - Info.plist:3. Handle deep links in react-native
4. Continue payment after return
After handling the deep link, continue the payment flow:Performance
Lazy loading
Initialize the SDK only when the user enters the payment flow to save resources.Error handling
Listen to theonPaymentStatus event to handle failures gracefully.