Prerequisites
Before you can process payments with the Tonder React Native Full SDK, ensure you have completed the necessary setup and have the required components in place.- You have successfully installed and configured the Tonder SDK.
- You have a screen in your app where you can implement the checkout flow.
Payment Integration Steps
Follow these steps to integrate payment processing into your React Native application. This process involves configuring the SDK provider, creating payment instances, and rendering the complete payment interface.Step 1: Wrap Your App with TonderProvider
Configure your app to use the Tonder Full SDK by wrapping your root component with theTonderProvider in INLINE mode. This component initializes the SDK and makes its functions available to all child components via React Context.
App.js
Step 2: Create the Payment Instance
In your checkout screen, use theuseTonder hook to access the SDK’s create method. This method configures the payment session with a secure token from your backend and the payment data.
Step 3: Render the Payment Component
Render theTonderPayment component to display the complete pre-built checkout UI. This component includes the card form, payment button, and any saved cards or alternative payment methods, with automatic payment submission and 3DS flow handling.

Next Steps
Now that you’ve successfully integrated payment processing into your React Native app, explore these advanced features to enhance your payment experience:- Explore the available SDK methods for advanced payment operations.
- Customize the SDK appearance and behavior to match your app’s design.

