문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top