Title: Countries List Doesn&#8217;t Work
Last modified: June 30, 2020

---

# Countries List Doesn’t Work

 *  [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/)
 * Hi, I tried to change the countries to US and CA (Canada) but it keeps giving
   me the entire list. I tried your version and it worked at first. After I changed
   to US/CA only, it doesn’t. I cleared all caches. I even deleted the plugin, re-
   uploaded your original version and now it won’t work at all, anymore.
 * What am I missing? TIA
 * I’m referring to this plugin created here:
 * [https://wordpress.org/support/topic/available-country-list/#post-13051123](https://wordpress.org/support/topic/available-country-list/#post-13051123)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcountries-list-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/countries-list-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/countries-list-doesnt-work/page/2/?output_format=md)

 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13051589)
 * Hi, did you follow the instructions posted by the developer in the forum post
   you shared above?
 * Regards
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13052999)
 * Yes. Precisely.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053236)
 * If you don’t mind, can you share with me what you did?
 * For example: I carried out a test and I edited the PHP file “addon” created by
   the developer and edited the file by adding only two countries of my choice. 
   Then I checked the country list and only the two countries I entered in the PHP
   file was displayed. Is this what you did?
 * Thank you
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053268)
 * 1. Uploaded plugin as-is. Worked like a charm. Only the 4-5 countries he had 
   listed in his plugin appeared. (Albania, etc.)
 * 2. Changed the list of countries to CA and US exactly as instructed. Uploaded
   the new PHP file via FTP and overwrote the one on the server. But all the countries
   showed up this time.
 * 3. So I deleted and deactivated the plugin. Reuploaded and reactivated the plugin(
   mine), and still nothing happened.
 * 4. Cleared all caches, tried private browser, switched browsers, etc. Still nothing.
 * 5. So I repeated steps 3 and 4, reuploaded the original plugin just to troubleshoot
   to see if the original plugin still works and if it was something to do with 
   my variation. But now even the original plugin doesn’t work.
 * 6. I tried uploading the country autodetect plugin to see if it would detect 
   my country (Canada). Plugin settings show up fine in the dashboard, it’s live
   and active.
 * [https://cln.sh/YSMLfE](https://cln.sh/YSMLfE)
 * And THAT doesn’t work, either.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053312)
 * Hi, try the following steps. Deactivate all other plugins excepts ours and the
   addon. Then carry out a test. Let me know what happens.
 * Thank you
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053381)
 * Stripe Payments and Limit Countries only enabled.
 * No dice. Still doesn’t work.
 * I’m going to push the live site to staging and try different themes. Will report
   back.
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053445)
 * RESULTS:
 * Pushed to staging.
 * Deactivated theme and used default TwentyTwenty.
 * Nothing works.
 * Tried deactivating all plugins excerpt for Stripe Payment and country list.
 * Nothing still.
 * Site health reports all is well.
 * Latest versions of PHP, WordPress, SQL, etc.
 * Checked PHP error logs. Nothing.
 * Tried deleting everything except for Stripe/Coutries.
 * Nothing stil.
 *  Plugin Support [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053579)
 * Hi, sorry but I am out of ideas. I have submitted a message to the developers
   to investigate this issue further.
 * Kind regards
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053617)
 * Hi Michel.
 * You must use current testing version as explained in this post: [https://wordpress.org/support/topic/available-country-list/#post-12841717](https://wordpress.org/support/topic/available-country-list/#post-12841717)
 * > Programmatic support for this has been added to testing version. You can get
   > it by going to WP Dashboard -> Stripe Payments -> Settings, right side column.
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053666)
 * Yup. Still doesn’t work.
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053676)
 * [https://cln.sh/7Oe3KR](https://cln.sh/7Oe3KR)
    -  This reply was modified 5 years, 10 months ago by [Michel Fortin](https://wordpress.org/support/users/drsuccess/).
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053736)
 * Thank you.
 * The reason I mentioned testing version is because the link you provided in “The
   page I need help with” leads to a page with version 2.0.30. But looks like testing
   version is installed on your staging site, which is good.
 * Can you paste your PHP code somewhere? Like [https://pastebin.com/](https://pastebin.com/)?
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053768)
 * [https://pastebin.com/L9kq6p7w](https://pastebin.com/L9kq6p7w)
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053829)
 * Thank you.
 * Looks like we have the worst case scenario called “works for me” [https://prnt.sc/t95xqr](https://prnt.sc/t95xqr)
 * Let me make a few more tests and get back to you.
 *  Thread Starter [Michel Fortin](https://wordpress.org/support/users/drsuccess/)
 * (@drsuccess)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/#post-13053843)
 * Thank you so much.
 * If it helps, I can give you access to the staging environment admin.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/countries-list-doesnt-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/countries-list-doesnt-work/page/2/?output_format=md)

The topic ‘Countries List Doesn’t Work’ is closed to new replies.

 * ![](https://ps.w.org/stripe-payments/assets/icon-128x128.png?rev=2705524)
 * [Accept Stripe Payments](https://wordpress.org/plugins/stripe-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe-payments/reviews/)

 * 16 replies
 * 3 participants
 * Last reply from: [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/countries-list-doesnt-work/page/2/#post-13053943)
 * Status: not resolved