My Paypal express checkout is working fine (sandbox and live). The payment is fine. I need to get the shipping address for calculating shipping price and did that using callback successfully. But a problem, when user logs into paypal, their preferred shipping address is listed. Paypal is not doing callback for this address. It does the callback when new address is entered or address is changed. In that case the shipping charge is returning correct (so I guess there is no error in my callback script). But why it is not making the callback for the preferred address immediately? It takes the default flat shipping amount sent. I searched on the web but find no answer. I checked the paypal console via chrome and found "Uncaught ReferenceError: ShippingHandling is not defined". Am I missing something in my request or other please?
问问题
128 次