Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to limit the countries where the Stripe payment method could be accessed at checkout. After selecting the desired countries and hitting the SAVE button on the Stripe settings page, the changes were not being saved. Upon refreshing the page, the payment method was still available in all countries.
Solution:
We acknowledged an existing issue with the Country Availability option when using Stripe with WooCommerce. We recommended the client to follow the documentation provided to apply the necessary code to address this issue. The documentation can be found here: https://wpml.org/errata/woocommerce-stripe-payment-gateway-country-availability-changes-are-not-saved/

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket with us.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 10 months, 2 weeks ago.

Assisted by: Long Nguyen.

Author Posts
March 22, 2024 at 1:26 pm #15440685

FortunyShop

I am trying to:
Limit the countries where the Stripe payment can be accessed at checkout.

Instead, I got:
When I hit the SAVE button in the settings page of Stripe after I've chosen the Countries where I want to offer this method of payment, I get a SETTINGS SAVED message that actually does not save the Countries selection, so if I refresh the page the payment is still available in ALL COUNTRIES.

There was another post about this but never clearly solved:
https://wordpress.org/support/topic/unable-to-save-country-specific-availability/#post-15838928

How do I limit Stripe to only some countries?
Thanks

stripe.png
March 25, 2024 at 4:15 am #15444551

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Matteo,

Thank you for contacting WPML support, I’m happy to help you with this issue.

Currently, there is an issue with the option Country Availability when using Stripe. Please follow the documentation below to use the code for this option
https://wpml.org/errata/woocommerce-stripe-payment-gateway-country-availability-changes-are-not-saved/

Looking forward to your reply.
Thanks

March 28, 2024 at 8:40 am #15459341

FortunyShop

Problem solved for now, thanks!