Card Payments with 3DS
Last updated: 13-Mar-2024
To perform card payments using 3DS flow with mobile SDKs, complete the following steps:
- Store the card capture key on your backend and pass it to the mobile app at the start-up phase or when the payment is initialized.
- Your app will send a call to Verifone SDK to display the Card Form. The following information should be passed to the Card Form: card capture key, price, and the option whether to include the stored card in the Card Form or not. Verifone SDK will provide your app with the encrypted card data, shopper name and card brand. Send the encrypted data along with additional information about the order to the backend.
- Initiate a Create JWT transaction with the encrypted data.
- Receive the JWT from your backend.
- Send the JWT back to the SDK to complete the 3DS setup. After the setup is complete, a device ID will be generated.
- Send the device ID to your backend.
- Perform a lookup request using the encrypted data and the device ID.
- The 3DS API will return a payload and transaction ID.
- Forward the payload and transaction ID to the SDK to complete the authentication.
- If the authentication is successful, an authentication ID will be generated. After the ID is generated, send it to the backend.
- Initiate a JWT Validation with the JWT and authentication ID. Continue with the standard card transaction.
Related articles
Rate this article: