Page 1 of 1

Registration after payment @level 0

PostPosted: December 2nd, 2011, 12:45 pm
by privaloops
Hi together,

first of all let me say how great is that plugin, I'm not here to complain stupidly, but I have a real problem.

I have integrated S2member on a WP multisite, with Buddypress and WPML for translations.

I also use buddypress multilanguage and wanguard (I have already tested when disabling them but no difference for my problem).

I think my s2member options are correct because the update level procedure works good, and the plugin is up to date.

What doesn't work is : paypal payment first, then registration with s2member cookie.

I precise also that I have tried with a clean generated button and one more time, I have already made a lot of transactions in "modify" mode without any problem.

So, when I pay my subscription on paypal, no problem the S2members log are sane, it ends up with

6 => 'Storing Signup Tracking Codes into a Transient Queue. These will be processed on-site.',
7 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',

Sound good at this point.

Then the user clicks on the displayed link to register (the one with many parameters which actually sets the cookie), the cookies are created (seen with developper bar in firefox) and then the register page is displayed (I'm under BP so it's not wp-signup.php but /register).

I fill all the fields, then activate my subscription with the wordpress activation email, and I'm done.

My problem : I'm @level0, and there is no S2member related data in the profile of this user, I'm going crazy.

I think when register, the link between the payment itself and the current registration doesn't work.

Could someone helps me ?

Thank you very much dear community.

Re: Registration after payment @level 0

PostPosted: December 2nd, 2011, 12:58 pm
by Eduan
Could you post the logs for the transaction x'ing out any private info? Which you can find under wp-content -> plugins -> s2member-logs, It would be nice if you posted both with the:
Code: Select all
[Box][/Box] Tags
That way the logs don't use the whole page, thanks.

You can also check this video and make sure everything is as it should be:
http://www.s2member.com/paypal-options-buttons-video/

Hope this helps and thanks for everything.

Re: Registration after payment @level 0

PostPosted: December 2nd, 2011, 1:04 pm
by privaloops
Of course here it is
PHP v5.2.6-1+lenny13 :: WordPress® v3.2.1 :: s2Member® v111029
Memory 17.64 MB :: Real Memory 18.00 MB :: Peak Memory 17.66 MB :: Real Peak Memory 18.00 MB
universpodcast.com/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_signup',
'subscr_id' => 'S-266876507D857284S',
'last_name' => 'xxx',
'option_selection1' => 'universpodcast.com',
'option_selection2' => 'xxx',
'residence_country' => 'FR',
'mc_currency' => 'EUR',
'item_name' => 'One Space 1Go',
'business' => 'facturation@universpodcast.com',
'recurring' => '2.99',
'verify_sign' => 'AbS5JTsIv4B6SnXex-uhj.o3KioEAEP11GXDcu1sTlE.gsKsUH16qx8M',
'payer_status' => 'verified',
'payer_email' => 'xxx@xxx.com',
'first_name' => 'laurent',
'receiver_email' => 'facturation@universpodcast.com',
'payer_id' => 'A4VEWXVWKD89A',
'option_name1' => 'Originating Domain',
'invoice' => '4ed8f4f637f60~xxx',
'option_name2' => 'Customer IP Address',
'reattempt' => '1',
'item_number' => '2',
'subscr_date' => '07:58:12 Dec 02, 2011 PST',
'custom' => 'universpodcast.com',
'charset' => 'windows-1252',
'notify_version' => '3.4',
'period3' => '1 M',
'mc_amount3' => '2.99',
'ipn_track_id' => '6UUKLEMd4JYEwwKsmVTxSw',
's2member_log' =>
array (
0 => 'IPN received on: Fri Dec 2, 2011 3:58:36 pm UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
5 => 'Signup Confirmation Email sent to: "laurent fournaise" <xxx@xxx.com>.',
6 => 'Storing Signup Tracking Codes into a Transient Queue. These will be processed on-site.',
7 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
),
'subscr_gateway' => 'paypal',
'eotper' => NULL,
'ccaps' => NULL,
'level' => '2',
'ip' => '82.244.35.205',
'period1' => '0 D',
'mc_amount1' => '0.00',
'initial_term' => '0 D',
'initial' => '2.99',
'regular' => '2.99',
'regular_term' => '1 M',
)

I have just replace name, ip and email with "xxx"

Re: Registration after payment @level 0

PostPosted: December 7th, 2011, 11:31 am
by privaloops
Hi there, up please, this is very annoying.

I'm pretty sure we can find what's wrong !

thank you by advance

Re: Registration after payment @level 0

PostPosted: December 8th, 2011, 5:44 am
by privaloops
Up please !

Re: Registration after payment @level 0

PostPosted: December 9th, 2011, 1:26 am
by Cristián Lávaque
Hey. I looked at the log entry you posted, but I don't see the problem there. Is that a transaction that had the problem you explained?

Not sure if it helps with your particular problem, but please update to the latest release: 111206.

Could you post the shortcode you're using for the button?

Did you check the integration settings between s2Member and BuddyPress? WP Admin -> s2Member -> General Options -> Registration/Profile -> BuddyPress

Re: Registration after payment @level 0

PostPosted: December 9th, 2011, 3:57 am
by privaloops
Hi,

thanks for the answer. Yes, the transaction log is ok, my problem comes after when the user registers.

Actually I don't see anything I should update in the s2member/buddypress option, or maybe I have understood something wrong.

Anyway, here is a shortcode

[s2Member-PayPal-Button level="1" ccaps="" desc="Start Space 500Mo" ps="universpodcast" cc="EUR" ns="1" custom="universpodcast.com" ta="0" tp="0" tt="D" ra="1.49" rp="1" rt="M" rr="1" lc="FR"image="https://www.paypal.com/fr_FR/i/bnr/horizontal_solution_PP.gif" output="button" /]

It can be see online here : http://universpodcast.com/offres/

Bye

Re: Registration after payment @level 0

PostPosted: December 10th, 2011, 3:13 pm
by Cristián Lávaque
Thanks.

To find if a plugin conflict is causing this, could you, as a test, deactivate the rest of your plugins one by one and test after each, see if one of them takes the problem with it?

Do you have open registration enabled? If so, could you try closing it for a quick test and purchase a new account, see if you can register then and what level you're given? WP Admin -> s2Member -> General Options -> Open Registration