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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.