Token payment upgrade to 3DS

From Barion Documentation
Revision as of 11:23, 17 November 2020 by Botza (talk | contribs)
Jump to navigation Jump to search

Upgrading token payment implementation to use 3DS

This article is incomplete. It may change significantly without any notice, so don't rely on any content you find here yet. Please check back later.
This tutorial was created to help merchants that already have token payment integration with Barion. If you are planning to create a new integration, please read this description!

Token payment is a solution that enables the merchant to charge the payer without requiring the presence of the payer. It is a powerful tool to conduct subscription-like or payer-not-present scenarios. This scenario required the merchant to create a token that would act as an identifier for the payer's funding source (may it be a credit card or a Barion e-money account). To acquire such a token the merchant had to do several things:

  1. Create an alphanumeric token
  2. Register this token in the Barion system by attaching it to an initial payment and having the payer fulfill that payment (either by card or form an e-money account)
  3. Refer to this token in a subsequent payment attempt

This meant that as far as this token referred to a valid and still available funding source the merchant could create payments without any limitations. Basically, this token symbolized the funding source. It was up to the merchant to decide what it is used for, neither Barion neither the card issuer was not aware of the nature of the subsequent payments.


To make sure that the payer has more control over these scenarios there several things that change:

  • Merchant has to specify the nature of the transaction. This means that from now on the merchant has to categorize the transaction. It is not allowed to
  • merchant has to maintain a new identifier for every new category of

3DS authentication requires another identifier. This new identifier is used to differentiate these payment scenarios. From now on there will be two IDs for every payer-not-present scenario:

  • RecurrenceId for the funding source: this identifies the source of the money (could be card or wallet)
  • TraceId (new) for the nature of the charge: this identifies the type of transaction the merchant is conducting.

Starting from January 1 the 3DS authentication will be mandatory for all of our partners!