Get the current currency
Hy,
i build a teaser on home where need to check the current selected currency.
Is there a way to check this with php? Something like:
Hy,
i build a teaser on home where need to check the current selected currency.
Is there a way to check this with php? Something like:
Looks like we need a multicurrency aware design pattern for payment gateways.
Following issue in the Commerce Multicurrency queue contains several reports of problems with payment gateways when using multiple currencies: http://drupal.org/node/1932598
In comment 10 I tried to outline a possible "design pattern" payment gateways should follow:
Let say I use PayPal as payment method. Suppose my Drupal Commerce supports USD, GBP and EUR. I want to show PayPal when order's currency is USD but hide PayPal when order's currency is GBP/EUR.
Is there a way to do this? using "condition"? How? Thanks.