Sana Commerce 9.3
Your connector

Configure Midtrans

When the Midtrans payment provider is installed, it should be configured in Sana Admin.

Set up Midtrans

Step 1: In Sana Admin click: Apps > Add-ons. When the Midtrans add-on is installed, you can configure it from any tab on the "Add-ons" page by clicking on the Configure button .

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 Midtrans payment provider by entering the payment provider specific settings of the test/ live account.

The table below provides the description of the Midtrans payment provider fields.

Field Description
Server key Server Key is needed to communicate with VT-Web. This key is auto generated by system and can be seen in the Midtrans Merchant Admin Portal (MAP) under: Settings > Access Keys.
Send order lines Use this option to show/hide the sales lines (purchased products, service charge, tax, invoice discount, etc.) on the Midtrans payment page.
Credit card BINs that can be used List of credit card BINs (Bank Identification Number) or issuing bank name that can be used on VT-Web.

All BINs can have 1-8 digits.

To separate multiple values use the comma character ",".

Expiry duration Time duration the payment will remain valid.
Expiry unit Unit for expiry duration.

Possible values:

  • minute
  • hour
  • day

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