Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • René Pjengaard 106 posts 635 karma points c-trib
    Jan 08, 2019 @ 09:56
    René Pjengaard
    0

    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.

    enter image description here

    Here is the output of the form:

    enter image description here

    If i output the culture it shows the right culture.

    Anybody have any ideas, why this is not working?

    Best regards

    René

  • Matt Brailsford 2053 posts 10078 karma points MVP 5x c-trib
    Jan 08, 2019 @ 12:12
    Matt Brailsford
    100

    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?

  • René Pjengaard 106 posts 635 karma points c-trib
    Jan 08, 2019 @ 13:11
    René Pjengaard
    0

    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

  • Matt Brailsford 2053 posts 10078 karma points MVP 5x c-trib
    Jan 08, 2019 @ 13:18
    Matt Brailsford
    0

    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

  • René Pjengaard 106 posts 635 karma points c-trib
    Jan 08, 2019 @ 13:53
    René Pjengaard
    0

    Maybe you can use this PR - https://github.com/TeaCommerce/Tea-Commerce-Documentation/pull/4 or else i´m up for improvement guidance.

  • Matt Brailsford 2053 posts 10078 karma points MVP 5x c-trib
    Jan 08, 2019 @ 14:31
    Matt Brailsford
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft