I use BlueSnap API to sell products, using PayPal. In my website, I send the shoppers to PayPal without them filling-in any shipping details - once they log in to PayPal I get those details from their BlueSnap account.
But the problem is that I don't know where the shoppers are located before sending them to PayPal, so there's the issue of shipping and tax that may need to be added on top of the product price.
Is there any way for me to send the shopper to PayPal for a certain amount – let's say $50 - and later according to the shipping details add a $7 surcharge without the shopper re-approving the deal?
I usually use this Payment API call:
{
"amount": 50,
"softDescriptor": "My SD",
"currency": "USD",
"paypalTransaction": {
"cancelUrl": "http://www.cancelURL.com",
"returnUrl": "http://www.returnURL.com"
},
"transactionFraudInfo": {"fraudSessionId": 1234}
}
There's no obvious spot for potential surcharge, so I'm not sure if that's even possible – and what are the limitations? I read this documentation and couldn't get a clear picture. https://developers.bluesnap.com/v8976-JSON/docs/create-paypal-transaction
I'd appreciate any help!