Issue
I am looking for parameters that can be passed from the client-side in JS while creating the order in Paypal.
Here is sample code
createOrder: function(data, actions) {
return actions.order.create({
"purchase_units": [{
"amount": {
"currency_code": "USD",
"value": "100",
"breakdown": {
"item_total": { /* Required when including the `items` array */
"currency_code": "USD",
"value": "100"
}
}
},
"items": getItemsArray()
});
},
Solution
As per the latest Paypal update, this feature has been removed.
Answered By - Swapnil Deshmukh Answer Checked By - David Marino (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.