![]() |
Subscriptions - Currency
I want to know how to add another currency to the Paid Subscriptions area. I've searched but can't find anything. Can you please help?
|
Is this not possible?
|
Bump
|
bump
|
Bump
|
Can anyone please help? I want to add NZ currency but no idea how.
|
Bump
|
bump
|
Have you been over to www.vbulletin.com, they have better support for the core vbulletin functions.
|
Yeah i've asked there for almost 6 months with no answer
|
If you figure this out let me know ... I want to add it as well (same currency too!)
|
Currencies are defined in each payment gateway's files.
|
Dismounted, that doesn't help me. I need to know how to do it.
dannefaerd, i've posted in several forums trying to find out and still haven't been able to get anyone to tell me how :( It must be possible, and surely not that hard. |
In the table 'paymentapi', edit the field 'currency'. It is a comma-separated list of currencies.
|
Can i do this through vBulletin?
|
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); Code:
var $supported_currency = array('usd' => true, 'nzd' => true, 'gbp' => true, 'eur' => true, 'aud' => true, 'cad' => true); |
even if the price of the subscription is in USD for example, the payment processor (ie. PayPal and such) could still allow the payment to be made in local currency.
|
Quote:
|
Well, not using subs, I can't tell you exactly what to do, but the gateway files will allow NZD to be an option, then looking at admincp/subscriptions.php and seeing this:
Code:
print_cells_row(array( That would sort out your admincp to allow NZD. No idea how that would translate to your enduser though as I have never set up subs and don't know where they parse from or anything so anything past the above would be pure speculation. |
Is this corrected in 3.7.0 ?
|
Please ask this at vB.com or check the vB.com Bug Tracker.
|
None of this still works :( Does anyone have any ideas? I really want NZD to be my main currency.
|
Here is what I did to add in an "unsupported" currency into the subscriptions:-
Do this edit contributed by tokenyank below:- Quote:
Edit /includes/class_paid_subscriptions as follows :- Find: Code:
var $_CURRENCYSYMBOLS = array( Code:
var $_CURRENCYSYMBOLS = array( Hope this works for you. |
Just a small note, your last edit would cause an error, you're missing a single quote on the end of "NZD". Also, using your edits, you could have added an extra array value instead of replacing the CAD one.
|
I did all of this, but this bit here:
In includes/paymentapi/*whichever-gateway-you-want-to-use.php* doesn't exist - the bits to edit. So what do i need to edit in there? Using 3.8.0 |
All times are GMT. The time now is 06:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|