Stripe Checkout postcode validation for Zimbabwe
-
The stripe plugin works fine for most countries.
However we have a customer from Zimbabwe who was having problems paying as WooCommerce was validating the postcode field even though the woocommerce code in class-wc-countries.php was set to
'ZW' => array( 'postcode' => array( 'required' => false, 'hidden' => true, ),
He still got an invalid postcode field error.
I tried changing the code to
'ZW' => array( 'postcode' => array( 'required' => false, 'hidden' => false, ),
Which got past the first error, by entering a value in the postcode field, but he then got
Cardcard Postcode validation failed.
I am not sure where to look to fix the problem.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Stripe Checkout postcode validation for Zimbabwe’ is closed to new replies.