The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
If you figure this out let me know ... I want to add it as well (same currency too!)
|
#12
|
||||
|
||||
![]()
Currencies are defined in each payment gateway's files.
|
#13
|
|||
|
|||
![]()
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 ![]() |
#14
|
||||
|
||||
![]()
In the table 'paymentapi', edit the field 'currency'. It is a comma-separated list of currencies.
|
#15
|
|||
|
|||
![]()
Can i do this through vBulletin?
|
#16
|
|||
|
|||
![]()
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); |
#17
|
|||
|
|||
![]()
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.
|
#18
|
|||
|
|||
![]() Quote:
![]() |
#19
|
|||
|
|||
![]()
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( $vbphrase['us_dollars'], $vbphrase['pounds_sterling'], $vbphrase['euros'], $vbphrase['aus_dollars'], $vbphrase['cad_dollars'], $vbphrase['subscription_length'], $vbphrase['recurring'], $vbphrase['ccbill_subid'], $vbphrase['twocheckout_prodid'], $vbphrase['options'] ), 1); $direction = verify_text_direction(''); $sub['cost'][] = array(); foreach ($sub['cost'] AS $i => $sub_occurence) { $usd = '<input type="text" class="bginput" name="sub[time][' . $i . '][cost][usd]" dir="' . $direction . '" tabindex="1" size="7" value="' . number_format($sub_occurence['cost']['usd'], 2, '.', '') . '" />'; $gbp = '<input type="text" class="bginput" name="sub[time][' . $i . '][cost][gbp]" dir="' . $direction . '" tabindex="1" size="7" value="' . number_format($sub_occurence['cost']['gbp'], 2, '.', '') . '" />'; $eur = '<input type="text" class="bginput" name="sub[time][' . $i . '][cost][eur]" dir="' . $direction . '" tabindex="1" size="7" value="' . number_format($sub_occurence['cost']['eur'], 2, '.', '') . '" />'; $aud = '<input type="text" class="bginput" name="sub[time][' . $i . '][cost][aud]" dir="' . $direction . '" tabindex="1" size="7" value="' . number_format($sub_occurence['cost']['aud'], 2, '.', '') . '" />'; $cad = '<input type="text" class="bginput" name="sub[time][' . $i . '][cost][cad]" dir="' . $direction . '" tabindex="1" size="7" value="' . number_format($sub_occurence['cost']['cad'], 2, '.', '') . '" />'; $length = '<input type="text" class="bginput" name="sub[time][' . $i . '][length]" dir="' . $direction . '" tabindex="1" size="7" value="' . $sub_occurence['length'] . '" />'; 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. |
#20
|
|||
|
|||
![]()
Is this corrected in 3.7.0 ?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|