Giter VIP home page Giter VIP logo

snap-whmcs's Introduction

Midtrans  WHMCS Payment Gateway Module

Midtrans  ❤️ WHMCS! Integrate WHMCS with Midtrans  payment gateway, easily allows you to accept payments with Midtrans' various payment methods.

Description

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 start accepting online payment on your WHMCS using Midtrans  payment gateway.

Payment Method Feature:

Installation Instruction

Minimum Requirements

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

Installation

  1. Download the modules from this repository.
  2. Extract snap-whmcs-master.zip file you have previously downloaded.
  3. Upload (or merge) modules folder that you have extracted into your WHMCS directory modules folder.

Sample folder structure

[Your WHMCS installation folder, it should contains `index.php` file from the whmcs installation]
  |- [other_folder_from_whmcs]
  |- [other_folder_from_whmcs]
  |- [other_folder_from_whmcs]
  |- modules
    |- gateways
      |- veritrans-lib
      |- veritrans.php
      |- veritranspromo.php
      |- callback
        |- veritrans.php

Or follow this official guide from WHMCS.

Installation & Configuration

  1. Access your WHMCS admin page.
  2. Go to menu Configuration > System Settings > Payment Gateways (Setup > Payments > Payment Gateways in WHMCS 7.10 and earlier).
  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]

Log options

Logging is not something that is always enabled. This is to avoid logs growing too large, so it’s something that needs enabling for the logging to occur. Enabling logging can help you trace what happened and help troubleshoot technical issues.

  1. Make sure your Administrator role has the View Module Debug Log permission.
  2. Go to Configuration > System Logs > Module Log (Utilities > Logs > Module Log in WHMCS 7.x and earlier).
  3. Switch Module Logging to On.

You can view the Module logs at Configuration > System Logs > Module Log (Utilities > Logs > Module Log in WHMCS 7.x and earlier)

Troubleshooting

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.

If you use non IDR currency on WHMCS and encounter issue of paid amount is too big or does not match with invoice amount:

Try to enable configuration Use Invoice amount as paid amount to use the invoice amount as paid amount. Note: this will also means it will not check the actual paid amount on Payment Gateway, but it can avoid currency conversion issues.

Or Try to enable Try convert back paid amount currency to try to convert back from paid amount in IDR to original customer currency, using builtin WHMCS converter. Note: WHMCS converter may not 100% accurate.

Get help

snap-whmcs's People

Contributors

rizdaprasetya avatar andrenzo17 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.