You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is inconsistent behavior between sandbox and production environment. When I click "PayPal" button from the Cart page (not the checkbox page) and do what's supposed to be the express checkout through PayPal stuff it works in the sandbox environment.
In sandbox:
I get punted back with everything filled in (address and what not) and the order goes through.
However in the production environment if I do the exact same thing the order fails with "There was a problem with the provided billing address: ZIP Code is required, Street address is required, Town / City is required"
I got a report about this and after trying to reproduce it in the sandbox environment for a couple hours I finally gave up and decided to do a real order and right away I got the same error.
When this error occurs on the checkout screen it then displays "Payment options you are paying with PayPal" and there are no fields to enter Zip, Street address, or any of the required information.
I'm not sure why in the production environment this fails but in the sandbox it goes through. Also in my case, strictly speaking, this product is a digital product so for my purposes the Zip, Billing, Street Address is not really required on my end to complete the order so long as PayPal collects the payment for me.
To Reproduce
Use PayPal button on product page directly for a digital product (must be in PayPal production environment).
Login with PayPal account and enter credit card and try to complete the order.
Get failure about missing billions info.
Expected Behavior
Order to go through in production, or at least for the same behavior to happen in the sandbox environment so situations can be tested.
Actual Behavior
Get an error: There was a problem with the provided billing address: ZIP Code is required, Street address is required and there are no fields on the page for the user to fill in the required information. Again this only happens in the production environment. If I flip PayPal back to a sandbox connection I cannot reproduce the issue.
Environment
WordPress Version 9.8.5
-Paypal 3.0.5
Additional Details
The text was updated successfully, but these errors were encountered:
and setting required for all the address fields to false (keys listed below in case it helps anyone else)
address_1
postcode
state
country
address_2
city
Then to be sure it worked I hade to make a real order using the PayPal express checkout button (because again this was not happening at all in the sandbox environment).
But I imagine this is still an issue for people who really need to get the address to ship something, or for some other purpose. Woocommerce should get the address fields from PayPal (if possible, like it does in Sandbox environment) or at least show a form in the UI where the user can fill in the missing information if for whatever reason that's not possible (instead it says "You are checking out with PayPal" so you get a Missing Required fields error but there is no way to enter the missing fields).
Sorry about the delay. We've seen this issue on a 2 or 3 sites, but so far we haven't had access to a reliable case where we could reproduce it. If you're still experiencing it, please reach out so we can take a closer look.
When you contact our support team, please include a copy of your WooComnmerce system report. This will help us get to the bottom of your issue more quickly.
We'll be closing this GitHub issue for now. However, once you reach out to our support team, rest assured they'll be ready to assist you with your concerns. Thank you for your understanding!
Uh oh!
There was an error while loading. Please reload this page.
There is inconsistent behavior between sandbox and production environment. When I click "PayPal" button from the Cart page (not the checkbox page) and do what's supposed to be the express checkout through PayPal stuff it works in the sandbox environment.
In sandbox:
I get punted back with everything filled in (address and what not) and the order goes through.
However in the production environment if I do the exact same thing the order fails with "There was a problem with the provided billing address: ZIP Code is required, Street address is required, Town / City is required"
I got a report about this and after trying to reproduce it in the sandbox environment for a couple hours I finally gave up and decided to do a real order and right away I got the same error.
When this error occurs on the checkout screen it then displays "Payment options you are paying with PayPal" and there are no fields to enter Zip, Street address, or any of the required information.
I'm not sure why in the production environment this fails but in the sandbox it goes through. Also in my case, strictly speaking, this product is a digital product so for my purposes the Zip, Billing, Street Address is not really required on my end to complete the order so long as PayPal collects the payment for me.
To Reproduce
Expected Behavior
Order to go through in production, or at least for the same behavior to happen in the sandbox environment so situations can be tested.
Actual Behavior
Get an error: There was a problem with the provided billing address: ZIP Code is required, Street address is required and there are no fields on the page for the user to fill in the required information. Again this only happens in the production environment. If I flip PayPal back to a sandbox connection I cannot reproduce the issue.
Environment
-Paypal 3.0.5
Additional Details
The text was updated successfully, but these errors were encountered: