Same here. Restaurant using woocommerce for pickup and delivery. Address fields are hidden for pickup to make checkout easier, but an attempt at using paypal for payment results in the following errors:
PayPal error (10727): The street address in your shipping address is not valid.
Please double-check your shipping address and try again.
PayPal error (10728): The city in your shipping address is not valid. Please double-check your shipping address and try again.
PayPal error (10729): The state in your shipping address is not valid. Please double-check your shipping address and try again.
PayPal error (10730): The ZIP code or postal code in your shipping address is not valid. Please double-check your shipping address and try again.
Plugin Contributor
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there,
PayPal generally expects those fields, so throws errors when they’re missing.
I’d recommend switching this around and making the billing address not-required, so your customers would just use the shipping address;
https://docs.woocommerce.com/document/paypal-express-checkout/#section-14
Beyond that, though, you do need one full set of details so that PayPal can do things like validate zipcodes, etc, which are part of fraud prevention.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.