There are a few pre-requisite before integrating with Midtrans:
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 nagivation sidebar are also set different between Production (light blue) and Sandbox (dark blue) for further clarity.
The required fields can be found under Settings - General Settings.
Your account keys can be found under Settings - Access Keys
Be discreet on your 'Server Key'.
Customer will be returned to your website after payment process is completed.
Go to Settings - Configuration menu to manage the redirection URL.
Please fill the URL with http:// or https://