• Resolved bling007

    (@bling007)


    After the update, it told me that STRIPE is not supported in India. I am accepting orders with Stripe for an Indian store for a year. How can you push such an update without second thoughts! I realized this a few hours after update when my customers start complaining. This is so unacceptable. Kindly add India to the list of supported countries.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m also facing the same issue bro. Not sure what have they done.

    Try just editing the file wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php and add your country to the list of supported markets.

    Thread Starter bling007

    (@bling007)

    @jffaria It is a production site. I have already downgraded it. Besides, trying is not an option since it is a production site.

    Can anyone provide me the older version that is working? I did not have it? I mean the 4.5.0 version

    Hi there @bling00,

    Thank you for reaching out!

    Stripe 4.5.1 adds a country check and merchants from countries that are in Stripe’s Preview program will see a notice in their dashboard.

    Please add the following snippet to your site to add India to the list of supported countries:

    function wc_stripe_preview_supported_countries( $countries ) {
    	if ( ! in_array( 'IN', $countries ) ) {
    		$countries[] = 'IN';
    	}
    
    	return $countries;
    }
    
    add_filter( 'wc_stripe_supported_countries', 'wc_stripe_preview_supported_countries' );

    You can use the following plugin to do that: https://www.ads-software.com/plugins/code-snippets/

    Let us know how that goes!

    @bling007 mine is production too and I tried and it worked, but for Brazil. I can’t guarantee just adding the country will be enough for India, but in my case even just trying was better than being stuck for who knows how long with an older version of the plugin so to not have a completely broken production site ??

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi all,

    I’m going to mark this thread as Resolved.

    The shared snippet will work when using a two-letter country code, either IN or BR. We have tried and tested this on a few sites with 100% success.

    Please ensure you copy the code exactly as using different characters can cause this to fail, such as rather than '

    Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stripe is supported in INDIA’ is closed to new replies.