Hi:

in uc_dps_pxaccess.module, line 222. $request->setInputCurrency(variable_get('uc_currency_code', 'NZD'));

at moment, the module uses variable_get to get currency. but the 'uc_currency_code' is stored in DB, so it
impossible for mutiple currency site to pass currency information to DPS.

I am suggest "pxaccess" module uses session based variable to set input currency.

for a mutiple currency site, we can not set 'uc_currency_code', because that will affect every one who use the site.

Comments

xurizaemon’s picture

That's a good idea Anru.

Don't you think the currency should rather be stored against the order somehow? To me that suggests we should pull currency info from the order being processed, not the session?

I haven't played with UC Multi-Currency but looks like it uses $order->currency['sale_currency'] ... are you using that module?

xurizaemon’s picture

Status: Active » Postponed

Patches or sponsorship of this work welcome.