Bitpay and Currency

I set up BitPay and have the API working. My site is showing prices in GBP but the currency is not being taken into account processing through BitPay. Is this normal?

Quote · 4 Nov 2016

Hello

Current integration supports USD, EUR, BTC currencies only. Looks like a list of currencies supported by BitPay was broaden and now it supports 9 including GPB. So, you may try to edit module/boonex/payment/classes/BxPmtBitPay.php file and find the following code

switch ($aCartInfo['vendor_currency_code']) {
   case 'USD':
   case 'EUR':
   case 'BTC':
       $this->aBpOptions['currency'] = $aCartInfo['vendor_currency_code'];
}

Add one more case with GPB (case 'GPB':). You should have the following

switch ($aCartInfo['vendor_currency_code']) {
   case 'USD':
   case 'EUR':
case 'GPB':
   case 'BTC':
       $this->aBpOptions['currency'] = $aCartInfo['vendor_currency_code'];
}

I think it should help.

Quote · 7 Nov 2016

Thank you. I made that change but I also made a change which I documented in another topic.

Quote · 7 Nov 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.