Required fields validation
-
Hi,
I’m experiencing some issues with the Apple Pay and Google Pay integration on my WooCommerce store and need your assistance.
I have some required fields in my checkout process:
- VAT Code field
- Terms and Conditions / Privacy Policy checkbox
When I try to complete a payment with Google Pay, I encounter the following workflow issues:
- I click the Google Pay button and confirm my wallet details
- I’m redirected back to the checkout page with errors like: “invalid shipping_address, billing_address” and the page focuses on the VAT Code field (which is a required custom field)
- I fill in the VAT Code and click Google Pay again
- I’m redirected back to checkout, scrolled to the Terms/Privacy checkbox field, with the error: “We do not allow orders from the country provided (US)” – Why is this showing US when I’m in Italy? not US! The test card I provided is from my Country. The shipping address is another EU country (since I can’t add an address based in my country)
- I click Google Pay again
- Same error appears: “We do not allow orders from the country provided (US)”
Is this flow correct?
I’m using plugin in test mode.
I can’t try Apple Pay since the button never appears, neither on desktop nor on my iPhone. I’ve tested this on:
- My store’s checkout page
- Your official demo site
The button simply doesn’t show up in any of these scenarios. This is another problem!
Can I display the express payment buttons (Apple Pay/Google Pay) inline with other payment methods instead of at the top of checkout? I don’t see this option in the settings. Maybe this positioning might help resolve the required fields validation issue?
My setup:
- WordPress: 6.8.1
- WooCommerce: 9.9.4 (using the new block-based checkout)
- Payment Plugins for Stripe WooCommerce: 3.3.92
- Device: iPhone 12 mini running iOS 26 with Safari
Could you please help me resolve these issues? Thank you for your support.
The topic ‘Required fields validation’ is closed to new replies.