No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Midtrans  WHMCS Payment Gateway Module

Midtrans  ❤️ WHMCS! Let your WHMCS integrated with Midtrans  payment gateway.


Midtrans  payment gateway is an online payment gateway. We strive to make payments simple for both the merchant and customers. With this plugin you can accept online payment on your WHMCS using Midtrans  payment gateway.

Payment Method Feature:

Installation Instruction

Minimum Requirements

  • WHMCS v5.3.12 - v7.x or greater (Tested up to WHMCS v7.6 - running well)
  • PHP version 5.4 or greater
  • MySQL version 5.0 or greater


  1. Download the modules from this repository.
  2. Extract file you have previously downloaded.
  3. Upload & merge modules folder that you have extracted into your WHMCS directory modules folder.

Installation & Configuration

  1. Access your WHMCS admin page.
  2. Go to menu Setup -> Payments -> Payment Gateways.
  3. Click Midtrans payment method, then you will be redirected to configuration page.
  4. Fill the input as instructed on the screen. Click Save Changes.

Midtrans  MAP Configuration

  1. Login to your Midtrans  Account, select your environment (sandbox/production), go to menu settings > configuration
    • Payment Notification URL: http://[your website url]/modules/gateways/callback/veritrans.php
    • Finish Redirect URL: http://[your website url]
    • Unfinish Redirect URL: http://[your website url]
    • Error Redirect URL: http://[your website url]


If you encounter payment popup not being properly opened on invoice page, try these solution:

On menu Setup -> Payments -> Payment Gateways, tick option Payment Redirect To Midtrans. Customer will be redirected to Midtrans instead of popup. This can minimize popup issue.

Get help