PayPal Smart Buttons - missing postcode

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hi,

My site is getting errors when customers pay using PayPal, we do not capture the customer's address or postcode during registration, also we offer digital downloads. The error from PP is as follows:

NOP 4.4.03


Payments.PayPalSmartPaymentButtons error:
{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='31af641f-dc3e-4b25-b9d9-a995510c8419'/shipping/address/postal_code","issue":"POSTAL_CODE_REQUIRED","description":"The specified country requires a postal code"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"1cce58a86b1a2","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-POSTAL_CODE_REQUIRED","rel":"information_link","method":"GET"}]}
3 years ago
Update
In the customer settings for customer address, the postcode was enabled for the address form fields, I have disabled it and will see what happens.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.