Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PayPal Adaptive Payments module for Deployd
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
node_modules/paypal-adaptive
LICENSE
README.md
index.js
package.json

README.md

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 {
    }
});
Something went wrong with that request. Please try again.