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.LiteCheckout Constructor
LiteCheckout Constructor
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:
configureCheckout
configureCheckout
Sets customer email and the secure token required for card management operations.
Here’s an example:
setPaymentData
setPaymentData
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:
setCartTotal
setCartTotal
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:
payment
payment
Processes a payment using the provided card data collected from your custom form.
Here’s an example of how to process a payment:
saveCustomerCard
saveCustomerCard
Securely tokenizes and saves new card details for the customer.
Here’s an example:
getCustomerCards
getCustomerCards
Retrieves a list of saved cards for the configured customer.
Here’s an example:
removeCustomerCard
removeCustomerCard
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:- Learn how to make a payment using the Flutter Lite SDK.
- Learn how to enroll payment methods for returning customers.
- Learn more about customization options to match your app’s design.

