Question

How can I tell Paypal Express Checkout that I don't require any address information to process my order? I'm sending the NOSHIPPING=1 parameter in my request, but once I submit the order to the paypal sandbox, confirm my payment, and return back to my webpage, I get the following errro message:

L_ERRORCODE0 -> 10728
L_SHORTMESSAGE0 -> Shipping Address City Empty
L_LONGMESSAGE0 -> The field Shipping Address City is required

Am I missing something?

Était-ce utile?

La solution

NOSHIPPING=1 in SetExpressCheckout is fine, but it will still validate the addess if you send any sort of address parameter.
To turn this off, ensure you don't send any SHIPTOxxxxx parameters at all (such as SHIPTONAME, SHIPTOSTREET, etc.) OR that you don't send ADDROVERRIDE=1

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top