Prerequisites
Before you can process payments with the Tonder React Native Lite 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 with custom UI.
Payment Integration Steps
Follow these steps to integrate payment processing into your React Native application with the Lite SDK. This process involves configuring the SDK provider in LITE mode, creating payment instances, and building your custom payment interface with secure components.Step 1: Wrap Your App with TonderProvider
Configure your app to use the Tonder Lite SDK by wrapping your root component with theTonderProvider in LITE mode. This enables the use of individual secure input components for building custom payment forms.
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: Build Your Custom Payment Form
Use the individual secure components provided by the Lite SDK to build your custom payment form. These components handle secure data collection while you maintain complete control over the layout and styling.Next Steps
Now that you’ve successfully integrated payment processing into your React Native app with the Lite SDK, explore these advanced features to enhance your payment experience:- Learn how to enroll payment methods for returning customers.
- Explore the available SDK methods for advanced payment operations.
- Learn more about customization options for styling your custom components.

