How to get user selected language and currency in Payment Plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 năm cách đây
Hi

I want to check the user language and currency selected by customer on the Homepage and then pass it to the gateway.

How do I get the info about Language and currency ?

Example Store language is Danish and kroner as currency but a customer selects English and euro as currency, now I want to pass english and euro to my payment gateway instead of default store settings.
The Gateway is supporting english and euro I just need to pass the new settings.
12 năm cách đây
Use _workContext.WorkingLanguage and _workContext.WorkingCurrency (_workContext is an instance of IWorkContext)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.