Payment ServicesPostFinance


Sana Commerce 9.1
Your connector

Configure PostFinance

When the PostFinance payment provider is installed and configured in the PostFinance BackOffice, it must be also configured in Sana Admin.

To configure PostFinance:

Step 1: In Sana Admin, click: Setup > Ordering & checkout > Payment methods > Configuration > PostFinance Payment.

Step 2: Choose the appropriate payment integration mode.

There are two modes: Test and Live. Test mode allows to simulate the payment process as if it is a real payment and helps to make sure that everything will behave the same way when you go live. Live mode implies that a customer makes a real purchase using already configured payment provider and methods.

Step 3: Configure the payment provider by entering the payment provider specific settings of your PostFinance test/ live account.

The table below provides the description of the PostFinance payment provider settings.

Field  Description
PSPID The affiliation name in the PostFinance system.
SHASIGNIN Hash keys must be configured both in the PostFinance BackOffice and in Sana Admin to check the data which is sent. Make sure that the values of these parameters are the same as in the PostFinance BackOffice (SHA-IN pass phrase and SHA-OUT pass phrase). Otherwise, an error will be thrown.

For each order, the server generates a unique character string (called a digest), which is hashed with the secure hash algorithm.
OPERATION Possible only for direct payments. Authorization is not supported. The value of the OPERATION parameter must be left empty or set to "SAL". The "SAL" value for maintenance operations is used for partial data capture (payment), leaving the transaction open for a possible other data capture.
HashAlgorithm This parameter is used to check/prepare hash of parameters. The value of this parameter must be the same as in the PostFinance BackOffice (SHA512). Otherwise, the security error will occur.

When PostFinance is installed and configured, you can set up the necessary payment methods in Sana Admin that are supported by PostFinance.

Payment ServicesPostFinance