3DS and Future Payments Setup
  • 06 Aug 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

3DS and Future Payments Setup

  • Dark
    Light

Article summary

The Bento Payment Gateway facilitates the setup of customers' payment methods for future transactions. Prior to interacting with the Bento Payment Gateway, merchants are responsible for completing a 3DS authentication and exchanging the resulting provider's payment token or one-time nonce for a Bento Payment Token.

In addition to payment tokens (also called 'Payment Method Tokens', 'Payment Method ID', etc. by different providers); some providers (like Braintree) support a one-time nonce. A nonce is a secure, one-time-use reference to payment information which can be used to create a payment method and store if for future use.

While the Payment Gateway API supports both in general; the availability and usage of nonces to create a payment method is different across providers; please refer to the documentation of each provider for more information.

The process for completing a 3DS authentication, establishing a customer profile on the provider's platform, and acquiring the provider's payment token is largely uniform across various providers. It entails utilizing the provider's client SDK to create a customer, retrieve the customer's payment credentials, conduct authentication, and generate a payment token.

A customer profile is used by payment providers to tie multiple cards together and allow customers to update their card details. Some payment providers mandate creating a customer profile prior to the 3DS and authenticating the card.

For detailed instructions on setting up future payments and obtaining a payment token, refer to the following resources for Braintree and Stripe:

Upon successful completion of the 3DS authentication and customer creation on the provider's platform, the obtained customerId and paymentMethodToken should be exchanged with Bento to receive a Bento Payment Token, which must be used for all subsequent transaction requests.

Notably, when using Braintree as a provider the customer profile can be created by the Bento Payment Gateway, aligning with the merchant's customerId (passed in the API URL). In this scenario, solely providing the paymentMethodToken is sufficient for registration with Bento.


Was this article helpful?

What's Next
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence