• Resolved mafia123

    (@mafia123)


    After your latest version of stripe Version 4.5.1 update, your plugin shows Stripe is not available in your store’s country and will not be available for buyers to choose during checkout.
    I contacted stripe about this they said it is an error from your side, please look into it and resolve the error OR i have to switch to any other stripe plugin.
    I contacted through your site before but there was no response.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    In this case, you can use this code to re-enable Stripe for India:

    
    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' );
    

    This snippet will re-enable Stripe on the site itself, but please also note that your connected Stripe account must be enabled for India (which it sounds like it already is).

    You can use plugin like Code Snippets to implement the code above.

    Please keep an eye on the changelog, as this code should not be needed after a future update to the Stripe plugin addresses this.

    I also encountered the same problem,
    Stripe is not available in your store’s country and will not be available for buyers to choose during checkout.
    But my country is Hong Kong, China. Is there any good solution?

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    As part of our collaboration with Stripe directly, the plugin was updated to use the Stripe supported countries list. This does not include India as that is not supported a country. It’s considered a Stripe Preview country, as they are in beta.

    The filter above will add India in.

    Hong Kong is a supported country, it will work as described, unless the address in WooCommerce does not match the address registered with Stripe, such as the WooCommerce store address being set to China, and the Stripe account registered to Hong Kong. That will not work.

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Hey all!

    Stripe version 4.5.2 was released yesterday and this removes the country check to allow the plugin to attempt to run in all countries, not just officially supported ones. That should clear up any issues.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘stripe india not supported’ is closed to new replies.