Apple & Google Pay Express Checkout Issue
-
🔴 Critical – Apple Pay & Google Pay Express Checkout incorrect totals + UK address mapping issue
Hi Support,
We are experiencing a critical issue affecting Apple Pay and Google Pay Express Checkout using your Stripe WooCommerce plugin.
We have fully isolated the issue and confirmed it only affects Express Checkout. Standard WooCommerce checkout and PayPal are working correctly. 🔧 Environment
- WordPress: 7.0
- WooCommerce: (latest version)
- PHP: 8.4.23
- Payment Plugins for Stripe WooCommerce: latest version
- Region: United Kingdom
🚨 Issue 1: UK county/state not being passed correctly:
Apple Pay and Google Pay are not reliably returning the UK
administrativeArea(county/state).This results in WooCommerce triggering:
“County/State is required”
This should not occur for UK addresses, as the state field is optional in WooCommerce for GB. Temporary workaround applied:
We are forcing:
shipping_state = 'N/A'billing_state = 'N/A'when empty
This prevents checkout failure but is not a permanent fix.
🚨 Issue 2: Incorrect Express Checkout total (critical):
Apple Pay and Google Pay correctly return shipping methods and display the correct shipping cost.
However, the final payment total sent to the Express Checkout sheet is incorrect. Example:
- Subtotal: £5.40
- Shipping: £4.50
- Expected total: £9.90
- Actual total shown in Apple Pay / Google Pay: £5.40
This indicates shipping is not being included in the final
totalPricecalculation during the Express Checkout session update. 🧪 Steps to reproduce- Add product to cart (£5.40 example)
- Proceed to checkout
- Click Apple Pay or Google Pay button
- Select UK shipping address
- Observe:
- Shipping method displays correctly (£4.50)
- Final total remains incorrect (£5.40 instead of £9.90)
- Attempt checkout → UK state validation error may also occur
✅ Isolation testing completed:
- WooCommerce standard checkout → ✅ correct totals
- PayPal Express Checkout → ✅ correct totals
- Stripe card payments → ✅ correct
- Apple Pay Express Checkout → ❌ incorrect totals + state error
- Google Pay Express Checkout → ❌ incorrect totals + state error
📌 Summary:
This appears to be an issue in the Express Checkout implementation layer of the Stripe plugin, specifically:
- UK address
administrativeAreamapping failure - Incomplete cart/total recalculation during Express Checkout session update
- Shipping cost not being included in final
totalPrice
⚠️ Impact:
This is preventing accurate checkout totals for Express Checkout users and causing checkout validation failures for UK customers.
We have implemented a temporary workaround for the state field, but require a permanent fix for:
- UK address handling in Express Checkout
- Correct total recalculation including shipping
Please let us know if you require logs, staging access, or further debug output.
Many Thanks,
DevanThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.