cordova-plugin-amplify-payment

1.0.0 • Public • Published

Amplify Payment System Ltd Cordova Plugin

Installation

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)
    {
        //alert(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);

/cordova-plugin-amplify-payment/

    Package Sidebar

    Install

    npm i cordova-plugin-amplify-payment

    Weekly Downloads

    1

    Version

    1.0.0

    License

    Apache 2.0 License

    Last publish

    Collaborators

    • bilyone