Bank Transfer Payment: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(Restructured first half of the document and added information about an additional window before the customer is redirected to kevin. Additionally, created a new section to explain how to manually pre-select a bank for customers.)
m (fixed table formatting (removed two notes))
Line 108: Line 108:


{| class="wikitable"
{| class="wikitable"
|+ Bank Identifier and Country Code
! style="text-align:left;"|BankIdentifier !! CountryCode
! BankIdentifier !! CountryCode
|-
|-
| RAIFFEISEN_CZ || CZ
| RAIFFEISEN_CZ || CZ
Line 143: Line 142:
| UNICREDIT_SK || SK
| UNICREDIT_SK || SK
|}
|}
<b>WARNING</b> - the payments in the demo shop are processed in a production/live environment with real money transfers. </p>
{{NotificationBox|title=NOTE|text=Different banks are available for EUR and CZK|color=#1993c7}}


= Callback process for bank transfer payment scenarios =
= Callback process for bank transfer payment scenarios =

Revision as of 13:57, 27 July 2023

Bank Transfer Payment

Bank transfer payments offer customers an alternative method to fulfill their payment obligations through the Barion Smart Gateway, in addition to the e-money payment from wallet and card payment options.

This payment option is only visible on the Barion Smart Gateway if you meet all technical requirements. See #Availability and limitations for more information.

Availability and limitations

The current technical limitations are the following:

  • This feature is available exclusively for payments conducted in CZK and EUR.
  • Only immediate payment scenarios are supported. In the future, we are planning on extending this feature to include reservation/escrow scenarios as well.
  • This feature is only supported for the banks listed in the #Supported banks section.
WARNING
Payments made in the demo shop are processed in a live production environment, involving real money transfers. Please use this feature responsibly.

Supported banks

The supported banks are the following:

CZK:


EUR - Slovakia:

Other countries:

The feature is also available for many other banks in the following countries:

  • Austria
  • Belgium
  • Germany
  • Estonia
  • Finland
  • France
  • Greece
  • Ireland
  • Italy
  • Latvia
  • Lithuania
  • Luxemburg
  • The Netherlands
  • Portugal
  • Slovenia
  • Spain

Testing the feature

You can initiate a payment in our demo shop to test the bank transfer function:

  1. Open our demo shop in a browser of your choosing.
  2. On the top right, select Česky - CZK or Slovenský - EUR.
  3. Click the DemoTravel button.
  4. Enter an email address and click Pay.
  5. Select Online bank transfer, choose a bank, and click the Pay button.

The bank transfer process

When a customer chooses to pay via bank transfer, they follow these steps:

  1. The customer navigates to the Barion Smart Gateway.
  2. The customer opts for a bank transfer, adds the necessary information, selects a bank and clicks the Pay button.
  3. The customer receives a message that they will be redirected to the selected bank's interface through our partner, kevin.
  4. The customer is redirected to the selected bank's interface through kevin.
  5. The customer adds the necessary information to initiate the transfer.
  6. Once the customer submits the information, they are redirected back to the Barion Smart Gateway to view the result of their transaction.
  7. The customer is redirected to the merchant's site.
NOTE
You can manually pre-select a bank for your customers. For more information, see #Selecting a bank for your customers.

If the transfer is unsuccessful, the customer can attempt the payment again with a different bank or opt for an alternative payment method. If the transfer is successful, a callback is sent to the merchant's server to confirm the transaction.

NOTE
Some bank transfers might take longer to process. In these cases, the customer is presented with a message explaining the situation. Once the result of the transfer is known, the customer receives an email notification regarding the outcome.


Selecting a bank for your customers

Instead of your customers selecting a bank from a list, you can select a bank for them.

To do so, you can add the `BankId` of the bank of your choosing to the URL in the following format:


This table lists the available bank identifiers and country codes:

BankIdentifier CountryCode
RAIFFEISEN_CZ CZ
REVOLUT_CZ CZ
AIRBANK_CZ CZ
CSAS_CZ CZ
CSOB_CZ CZ
FIO_CZ CZ
KB_CZ CZ
MBANK_CZ CZ
MONETA_CZ CZ
CSOB_SK SK
INTESA_SANPAOLO_SK SK
RAIFFEISEN_SK SK
REVOLUT_SK SK
SLSP_SK SK
TATRA_SK SK
UNICREDIT_SK SK

Callback process for bank transfer payment scenarios

There are two types of transfer scenarios regarding bank transfer payments. Only after the customer completes the transfer will the system know which scenario is used. So, every system that handles payments that can be paid with bank transfer must handle the asynchronous scenario as well.

Synchronous scenario
In this case, the result of the bank transfer is known immediately after the transfer. This scenario works the same way as the card payment scenario. After the final status of the payment is known a callback mechanism is started to notify the merchant.

Asynchronous scenario
There is a scenario where the result of the bank transfer is not available at the end of the payment. It can take up to five days to receive the final result of the transfer. In this case the Barion system starts two callback process.

  1. One process will be started when the Barion system receives information that the asynchronous scenario is applied for the transfer,
  2. and one process when the final result of the transfer is available.

As with any callback the merchant should use the GetPaymentState request to decide what happened.

In the first callback mechanism a new payment status is introduced, called Waiting. This represents the status where the Barion system is waiting for the final result of the bank transfer. At this point the payment is not completed and still can be Failed as well.

When the Barion system receives the final result of the transfer, a new callback mechanism is started to notify the merchant again.

GetPaymentState implications

If a customer paid with bank transfer there are a number of transaction types that can appear in the response of a GetPaymentState call.

  • BankTransferPayment: the actual payment transaction itself
  • RefundToBankAccount: if there was a refund, this represents it
  • StornoUnSuccessfulRefundToBankAccount: if the refund was not successful, this is the storno for it
  • BankTransferPaymentFee: The fee deducted for using this feature

These are unique for this type of payment, but apart from these, any other transaction type can be present like in any other payment scenario.

Payment status changes

This is a diagram for the payment status changes if the payment was funded with a bank transfer.