The Full SDK (
full_sdk) does not support customization as it provides a standardized, pre-built user interface. For custom payment forms and styling, you must use the Lite SDK (tonder_sdk_lite).Lite SDK Customization
The Lite SDK is designed for maximum flexibility and complete UI control. It provides the core, secure logic for payment processing without rendering any visible UI, allowing you to build a completely custom payment experience. This approach offers the following benefits:- Build your own payment form using standard Flutter widgets.
- Apply your application’s existing design system and styles.
- Control the layout, flow, and interactions completely.
- All payment logic remains secure and PCI-compliant.
Implementation Approach
To implement the Lite SDK, you will create your own input fields and then pass the collected data to the SDK’s payment methods. Here’s a simple example showing how to use the Lite SDK with custom UI. This code creates a custom payment widget that collects user input through Flutter’s standard TextField component and then uses the SDK’s documented methods to process the payment data:Building Your Custom UI
When building your custom payment form with the Flutter Lite SDK, ensure you collect all required payment information:Required Fields
- Card number
- Cardholder name
- Expiration month
- Expiration year
- CVV/CVC
- Customer email
- Customer name
Best Practices
- Use appropriate input types and keyboard types
- Implement real-time card number formatting
- Display clear error messages
- Follow Material Design or Cupertino design guidelines
- Ensure mobile responsiveness
- Add proper input validation
Styling Options
With the Lite SDK, you have complete freedom to style your payment form:Next Steps
Now that you understand the customisation options available with the Tonder Flutter Lite SDK, you’re ready to implement payment processing in your application. Here are the recommended next steps to get you started:- Make a payment with the Lite SDK.
- Explore the available SDK methods for payment processing.
- Learn how to enroll payment methods for returning customers.

