Reputation: 11
For a marketplace project, I use the PayPal Adaptive Payment to make parallels payments between the buyer, products salers and the website Paypal account for fees.
In order to apply the Seller Protection, I need the buyer to select a shipping address but I can't find any option to send it. It seems that I can set the option "requireShippingAddressSelection" to true only with embedded payment flow but is there any way to send a custom address with? And above all, does this option make the payment available for the PP seller protection which is what my client really looking for?
Upvotes: 1
Views: 1238
Reputation: 26036
You'll need to use SetPaymentOptions to include details like shipping address, order items, shipping amount, tax amount, etc.
Your Pay request action will be set to CREATE and then you'll pass that PayKey into SetPaymentOptions to set all of the other details prior to redirecting the user to PayPal to complete the checkout.
Upvotes: 1