News:

Wondering if this will always be free?  See why free is better.

Main Menu

Paid Subscriptions fail

Started by yfleury, January 18, 2014, 11:45:28 AM

Previous topic - Next topic

yfleury

Ok I have no payment pending subscription.

I have no mod installed.

The only change I made, is to had 2 items in main menu in Subs.php like that
$buttons = array(
'accueil' => array(
'title' => 'Accueil',
'href' => '../' ,
'show' => true,
'sub_buttons' => array(
),
'is_last' => $context['right_to_left'],
),
'simulateur' => array(
'title' => 'Simulateur',
'href' => '../simulateur/',
'show' => true,
'sub_buttons' => array(
),
),
'home' => array(
'title' => 'Forum discussions',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
),
),

It's for a custum page.

But in case I doing something wrong, I install a new forum in new folder from trash. A very new one, no update. And I have no payment pending.
SMF 2.0.6

Sir Osis of Liver


If you can admin access to the new install, I'll have a look.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

yfleury

I give you a acces, Take a look in your PM in few minutes
SMF 2.0.6

Sir Osis of Liver


Ok, you're using a currency code (CAD) that Paid Subs doesn't recognize, so it does nothing.  An obvious place to throw an error, but it doesn't.  Currency codes are case sensitive, PayPal sends 'cad' in the IPN, so you have to change the currency setting to 'cad', then the subscription will activate.  It's confusing because the choices in the drop menu are uppercase, but the actual codes are lowercase.

Try it.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Arantor

* Sir Cumber-Patcher just casually adds CAD and AUD to the lists in 2.1... hoping this part of the paid subs problem goes away in future.

(Throwing errors is technical because that implies SMF should know all possibly currencies PayPal supports and there's some... interesting... rules around that, e.g. the currencies that don't accept floats for payment amounts)


EDIT: I don't know if you've seen the changes to paid subs in 2.1 lately but we're really trying to nail down the paid subs bugs. Any insight you can share would be appreciated.

Sir Osis of Liver


2.0.6 recognizes cad.  Did a little hack for a guy in Subscriptions-PayPal.php to make it accept aud, but that was a while ago.

A large part of the problem with Paid Subs is the PayPal api is fussy, and the SMF user interface is not very clear.  Recurring payments has also been a problem, needs a lot of work.

I have an old 2.1 alpha.  If I can find it, will install the current build and see what you've done.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Arantor

2.0.6 should only recognise CAD if you use other. 2.1 explicitly adds CAD and AUD to the list of currencies.

I've tried to fix some of the issues around unknown payment types, which should definitely help with that.

yfleury

Thank you very much Krask, my subscription on my forum is now back on track by changing CAD by cad for Currency Code.

You got a beer Krash. ;D
SMF 2.0.6

Sir Osis of Liver


Do you still have to activate subscriptions manually on your production forum?

Thanks for the beer!

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

yfleury

I buy a prepaid creditcard and make a test yesterday

SMF make subscription automatically, so, I have nothing to do. 8)

All I have to do, is look the money come to me  ;D

Thanks for your help
SMF 2.0.6

Advertisement: