Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

dpd-paypal-ap

0.0.9 • Public • Published

dpd-paypal-ap

Deployd module for using a Node.js sdk for Paypal Adaptive Payments and Paypal Adaptive Accounts API, without dependencies

USE:

var trans = {
    "method":"Pay",
    "data":
    {
        "actionType":"PAY", 
        "requestEnvelope":{"errorLanguage":"en_US","detailLevel":"ReturnAll"} ,
        "receiverList":
            {
                "receiver":
                    [
                        {
                            "amount": amountVal, 
                            "email": emailVal ,
                            "paymentType":"PERSONAL"
                        }
                    ]
            },
        "returnUrl":location.href,
        "cancelUrl":location.href
    }
};
 
dpd.paypalap.post( trans, function(result, err) {   
    if(err){
    } else {
    }
});

Keywords

none

install

npm i dpd-paypal-ap

Downloadsweekly downloads

3

version

0.0.9

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability