On this page, you can find additional configuration for adding Touch'n Go to your Components integration.
Before you begin
This page assumes you've already:
You don't need to send additional fields for Touch'n Go. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:
- /sessions: This is the default with Components v5.0.0 or later.
- /payments: If you implemented an additional use case.
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Touch'n Go Component:
There is no required Touch'n Go specific integration for Components.
//Create a payment method object for Touch'n Go. let paymentMethod = paymentMethods.paymentMethod(ofType: touchngoComponentPaymentMethod.self) //Create a configuration object for the Touch'n Go Component. var touchngoComponentConfiguration = touchngoComponent.Configuration() //Set additional parameters on the configuration object. touchngoComponentConfiguration.localizationParameters = //Optional custom localization parameters.
Test and go live
Check the status of Touch'n Go test payments in your Customer Area > Transactions > Payments.
To accept live Touch'n Go payments, you must contact our Support Team to add Touch'n Go in your live Customer Area.