i am usuing the DIBS payment-provider with 2 culture-specific properties (lang and acceptUrl).
When i try to generate the paymentform with the TC.GeneratePaymentForm(SkyConstants.ShopId, sb.ToString()) method, the form is generated, but without the culture-specific properties.
Here is the output of the form:
If i output the culture it shows the right culture.
Hi, when merging the settings Tea Commerce uses the order.LanguageId property to determine the language fields to merge. What value is your orders LanguageId set to?
that was all i needed to know. Thank you very much. Is there a way i could see that some where? I could not find it in the repo, or maybe i couldn´t find it.
Unfortunately it doesn't appear to be documented anywhere. I figured it out by looking through the source code. I've added an issue to the TC docs github repo though to make sure we keep track of this and look to get it added to them ASAP.
Culture properties not added to paymentform
Hi Tea Commerce,
i am usuing the DIBS payment-provider with 2 culture-specific properties (lang and acceptUrl).
When i try to generate the paymentform with the
TC.GeneratePaymentForm(SkyConstants.ShopId, sb.ToString())
method, the form is generated, but without the culture-specific properties.Here is the output of the form:
If i output the culture it shows the right culture.
Anybody have any ideas, why this is not working?
Best regards
René
Hi, when merging the settings Tea Commerce uses the
order.LanguageId
property to determine the language fields to merge. What value is your orders LanguageId set to?Hi Matt,
that was all i needed to know. Thank you very much. Is there a way i could see that some where? I could not find it in the repo, or maybe i couldn´t find it.
Anyway, thanks a lot.
/R
Hi Rene,
Awesome. Glad that helped.
Unfortunately it doesn't appear to be documented anywhere. I figured it out by looking through the source code. I've added an issue to the TC docs github repo though to make sure we keep track of this and look to get it added to them ASAP.
https://github.com/TeaCommerce/Tea-Commerce-Documentation/issues/3
Many thanks
Matt
Maybe you can use this PR - https://github.com/TeaCommerce/Tea-Commerce-Documentation/pull/4 or else i´m up for improvement guidance.
Awesome! Thank you.
I might tweak it a little later, but it's currently a lot better than what was there before 😁
Thank you for taking the time to create a PR.
Matt
is working on a reply...