Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Alejandro 1 year, 3 months ago.

Author Posts
February 19, 2024 at 8:21 pm #15320056

raphaelT-5

Hello,

I am having this exact issue https://wpml.org/forums/topic/stripe-payment-does-not-work-with-wpml/

We are using WPML, Woocommerce and Stripe. All plugins are up to date.
Stripe tries to do ajax requests to ?wc-ajax=update_order_review and /en/?wc-ajax=wc_stripe_get_cart_details.
It works when the site is in french because it is the default language and there isn't a directory, but the ajax requests get the 404 error code in english because it uses the /en directory.

Please unarchive this post so that I can find the solution https://wpml.org/forums/topic/urgent-woocommerce-multilingual-breaks-stripe-gateway-in-woocommerce/page/2/#post-10342619

February 20, 2024 at 1:13 pm #15322939

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hello,

I'll try to help you get started while a supporter takes your case.

In that ticket you mentioned, you can see the problem was not a bug or incompatibility with WPML and the payment gateway described, but with a configuration and a script made by the client.

However, from what i see you don't have the same configuration or any redirection from the root to a specific language, but of course you can let us know otherwise.

I have unarchived the ticket but it should've been fixed already a while ago with WooCommerce Multilingual ver 5.0.0. but do let us know if it helps so we can make sure it's fixed again.

----------------------------

Can you make sure to have the endpoints always set as the English language for the original, without endpoint duplicates and correctly translated?

Make sure that all the content found in WooCommerce > WooCommerce Multilingual > Store URLs has different slugs across all the languages and have all the endpoints translated correctly (if one language has "shop" as a slug, then there can't be another one with the same slug. the same thing applies to the endpoints)

Let us know how it goes.

The topic ‘[Closed] Woocommerce stripe is not compatible with WPML’ is closed to new replies.