• 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:

    1. I click the Google Pay button and confirm my wallet details
    2. 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)
    3. I fill in the VAT Code and click Google Pay again
    4. 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)
    5. I click Google Pay again
    6. 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.

    • This topic was modified 6 months, 1 week ago by dafsade.
    • This topic was modified 6 months, 1 week ago by dafsade.
    • This topic was modified 6 months, 1 week ago by dafsade.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @dafsade

    Thank you for contacting Payment Plugins.

    Is this flow correct?

    The error message We do not allow orders from the country provided is not one that comes from this Stripe plugin. It sounds like you have a plugin or custom code that’s performing a validation during the checkout process.

    The button simply doesn’t show up in any of these scenarios. This is another problem!

    Please reference our Apple Pay documentation for reasons why the button might not be appearing. https://paymentplugins.com/documentation/stripe/applepay-settings/#troubleshooting

    Can I display the express payment buttons (Apple Pay/Google Pay) inline with other payment methods instead of at the top of checkout? 

    Yes, if you use the checkout shortcode you can do this. The checkout block is more limited in where payment methods can be displayed.

    Can you share a product page url to your site so we can test Apple Pay?

    Kind Regards

    Thread Starter dafsade

    (@dafsade)

    Hi and thanks so much for your answer!

    I tried with the checkout shortcode. Now I see Goole Pay as inline payment. I’m trying this user flow:

    1. Fill the form but leave unchecked Terms/Privacy checkbox
    2. Click Google Pay inline option and proceed
    3. It bring back to checkout with validation message “Terms/Privacy required”. Notice at this point there isn’t anymore the Pay with Google Pay submit button but the default Submit order button.
    4. Check the Privacy checkbox and click Submit order button -> it appears the browser popup (Chrome on macOS) saying:
      Do you want to leave the site?
      Any changes you have made may not be saved.
      Cancel or Exit

      It’s the popup the browsers show when the user is leaving a page without saving some data.
    5. Click Exit and the order is correctly placed.

    However this UX in my opinion is not good for the standard users. The displaying of that browser popup is risky. Why it appears? Is this the normal flow of this plugin, or is there an issue in my project?

    Thanks

    • This reply was modified 6 months, 1 week ago by dafsade.
    • This reply was modified 6 months, 1 week ago by dafsade.
    • This reply was modified 6 months, 1 week ago by dafsade.
    Plugin Author Clayton R

    (@mrclayton)

    Hi @dafsade

    Is this the normal flow of this plugin, or is there an issue in my project?

    There is an issue with your project. That popup is not coming from the Stripe plugin and it indicates your checkout page is processing via a pag submit rather than WooCommerce intercepting the checkout form submit event and processing the payment via ajax.

    Can you share a product page url to your site in test mode so we can review?

    Kind Regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Required fields validation’ is closed to new replies.