• Resolved wpuman

    (@wpuman)


    Hello all,

    I am currently using the old payment form, and I have no problem receiving payments. I tried to use the new form because it says “your store may stop processing payments in the near future” but I get a javascript error from https://js.stripe.com/v3/?ver=3.0 :

    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, GI, GR, GT, HK, HR, HU, ID, IE, IN, IT, JP, LI, 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: RE.

    Indeed, the store is located on the island of Reunion (RE), an overseas department of France (FR). This territory is however well supported by stripe.com : https://support.stripe.com/questions/stripe-availability-for-outlying-territories-of-supported-countries

    The plugin doesn’t seem to work with specific territories with the new checkout experience. It sends RE instead of FR to stripe.com

    Hoping that someone can help me fix this?

    Thank you and best wishes for this new year.

    BR

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I can understand your concern. The error is thrown by Stripe’s JavaScript and not by our extension. I’ve tried to replicate the issue on my site, and I can see the error message only appears when Apple Pay or Google Pay payment methods are enabled.

    If you are using Apple Pay or Google Pay, I would suggest you contact Stripe support here: https://support.stripe.com/ and ask if they can provide any solutions to fix this issue.

    Thank you!

    Thread Starter wpuman

    (@wpuman)

    Hi @shahzeenfarooq,

    Thank you but I don’t use Apple Pay and Google Pay payment methods, they are disabled. I had the same problem with both of these methods in the old payment form before. :

    https://wordpress.org/support/topic/integration-error-invalid-value-for-payment-request/

    Although these methods are disabled, I still encounter the javascript errors with the new form now.

    I’m in contact with Stripe.com support, but I’m afraid they’ll tell me it’s a plugin integration issue…

    BR

    Zee

    (@doublezed2)

    Hello wpuman,

    Thank you for your reply.

    May I ask in which country is your business registered?
    If your business is registered in the UK, you can use WooPayments for that business by selecting UK when signing up. For more details, please check this guide.

    To help you further, I’d like to understand more about your setup.
    Could you please send me a copy of your site’s System Status Report?
    You can find it via WooCommerce > Status.
    Select Get system report and then Copy for support.

    Looking forward to your response. 🙂

    Thread Starter wpuman

    (@wpuman)

    Hi @doublezed2,

    Thank you for your reply.

    As stated above, the company is registered in Reunion Island, a French overseas department (store country code: RE)

    What information do you need about our setup?

    WordPress Environment:

    • WooCommerce Version: 9.4.2
    • WordPress Version: 6.6.2
    • Language: fr_FR

    Server Environment:

    • Server Info: Apache
    • PHP Version: 8.0.30

    Database:

    • WooCommerce Database Version: 9.4.2

    Extension:

    • WooCommerce Stripe Gateway: by Stripe – 9.0.0
    • WooCommerce: by Automattic – 9.4.2

    BR

    • This reply was modified 1 year, 6 months ago by wpuman.
    Thread Starter wpuman

    (@wpuman)

    Hello all,

    For information, Stripe support has checked on their side. It turns out that the error that is displayed in the browser console is not considered to come from Stripe directly. Support invites me to get in touch with the Woocommerce team because this is an integration that is managed and supported by Woocommerce.

    So I turn to the support of this plugin, do you have a solution?

    BR

    Thread Starter wpuman

    (@wpuman)

    Given the error message : “IntegrationError: Invalid value for paymentRequest()”

    I searched for the relevant file : “/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.js”

    I noticed this code line 433 to 437 :

    // Puerto Rico (PR) is the only US territory/possession that's supported by Stripe.
    // Since it's considered a US state by Stripe, we need to do some special mapping.
    if ( 'PR' === options.country ) {
    options.country = 'US';
    }

    Maybe I should customize this code like this:

    // Reunion Island (RE) is a FR territory that's supported by Stripe.
    // Since it's considered like FR by Stripe, we need to do some special mapping.
    if ( 'RE' === options.country ) {
    options.country = 'FR';
    }

    If there are any developers of this plugin here, please confirm and propose an update for us.

    Thank You

    BR

    Zee

    (@doublezed2)

    Hello wpuman,

    Thank you for your reply.

    To clarify, businesses in Réunion are supported when signing up for WooPayments as French businesses.

    Could you share your complete System Status Report?
    You can paste it into gist.github.com and share the link with me.

    I don’t recommend making any code changes, it might make things worse.
    This issue can be resolved through configuration and settings.

    Looking forward to your response. 🙂

    Thread Starter wpuman

    (@wpuman)

    Hi @doublezed2,

    Sharing my WooCommerce system report carries some security risks, as these reports may contain sensitive information about our site, plugins, theme, and server configurations.

    What information do you want to know?

    BR

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. To assist you better, we need to understand your site setup completely, including the plugins you are using and your server configuration, so we can try to replicate the issue on our end.

    Let’s try another approach. I recently updated my plugin to version 9.1.0, and I’m no longer seeing the error message even when Google Pay/Apple Pay is activated. Could you please update your plugin to the latest version and check if the error persists?

    If you still encounter the same error message after updating the plugin and prefer not to share your server configuration details, could you please provide the following information:

    1. Which payment method is active on your site? It seems the error message might be related to the payment method you’re using.
    2. Are you using any other payment method plugins?

    Once we have this information, we’ll be happy to assist you further.

    Thread Starter wpuman

    (@wpuman)

    Hi @shahzeenfarooq,

    Thanks for your feedback. I will test with the latest version 9.1.1 and keep you informed. Please do not close this ticket in the meantime.

    BR

    Thread Starter wpuman

    (@wpuman)

    Hello,

    After performing various tests with the new payment form, I found the origin of the error in version 9.0.0: When you activate the new payment form, the “Link by Stripe” option is activated by default. On this version of the plugin, this option does not seem to recognize my region and generates an error. When I deactivate this option (“Link by Stripe”), there is no more error.

    While on the latest version 9.1.1, when you activate the new form, the “Link by Stripe” option no longer generates an error.

    BR

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing your detailed findings! I’m glad to hear that you’ve identified the origin of the issue with the “Link by Stripe” option in version 9.0.0 and that the latest version (9.1.1) resolves this error.

    It’s great to see that updating to the latest version has addressed the issue. The development team continuously works on improving compatibility and addressing regional support concerns, so upgrading is always a recommended step.

    If you encounter any further issues or have additional questions about the new payment form or other plugin features, feel free to reach out. You can always create a new ticket to get in touch with us, and we’ll be happy to assist you further!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘My country is no longer supported with the “New checkout”’ is closed to new replies.