To start using Snap, you have to register for Midtrans Sandbox/Production account here. Once you have registered, Midtrans will provide all available payment channels in sandbox mode that you can start to integrate with.
For existing merchants (merchants already live in Production), only one step need to be taken to enable a specific payment method.
Set Activate Payment Option in Snap Payment List
Merchants can pick to activate a payment method through the Merchant Administration Portal (MAP) in menu Settings -> Snap Preferences Settings on Tab ‘Payment Channels’. Merchant can drag the a desired payment channels into which payment channel’s order. Consider the following figure.
Just drag a desired payment channels option to the active list of payment list. Through this option, the merchant no longer need to do any code adjustment in their end, just set a desired payment channel on and that payment will be live.
There are a few pre-requisites before integrating with Midtrans:
1. Register to Midtrans Sandbox/Production account
Midtrans has one central login to access both production and sandbox account. Sandbox is utilized for development period while production is utilized when the merchant has completed the integration process and want to go live. Data and transaction made on sandbox account will not trigger an actual purchase while in production account will trigger an actual process. Register for Midtrans Sandbox/Production account here.
Once logged in, there will be a small button on the header of the dashboard that shows you on whether you are in the production or sandbox environment. The color of the navigation sidebar are also set differently between Production (light blue) and Sandbox (dark blue) for further clarity.
2. Fill in the required information in Merchant Admin Portal (MAP)
The required fields can be found under Settings - General Settings.
3. Take note of your account Access Keys
Your account keys can be found under Settings - Access Keys.
4. Configure Redirection URL
Customer will be returned to your website after payment process is completed.
Go to Snap Preference - System Settings menu to manage the redirection URL.
5. Configure Merchant Info (Name, Logo & Theme Color)
Merchants can configure their name (brand name), logo and theme color that can be matched with the merchant’s web theme color through Settings - Snap Preferences on tab ‘Theme and Color’ in their dashboard.
6. Set Activate Payment Option in Snap Payment List
Merchants can pick to activate specific payment methods through Merchant Administration Portal (MAP) in menu Settings - Snap Preferences Settings on Tab ‘Payment Channels’. Merchants can drag the particular payment into which payment channel’s order. Such as this figure. Just drag the a payment channel option to the activate the payment method.