Skip to main content
Topic: [1.0 RC2]Paid subscription currency cannot be set to Other (Read 1624 times) previous topic - next topic
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) [Select]
				'dummy_currency' => array('select', 'paid_currency', array('usd' => $txt['usd'], 'eur' => $txt['eur'], 'gbp' => $txt['gbp'], 'other' => $txt['other']), 'javascript' => 'onchange="toggleOther();"'),

Code: (replace) [Select]
				'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 :)