Snap WHMCS Integration Steps

  1. Plugin Installation
  2. Transaction Test


Requirements

  1. WHMCS v5.3.12 - v6.x (Tested up to WHMCS v7.0.2)
  2. PHP v5.4 or greater
  3. MySQL v5.0 or greater
  4. Midtrans plugin for WHMCS [ Github | Zip ].

Installation Process

  1. Download the modules from this repository.
  2. Extract Whmcs-master.zip file you have previously downloaded.
  3. Upload & merged module folder that you have extracted into your WHMCS directory. Installation & Configuration
  4. Access your WHMCS admin page.
  5. Go to Setup -> Payments -> Payment Gateways menu.
  6. Click Midtrans payment method, then you will be redirected to configuration page.
  7. Fill the input as instructed on the screen. Click Save Changes.
    WHMCS Setting

  8. Login to MAP portal to configure a few options below:

    URL Role Redirect URL
    Payment Notification URL http://[your website url]/modules/gateways/callback/veritrans.php
    Finish Redirect URL http://[your website url]
    Error Redirect URL http://[your website url]
    Unfinish Redirect URL http://[your website url]



  1. Perform successful transaction in your online store by inputing a dummy credit card number as followed (Sandbox Mode):

    Type Visa
    Card Number 4811 1111 1111 1114
    CVV 123
    Exp. Month 01
    Exp. Year 2020


  2. Examine a few points below to ensure plugin is installed and performs properly.

    Check Point Expected Result When Unexpected Result Occurs
    Check order status in WHMCS back end Order status turns into Complete Check endpoint/payment notification URL setting in MAP
    Merchant receives email notification Receive notification Check MAP menu setting - email notification
    Customer receives email notification Receive notification Check MAP menu setting - email notification