Transaction
Use this constructor to initialize the SDK with a transactionId obtained from a server-to-server init call. After this class is initialized, you should define the options properties.
Parameters
The transaction ID from a server-to-server init call.
Use this constructor to start the SDK with a transactionId and the provided card for the transaction. Please note that this will only be used if you have direct access to the card information of your customers.
For this to work, you can only send one payment method in your server-to-server init call. Use this constructor if you use your own UI fields for the card information.
Parameters
The transaction ID from a server-to-server init call.
Card object used for the transaction.
Use this constructor to start the SDK with a transactionId and a selection of one or more saved payment methods to display.
The user will then be able to tap on their desired saved payment method to finalize the payment.
Parameters
The transaction ID from a server-to-server init call.
Specify here the saved payment methods that are available for the user to select.
Use this constructor to start the SDK with a transactionId and a single saved payment method.
The payment will be started with this saved payment method.
Parameters
The transaction ID from a server-to-server init call.
The saved payment method to use for this payment.