@garethhallnz has been working on multicurrency support over at https://github.com/garethhallnz/commerce_dps
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | commerce_dps-1927650-multicurrency_revisit-5.patch | 1.91 KB | xurizaemon |
@garethhallnz has been working on multicurrency support over at https://github.com/garethhallnz/commerce_dps
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | commerce_dps-1927650-multicurrency_revisit-5.patch | 1.91 KB | xurizaemon |
Comments
Comment #1
garethhallnz commented1) Bug fix, Dps to except multiple currencies. (NZD was hard coded)
2) Bug fix, JPY was not working as it does not have cents (DPS IU error)
Comment #2
garethhallnz commentedJust to let you know this is in production too.
Comment #3
xurizaemonCommitted (with some modifications) in https://drupal.org/commitlog/commit/35798/895b2f78aaf99021bfd895ece1a752... - thanks Gareth!
For future users looking at multicurrency support - currently the gateway supports a set currency per payment method out of the box. If you want to switch currency at checkout you can either configure multiple Commerce DPS PxPay methods and adjust the activated method at checkout, or take advantage of #1848344: Allow alteration of transaction data before DPS redirect to do your own per-transaction switcharoo.
Comment #5
xurizaemonGareth - I spotted a better way we can handle this, which gives Commerce the ability to switch the currency at checkout based on the currency of the order total, and removes the need to special case JPY (since Commerce already handles that in its decimilization, provided we inform it of the currency).
Comment #7
xurizaemon