• Resolved Max Shostak

    (@shostakmaksim)


    Stripe broke selection of the product variation and generate such an error
    Uncaught IntegrationError: Invalid value for paymentRequest(): country should be one of the following strings: AE, AT, AU, BE, BG, BR, CA, CH, CI, CR, CY, CZ, DE, DK, DO, EE, ES, FI, FR, GB, GR, GT, HK, HU, ID, IE, IN, IT, JP, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PE, PH, PL, PT, RO, SE, SG, SI, SK, SN, TH, TT, US, UY. You specified: UA.

    There was simillar problem, but I use WooCommerce Stripe Gateway Version 4.5.2
    https://www.ads-software.com/support/topic/stripe-breaks-site-if-user-is-not-in-expected-country/

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    We usually see this when there’s a plugin or theme conflicting and causing JS errors.

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter Max Shostak

    (@shostakmaksim)

    I did all tests, that you ask to do!

    Disable all the plugins one-by-one and change theme to Storefront
    Nothing help!

    I have same instalation localy (Windows) and do not have such a problem at all
    Both, production and local version of the website use same files and DB
    But on production I have error.

    I try to import DB from production to local. And have no changes. On production there is an error on local – there is NO error.

    WooCommerce Stripe Payment Gateway is used by me for more than 1 year.
    And all was ok.

    I double check all the opntions in admin
    And have same PHP version 7.3, WordPress 5.5.1, Woocommerce 4.5.2

    Help me with it or push for a solution

    Hi @shostakmaksim – Sorry for the delay here!

    If you’re still seeing this issue, can you provide us with a copy of your site’s system status report? You can find that at: WP Dashboard > WooCommerce > Status > ‘Get system report’

    – Joey

    Plugin Support Mike Straw

    (@mikestraw)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @shostakmaksim

    I wanted to follow up here to provide some context for this for anyone else landing on this.

    Similar to the reason behind this forum thread, the error is thrown if the country for WooCommerce > Settings > General > Store Address doesn’t match the array of supported countries of Stripe – https://stripe.com/global – the error is thrown by Stripe.com JavaScript and not our extension.

    Disable the Payment Request button option and this error will disappear.

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripe breaks select product variation’ is closed to new replies.