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

Readme

Keywords

none

Package Sidebar

Install

npm i dpd-paypal-ap

Weekly Downloads

8

Version

0.0.9

License

none

Last publish

Collaborators

  • robrusher