Closed (fixed)
Project:
Commerce DPS
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2013 at 06:52 UTC
Updated:
30 Mar 2015 at 03:54 UTC
Jump to comment: Most recent, Most recent file
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