Using Stripe Payment Gateway for WooCommerce, you can easily integrate Apple Pay to your WooCommerce store.
Apple Pay truncates the postal codes of UK and Canada to only the first three characters. When the order details are passed back to the WooCommerce website, the order is invalidated due to this truncated postal code. For the time being, this issue can be solved by removing the validation from WooCommerce.
Add the below code snippet to the function.php file of the active child theme to remove this validation from Woocommerce.
Comments (2)
Craig
August 29, 2018
Hi, I have added the code snippet to my functions but still, apple pay to process the payment?
Please help.
Mark
September 3, 2018
Hi,
As per the communication via support ticket, we checked in your site and Apple pay is working correctly in it.
Apple pay will be shown only if checked with a properly configured Apple pay compatible device. Could you please check that everything is configured as per instructions in the below link in your Apple device.
https://support.apple.com/en-in/HT204506
Also, ensure that you are checking with a live wallet if the stripe is configured in live mode. For test mode, check with test wallet.