Preparation


Goal: To complete all the pre-requisites before integrating with Midtrans

There are some pre-requisites you need to do before integrating with Midtrans:

1. Register to Midtrans’ Sandbox (and Production) account.

Please register to Midtrans by completing your information here. You will then be given access to your Merchant Administration Portal (MAP), where you shall have access to both sandbox and production environment. You can use the sandbox environment during your development phase of integrating Midtrans’ payments system. You can also test dummy transactions on sandbox environment. The production environment is also available, but your production credentials will only be ready once you have completed all the necessary administrative steps.

You can toggle between sandbox and production environment from the button on the top left of your MAP. The light and dark shade of blue indicate production and sandbox mode respectively.

production
sandbox

2. Complete the required information in your Merchant Administration Portal (MAP)

Please complete the required information in the General Settings menu Settings > General Settings.

General Setting


3. Please take note of your Access Keys

Access Keys are used to access Midtrans’ API. You can find them in Settings > Access Keys.

Access Keys


4. Configure Redirection URL

Redirection URL is used to redirect your customer after the payment process through Midtrans is completed. Please refer to the diagram below on how redirection URLs are being handled.

vtweb-diagram

To set your redirection URL, please go to Settings > Configuration.
redirect_url