Skip to main content
This page provides a reference for the core methods and components available in the Tonder React Native Full SDK when using INLINE mode. The SDK uses a combination of a Provider, hooks, and components to manage state and render UI.

Core Components

The Tonder React Native Full SDK provides these essential components for building payment interfaces in INLINE mode.
A wrapper component that initializes the SDK and provides its context to children. This component must be placed at the root of your checkout flow.Here’s an example of how to configure the TonderProvider:
Renders the complete, pre-built payment UI. This component is used when SDKType is INLINE.Here’s an example of how to render the TonderPayment component:

Hook: useTonder

A React hook that provides access to the SDK’s methods for INLINE mode.

INLINE SDK Methods

These methods are available when using SDKType.INLINE for the Full SDK experience.
Initializes the SDK with configuration. This must be called before rendering components or calling other methods.
Processes a payment using the configured data. Note: This is only necessary when you want to use a custom payment button (by setting customization.paymentButton.show: false).
Resets the SDK state to its initial values and cleans up resources. This is useful for re-initializing the payment flow after a transaction.

Next Steps

Now that you’re familiar with the available methods in the React Native Full SDK, explore these guides to enhance your implementation: