BrainTree Payment Plugin USD problem

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

BrainTree Payment Plugin USD problem

Postby admin » Fri Sep 25, 2015 4:57 pm

hello friends, if you are using BrainTree credit card provider plugin in UK or other non-USD countries, you may need to adjust the currency of the plugin within it's own code.

find this line:
Code: Select all
const AUTHORIZE_DEFAULT_PAYMENT_CURRENCY = "USD";


and update to:
Code: Select all
const AUTHORIZE_DEFAULT_PAYMENT_CURRENCY = "GBP";


the currency code should be a 3 letter ISO code. at the moment there is no way to change this from within the payment plugin config.

\plugins\vmpayment\braintreepayment\braintreepayment.php
Code: Select all
<creationDate>July 2014</creationDate>
    <author>The Webkul Development Team</author>
    <authorUrl>http://www.webkul.com</authorUrl>
    <copyright>webkul.com</copyright>
    <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
    <version>1.0.0</version>


best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 3 on Joomla 3.x