Prerequisites
Before you can process payments with the Tonder Ionic Lite SDK, ensure you have completed the necessary setup and have the required components in place.- You have successfully installed and configured the Tonder Ionic Lite SDK.
- You must add Openpay dependencies to your index.html file.
index.html
- You have created your own custom payment form UI.
Before you can process payments, ensure all required dependencies are installed and configured
Mobile Network Permissions
If deploying to a mobile platform, you must configure network permissions:- Android: Edit AndroidManifest.xml to add the Internet permission:
Payment Integration Steps
This process requires you to initialize the SDK with your custom UI, collect payment data from your form, and process the payment using the SDK’s secure methods.Step 1: Initialize the SDK
Create an instance of LiteCheckout with your API configuration.Step 2: Configure Customer Data
Set the initial customer information using the configureCheckout method.Step 3: Build Your Custom Payment Form
Create your own payment form using Ionic components. Here’s a simple example:Step 4: Process the Payment
Collect the data from your custom form and process the payment using the Lite SDK methods.Next Steps
Now that you’ve successfully integrated payment processing into your Ionic app with the Lite SDK, explore these 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 building your perfect payment experience.

