Skip to main content

Midtrans Payment

Estimated reading: 1 minutes

Sign up For Midtrans

  • If you don't have Midtrans Account you can register from here Sign up

Obtain Midtrans API Keys

Follow the steps below to obtain your Midtrans API keys:

  1. Visit the Midtrans.

  2. Click on the Login option.

  3. Enter your email address and password.

  4. Click on Log me in.

    Midtrans Payment Developer Account

Upon successful login, you will be directed to your Dashboard.

Completing Account Information

  1. Navigate to Settings > General Settings.

  2. Complete the required information.

    • Note:
      • Merchant Name cannot contain any symbols.
      • Merchant URL should be less than 25 characters.

    Midtrans Payment Developer Account

Retrieving API Access Keys

  1. Log in to your MAP account.

  2. On the Dashboard, go to Settings > Access Keys.

  3. Here you will find your:

    • Client Key: Used for frontend API requests.
    • Server Key: Used for backend API requests. Keep it confidential.

    Midtrans Payment Developer Account

Switching Environment

You can switch between environments from the top left Environment drop-down on the dashboard.

  • Sandbox Environment: Use for development and testing. Transactions are not real.
  • Production Environment: Use when ready to accept real payments. Transaction fees may apply.

Note:

  • API keys differ between Production & Sandbox environments.
  • Transaction data and configurations are separated between environments.

Add API Key to Admin Panel

Now you've successfully generated keys please navigate to Admin Panel and follow the steps mentioned below

  • Navigate to Settings → Payment Configurations.
  • Click on the Midtrans Tab.
  • Enable the switch for Midtrans Payment.
  • Add Gateway Name Midtrans.
  • Paste Client Key under Client Id field.
  • Save the changes. Handyman Service - Midtrans Payment Setting