Skip to main content
This page provides a reference for the core methods available in the LiteCheckout class of the Flutter Lite SDK.

Core Methods

The Tonder Flutter Lite SDK provides these essential methods for payment processing and card management with complete UI control. Each method serves a specific purpose in the payment integration workflow.

Method Details

Each method in the Tonder Flutter Lite SDK serves a specific purpose in the payment integration workflow. Below you’ll find detailed information about each method, including their parameters, usage examples, and practical implementation guidance.
Creates a new instance of the LiteCheckout class with the necessary configuration for secure payment processing. This constructor establishes the connection with Tonder’s services and configures the payment environment.Here’s an example of how to initialize the LiteCheckout class:
Sets customer email and the secure token required for card management operations.Here’s an example:
Configures the customer information that will be used during the payment process. This data is used to associate the transaction with the customer.Here’s an example of how to set the customer data:
Sets the total amount for the transaction. This value is used for payment processing.Here’s an example of how to set the cart total:
Processes a payment using the provided card data collected from your custom form.Here’s an example of how to process a payment:
Securely tokenizes and saves new card details for the customer.Here’s an example:
Retrieves a list of saved cards for the configured customer.Here’s an example:
Deletes a previously saved card using its unique ID.Here’s an example:

Next Steps

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