Skip to content

QuickPay - LanguageCode is ignored when using AutoPost #585

@clauskolbak

Description

@clauskolbak

Hey

When using the autopost option on QuickPay, we noticed that no matter the language of the website, user or browser, it always ended up as Danish.
Swapping to a post template and getting the area language through Pageview.Area.CultureInfo works, but that then also requires us to recalc the checksum and so on - which we ofc. would prefer to awoid.

I looked in the quickpay cs file, and it seems you are finding the language code through the following: Dynamicweb.Environment.ExecutingContext.GetCulture(true).TwoLetterISOLanguageName;

Which as far as I can see should work, so I don't really understand why it doesn't. - but maybe you can see an issue there somewere.
An alternative would also be to use the browser context or similar instead ofc.

Tested on QuickPay Payment Window 10.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions