SMF Support > SMF 2.0.x Support
Paid Subscriptions - Help
Krash.:
Too many brackets. :P
--- Code: ---
if (strtolower($_POST['mc_currency'] != $modSettings['paid_currency_code']) && ($_POST['mc_currency']) != 'aud')
--- End code ---
Wazza:
This fix for "AUD" works a treat! Just tested in the /ATown site we created ;)
Wazza:
Krash...Happy for you or anyone you invite to use the Test site we created for testing of this issue. Admin or whatever access they need?
I'm running on dedicated VPS with WHM & CPanel access (not a shared hosting site) so can leave this offer open as long as is required.
Plus I will credit back any payments anyone makes to my PayPal account in testing.
Wazza ;)
emanuele:
--- Quote from: Wazza on May 23, 2012, 09:16:16 PM ---2. Only payments when set in USD will become automatically "active"
--- End quote ---
From my testings (paypal sandbox), this is a wrong setting in your paypal account: you have to go to your paypal account, in profile > Payment Receiving Preferences and where it says "Block payments sent to me in a currency I do not hold:" select "No, accept them and convert them to U.S. Dollars" (at least that's what I see in my test account).
Krash.:
Rereading this thread, I believe the currency problem was because Subscriptions-PayPal.php does not recognize AUD, which should be the default currency type for an Australian Paypal user, so the account settings were correct. The currency hack in Subscriptions-PayPal.php apparently fixed it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version