Here is what I did to add in an "unsupported" currency into the subscriptions:-
Do this edit contributed by tokenyank below:-
Quote:
Originally Posted by tokenyank
In includes/paymentapi/*whichever-gateway-you-want-to-use.php*
Find:
Code:
var $supported_currency = array('usd' => true, 'gbp' => true, 'eur' => true, 'aud' => true, 'cad' => true);
and replace with:
Code:
var $supported_currency = array('usd' => true, 'gbd' => true, 'gbp' => true, 'eur' => true, 'aud' => true, 'nzd' => true);
|
Edit /admincp/subscriptions.php and replace
all occurences of CAD with NZD - all means all ... there will be replacement of 'cad' and 'cad_dollars' to become 'nzd' and 'nzd_dollars'
Edit /includes/class_paid_subscriptions as follows :-
Find:
Code:
var $_CURRENCYSYMBOLS = array(
'usd' => 'US$',
'gbp' => '£',
'eur' => '€',
'cad' => 'CA$',
'aud' => 'AU$',
Replace with:
Code:
var $_CURRENCYSYMBOLS = array(
'usd' => 'US$',
'gbp' => '£',
'eur' => '€',
'nzd' => 'NZD,
'aud' => 'AU$',
I am assuming you do not need to use the CAD currency, thus what we have just done is to replace CAD currency symbols and headings to NZD.
Hope this works for you.