show/hide payment method according to currency
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.
Comments
In the papypal payment rule,
In the papypal payment rule, you should add a condition that checks the currency. to do this:
1) goto paypal rule
2) add a condition
3) select "Data comparison" from the list and go to next step
4) use "commerce-order:commerce-order-total:currency-code" as data selector and go to next page
5) you can select each currency code you want and do it so on
Thanks moallemi, I will try
Thanks moallemi, I will try your suggestion.
It works. Thank you.
It works. Thank you.