Deep linking / external browser return
Handle users returning to your app after external payment flows like 3DS authentication challenges, bank transfer redirects, PIX payments, and alternative payment methods that redirect to external browsers.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.
Platform-specific configuration
Handle differences between iOS and Android in your React Native app.Conditional configuration
Platform differences
| Feature | iOS | Android |
|---|---|---|
| Card scanning | Not available | Available |
| Deep links | Universal Links | Intent Filters |
| Minimum OS | iOS 14.0+ | API 21 (5.0)+ |