I copied and modified this open source code: https://github.com/btcgear/Bitcoin_Exch ... e_OpenCart to allow my site to display prices in the currency I'm trying to implement (Dogecoin). Got it working, but I ran into trouble when I realized that if the user is displaying prices in Dogecoin Opencart attempts to pass the order total to coinpayments.net as a Doge value (which of course, it doesn't understand... it wants the value to be in USD).
As a workaround I took Qphoria's advice from this thread: http://forum.opencart.com/viewtopic.php ... ncy#p39245 and added
Code: Select all
$this->currency->set('USD');
My question is: How can I make opencart pass the value to coinpayments.net as a USD value while still allowing the user to view the checkout page in whatever currency they wish?
Any help would be greatly appreciated!