Skip to main content ↑ ↓
[1.0 RC2]Paid subscription currency cannot be set to Other Started by Adrek · · Read 3893 times 0 Members and 1 Guest are viewing this topic.

[1.0 RC2]Paid subscription currency cannot be set to Other

I tried to setup paid subscriptions with currency that is not by default in settings, but when I select Other from select box and save it nothing happens.

Re: [1.0 RC2]Paid subscription currency cannot be set to Other

Reply #1 –

Hummm ... looks like toggleOther has gone walkies  :-[

Re: [1.0 RC2]Paid subscription currency cannot be set to Other

Reply #2 –

In ManagePaid.controller.php

Code: (find) [Copy]
				'dummy_currency' => array('select', 'paid_currency', array('usd' => $txt['usd'], 'eur' => $txt['eur'], 'gbp' => $txt['gbp'], 'other' => $txt['other']), 'javascript' => 'onchange="toggleOther();"'),

Code: (replace) [Copy]
				'dummy_currency' => array('select', 'paid_currency', array('usd' => $txt['usd'], 'eur' => $txt['eur'], 'gbp' => $txt['gbp'], 'other' => $txt['other']), 'javascript' => 'onchange="toggleCurrencyOther();"'),

toggleOther() is now toggleCurrencyOther() which is a lot more descriptive, just the call was not updated !

Re: [1.0 RC2]Paid subscription currency cannot be set to Other

Reply #3 –

Thanks, works now :)