How to add Yen
Permalink Browser Info Environment
Hello, I use this plugin conveniently.
How can I add yen to settlement currency?
I added it to $ currency_codes, but it was not reflected.
How can I add yen to settlement currency?
I added it to $ currency_codes, but it was not reflected.
Type: | Pre-Sale |
---|---|
Status: | Resolved |
sorry for my delayed reply.
I tried adding jpy as a item in the currency codes and it was reflected in the drop down. See attached. Perhaps you need to clear your site's cache.
One other thing you will need to do to support Yen is that further down in the controller.php, there are _two_ lines that have:
$amount = $o->getOrderTotal() * 100;
both of them will need to be changed to:
$amount = $o->getOrderTotal() ;
It's very unlikely that I'll be pushing up another release of this add-on, so if you make the code change directly it should be fine.
-Ryan