cordova-plugin-amplify-pay
Cordova plugin for amplify payment gateway
Last updated 3 years ago by bilyone .
Apache 2.0 License · Original npm · Tarball · package.json
$ cnpm install cordova-plugin-amplify-pay 
SYNC missed versions from official npm registry.

Amplify Payment System Ltd cordova plugin

Installation and Configuration

cordova plugin add cordova-plugin-amplify-pay --save

Configuration

AmplifyPay.config = {merchantId: '###############', apiKey: '**********************'};

How To Use

    successFn: function(transactionRef)
    {
        # Use transactionRef to verify transaction on https://api.amplifypay.com/merchant/verify API endpoint.
         # For more information visit https://amplifypay.com/developers
    }
    failFn: function(errorMessage)
    {

    }
    var customerName = 'Adam Bilyamin';
    var customerEmail = 'bily@gmail.com';
    var description = 'DSTV subscription payment';
    var amount = 5000;
    var referenceId = 'AMP1223344445';
    var planId = 50;
    AmplifyPay.makePayment(customerName, customerEmail, description, amount, referenceId, planId, successFn, failFn);

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (488)
Dev Dependencies (488)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |