Code Monkey home page Code Monkey logo

whmcs-khaltigateway-plugin's Introduction

Khalti Payment Gateway

Official plugin for WHMCS

Installation

  1. Download the ZIP (or tar.gz) file from the releases See the releases
  2. Extract at the root folder of your WHMCS installation. Following files will be copied

File Structure

├── modules
│   └── gateways
│       ├── callback
│       │   └── khaltigateway.php
│       ├── khaltigateway
│       │   ├── assets
│       │   │   ├── configure_epay.png
│       │   │   └── enable.png
│       │   ├── callback.php
│       │   ├── checkout.php
│       │   ├── init.php
│       │   ├── khalti_helpers.php
│       │   ├── templates
│       │   │   ├── initiate_failed.html
│       │   │   ├── invalid_currency.html
│       │   │   ├── invoice_payment_button.php
│       │   │   └── noninvoice_page.html
│       │   ├── utils.php
│       │   └── whmcs.php
│       └── khaltigateway.php   

(The plugin creates

  • file khaltigateway.php under modules/gateways directory of your root installation,
  • directory khaltigateway/ under modules/gateways directory of your root installation
  • file khaltigateway.php under modules/gateways/callback directory of your root installation. (This file is kept just to maintain the WHMCS convention)

Activate

Login to admin area of your WHMCS installation and enable the gateway from Setup -> Payments -> Payment Gateways (Refer to the image below) Enabling Gateway

Configure

Once the gateway is enabled, configure Khalti Payment Gateway with the merchant secrets from admin.khalti.com (Refer to the image below) Configuring Khalti Payment Gateway

PS: Please make sure that the currency "NPR" is selected for the option "Convert to For Processing"

whmcs-khaltigateway-plugin's People

Contributors

acpmasquerade avatar janakkafle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

whmcs-khaltigateway-plugin's Issues

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.