Language Flag * Place Order button direct to wrong language payment gateway
-
Hi there,
The site is mutlilingual (French and English).
If shopping the site in english and clicking “Place Order” at the checkout page, it redirect to Moneris Payment Gateway in english which is fine. BUT when shopping in french and clicking “Placer la commande i.e. Place Order” … it STILL directing to the english payment gateway. How can we code this part to redirect to the payment in the same current language ?
In speaking with Woocommerce support, they propose the following :
“To switch between languages for Moneris Checkout(MCO), a language flag from the merchant’s end (in this case, WooCommerce) needs to be sent that tells Moneris which language to load the MCO page in. This also applies when switching between two different languages. Typically, developers will have a button that cardholders can select that has logic written to direct them to the MCO page in their preferred language. So, MCO isn’t the one calling the language, it needs to be told what to display.
How can I fix this to be able to capture the language flag from Loco Translate, then use that to send either the French or English flag in their communications to Moneris to load the MCO page.
Where and how do I add this “code” in woocommerce checkout page to call the language ?
Any support or guidance would help ??
Thank you,
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.