Reputation: 597
Is there anyway to prepopulate shipping details for Paypal or at least pull shipping info for a users paypal account so when the seller gets the payment they can access that info instead of having to email the buyer to get their shipping details?
Based on other suggestions I saw online, I tried adding this line, but the payment still comes through as SERVICES instead of GOODS.
primaryReceiver.paymentType = "GOODS";
Thanks for the input, I'm trying to streamline my checkout process so I only have to collect the buyer email instead of all their shipping details.
Upvotes: 0
Views: 74
Reputation: 26056
Make use of SetPaymentOptions and you can include a shipping address.
You'll call it right after the Pay call but before you redirect to PayPal so you can add additional details to the payment.
Upvotes: 0