Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Nov 2009 at 22:49 UTC
Updated:
28 Feb 2013 at 17:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
jcfiala commentedSo, here's the patch I created to provide an order context to uc_price - please review.
Comment #2
xurizaemonRe-rolling against current Ubercart and attaching changes from http://www.vintagedigital.net/content/how-add-multicurrency-support-uber... as well.
This patch sets $context['subject']['order'] = $order for each core UC payment module, and in a few other locations where uc_price() might need the contextual data to set price information based on the order details.
The benefit of doing this is that the order can store currency information, and the displayed price reflect the currency which the order occurred in.
I have not looked into why this patch does this, though:
Comment #3
xurizaemonCurrently testing this code in line with development on a multicurrency payment gateway for Ubercart.
Comment #4
xurizaemonHmm. Possibly duplicated by existing work on #1097668: Multicurrency support as well.
Comment #6
longwaveIf this is to be solved in 6.x it will be done in #1097668: Multicurrency support