Midtrans

Sana Commerce 9.2
Your connector

Configure Payment Methods

When the Midtrans payment provider is configured in Sana Admin you need to set up the necessary payment methods supported by Midtrans.

To configure payment methods:

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

Step 2: Under the Payment methods tab create and configure the necessary payment methods.

For more information about how to create and configure payment methods in Sana Admin, see 'Payment methods' on the Sana help web site.

The table below provides the description of the Midtrans payment provider specific fields:

Fields Description
EnabledPayments List of payment methods that are enabled in VT-Web.

Possible values:

  • credit_card
  • bank_transfer
  • cimb_clicks
  • mandiri_clickpay
  • bri_epay
  • telkomsel_cash
  • xl_tunai
  • bbm_money
  • echannel
  • cstore

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

 If no values are set, all payment methods registered to a merchant will be automatically used.

InstallmentRequired Status to indicate if payment must be paid only by installment.

Possible values:

  • True
  • False

If set to 'false', it means that transaction can be paid by both full payment and installment.

To activate installment feature, merchant has to make an agreement with the bank. For online installment, bank will issue special MID for installment. By using this installment MID, the transaction will be converted automatically into installment. At this moment, only BNI and Mandiri can issue Installment MID. The merchant also needs to contact a Midtrans sales representative if the MID for installment is ready.

ListOfInstallmentPeriodsWithBNIBank List of installment periods with BNI Bank.

 In Sandbox environment the possible values are 6 and 12. If nothing is set, all valid installment periods will be shown.

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

ListOfInstallmentPeriodsWithMandiriBank List of installment periods with Mandiri Bank.

 In Sandbox environment the possible values are 6 and 12. If nothing is set, all valid installment periods will be shown.

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

CreditCard3dSecure Status to indicate whether 3D Secure is used or not.

 Only for credit card payment.

Possible values:

  • True
  • False

It is highly advisable to activate 3D Secure feature on your credit card transaction. Implementing 3D Secure is a standard security practice for a credit card transaction. 3D Secure improves credit card transaction security by adding an authentication process between the customer and their issuing bank.

Test the payment flow to see if everything works fine using the created payment methods.