Problem is, that there is only one field for three languages. Best solution would be to turn the field into dictionary value? I tried but it did not work.
If the different sites uses the same store then yes, you'd need to use the dictionary input to provide different values per language. Vendr should then translate those settings before passing them to the payment provider using the language ISO code of the order to determine which values to use.
When you say "it didn't work". How exactly didn't it work?
it is only one site using one store. But since it is only one payment method page for all three languages, I have to somehow fill in three different values. But maybe i don't understand the concept correctly.
Anyway, it is working now. My mistake was, not to clear the value in each field before entering the dictionary values. That way Umbraco does not override the existing field value.
How to pass language to payment provider
Hi Matt,
I have now set up the shop in three languages using the new language variants.
The checkout pages are all in the correct language.
But when I get passed on from say english vendr checkout process
to e.g. STRIPE payment page
it is in german.
When the payment is processed I than get returned to the german shop when realy it should be the english URL...
Where can I adjust that?
Thanks
OK, it seems as if STRIPE looks for the browser language. I have now changed the language to english and the STRIPE payment page shows up in english.
But the return language is still german when really should be english as described above.
Thanks
Hi Edgar,
What do you have setup in your payment providers settings for the
Continue URL
? Is this pointing to the right language version confirmation page?Matt
Hi Matt,
thanks for your reply.
Problem is, that there is only one field for three languages. Best solution would be to turn the field into dictionary value? I tried but it did not work.
Edgar
Hi Edgar,
If the different sites uses the same store then yes, you'd need to use the dictionary input to provide different values per language. Vendr should then translate those settings before passing them to the payment provider using the language ISO code of the order to determine which values to use.
When you say "it didn't work". How exactly didn't it work?
Matt
Hi Matt,
it is only one site using one store. But since it is only one payment method page for all three languages, I have to somehow fill in three different values. But maybe i don't understand the concept correctly.
Anyway, it is working now. My mistake was, not to clear the value in each field before entering the dictionary values. That way Umbraco does not override the existing field value.
Thanks,
Edgar
Ahhh, great stuff. Glad you got it working 👍
is working on a reply...