Nourished Personal Mucus
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    cordova-plugin-amplify-paypublic

    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);

    install

    npm i cordova-plugin-amplify-pay

    Downloadsweekly downloads

    6

    version

    1.0.0

    license

    Apache 2.0 License

    last publish

    collaborators

    • avatar