Skip to main content
This guide walks you through processing a payment using the Tonder React Native Lite SDK. You’ll learn how to build a custom payment interface using individual secure components while maintaining PCI compliance.

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 the TonderProvider 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 the useTonder 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: