PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Inconsistant Paypal behavior (and logs)

s2Member Plugin. A Membership plugin for WordPress®.

Inconsistant Paypal behavior (and logs)

Postby cassel » July 10th, 2011, 1:02 pm

I am lucky: i got several customer purchase the course i am selling. The problem is that the updating of the levels and ccaps do not seem consistant.

This morning, someone made a purchase, and she was brand new, never had a registration at the site, even a free one. She never got the Thank you note from Paypal, her status was only "registered" and not "level1", and no ccaps were set. Usually, i get an email from Paypal with this subject line:
Item #1:basic,forum:6 M - Notification of Payment Received from xxx
but in this last case, i got an email with this subject:
Payment received from xxxx
with no mention of what she purchased. I know what it is by the price.

The previous transaction went through Paypal, sent me the correct confirmation email but the customer did not receive the Thank you note. Here is that log:

WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; .NET4.0C; .NET4.0E; InfoPath.1)
array (
's2member_log' =>
array (
0 => 'No Return-Data from PayPal®. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page.',
),
)

WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1&tx=2N5578757U1424015&st=Completed&amt=49.00&cc=USD&cm=scrapbookcampus%2ecom&item_number=1:basic,forum:6%20M
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
array (
'mc_gross' => '49.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => xxxx,
'tax' => '0.00',
'payment_date' => '08:03:34 Jul 09, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => 'Sheila',
'option_selection1' => '68',
'option_selection2' => xxxxx,
'mc_fee' => '1.72',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'verified',
'business' => 'admin@xxxx,
'quantity' => '1',
'payer_email' => xxxxx,
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => xxxxx,
'payment_type' => 'instant',
'last_name' => xxxxx,
'receiver_email' => 'casselxxxx,
'payment_fee' => '1.72',
'receiver_id' => xxxx,
'txn_type' => 'web_accept',
'item_name' => 'Basic Scrap Course with PSP',
'mc_currency' => 'USD',
'item_number' => '1:basic,forum:6 M',
'residence_country' => 'US',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '49.00',
'shipping' => '0.00',
's2member_log' =>
array (
0 => 'Return-Data received on: Sat Jul 9, 2011 3:03:49 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|subscr_payment).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment) w/ update vars.',
5 => 'Automatic EOT ( End Of Term ) Time will be set to: Fri Jan 6, 2012 3:03:50 pm UTC.',
6 => 's2Member Level/Capabilities updated w/ advanced update routines.',
7 => 'Redirecting Customer to the Login Page. They need to log back in.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => xxxxxx,
'eotper' => '6 M',
'ccaps' => 'basic,forum',
'level' => '1',
'ip' => xxxxx,
)


Now, i would love to give you the log for the last transaction, but it never registered in the log for it, while the one right before WAS registered correctly in the paypal log (the one posted above).

Any suggestion or explanation?
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 10th, 2011, 4:56 pm

Just as an update, i got another customer, and the transaction went through. The email i got from Paypal had the expected subject line:
Item #1:basic,forum:6 M - Notification of Payment Received from xxx

However, the registration of this user (who was new) did NOT update the level and ccaps AND is not recorded in the log either.
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby Cristián Lávaque » July 11th, 2011, 8:14 pm

Yeah, it's inconsistent. From your last comment I gather it may be related to the problem discussed in this other thread you started viewtopic.php?f=4&t=10387

I don't know if Jason has checked your installation directly yet, I'll ask him. You sent the login info already, right? Ah yes, I see them in the support inbox. I'll ask him about this.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 11th, 2011, 8:25 pm

Yeah, similar. However, i removed the custom value, and i am using basically all the defaults for a paypal button, so no pro-form and such. I will appreciate if Jason can have a look around and give me some suggestions. As i said, i am lucky to have customers and in a way, lucky they dont come by the hundreds at this point :lol:
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 11th, 2011, 10:27 pm

Here is another customer, a different behavior. Customer is new (never registered before). I got NO notification from Paypal (unless it is delayed somehow). The status is correctly updated with level and ccaps and id. And this time, i DID get the transaction log! Here it is:

WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1&tx=3XP40578UE989660N&st=Completed&amt=49.00&cc=USD&cm=scrapbookcampus%2ecom&item_number=1:basic,forum:6%20M
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C)
array (
'mc_gross' => '49.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => xxxx,
'tax' => '0.00',
'payment_date' => '20:09:45 Jul 11, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => xxxx,
'option_selection1' => '86',
'option_selection2' => xxxxx,
'mc_fee' => '1.72',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'verified',
'business' => 'admin@xxxx,
'quantity' => '1',
'payer_email' => 'trafficdirsgirl@gmail.com',
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => xxxxxx,
'payment_type' => 'instant',
'last_name' => xxxx,
'receiver_email' => 'cassel@xxxx,
'payment_fee' => '1.72',
'receiver_id' => xx,
'txn_type' => 'web_accept',
'item_name' => 'Basic',
'mc_currency' => 'USD',
'item_number' => '1:basic,forum:6 M',
'residence_country' => 'US',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '49.00',
'shipping' => '0.00',
's2member_log' =>
array (
0 => 'Return-Data received on: Tue Jul 12, 2011 3:09:48 am 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|subscr_payment).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment) w/ update vars.',
5 => 'Automatic EOT ( End Of Term ) Time will be set to: Sun Jul 8, 2012 3:09:40 am UTC.',
6 => 's2Member Level/Capabilities updated w/ advanced update routines.',
7 => 'Redirecting Customer to the Login Page. They need to log back in.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => xxxx,
'eotper' => '6 M',
'ccaps' => 'basic,forum',
'level' => '1',
'ip' => xxxx,
)

Is that making sense??? If i had not noticed the email about a new user, i would not have known i had a new customer!
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 12th, 2011, 5:05 am

OK let's be fair to Paypal, it DID send the correct notification email, 90 minutes later!
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby Cristián Lávaque » July 12th, 2011, 2:37 pm

cassel wrote:OK let's be fair to Paypal, it DID send the correct notification email, 90 minutes later!


lol
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Inconsistant Paypal behavior (and logs)

Postby Jason Caldwell » July 13th, 2011, 2:11 pm

Thanks for your patience.

This transaction log that you posted looks good. However, this was NOT a new User, it was an existing account holder that was upgrading to paid status. In cases like this, WordPress will not notify you directly about having a new User, because the User's account already existed. What DID happen here, is that an existing User became a paid Member.
Code: Select all
WordPress® v3.1.3 :: s2Member® v110620 :: s2Member® Pro v110606
scrapbookcampus.com/?s2member_paypal_return=1&tx=3XP40578UE989660N&st=Completed&amt=49.00&cc=USD&cm=scrapbookcampus%2ecom&item_number=1:basic,forum:6%20M
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C)
array (
'mc_gross' => '49.00',
'protection_eligibility' => 'Ineligible',
'payer_id' => xxxx,
'tax' => '0.00',
'payment_date' => '20:09:45 Jul 11, 2011 PDT',
'payment_status' => 'Completed',
'charset' => 'windows-1252',
'first_name' => xxxx,
'option_selection1' => '86',
'option_selection2' => xxxxx,
'mc_fee' => '1.72',
'custom' => 'scrapbookcampus.com',
'payer_status' => 'verified',
'business' => 'admin@xxxx,
'quantity' => '1',
'payer_email' => 'trafficdirsgirl@gmail.com',
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => xxxxxx,
'payment_type' => 'instant',
'last_name' => xxxx,
'receiver_email' => 'cassel@xxxx,
'payment_fee' => '1.72',
'receiver_id' => xx,
'txn_type' => 'web_accept',
'item_name' => 'Basic',
'mc_currency' => 'USD',
'item_number' => '1:basic,forum:6 M',
'residence_country' => 'US',
'handling_amount' => '0.00',
'transaction_subject' => 'scrapbookcampus.com',
'payment_gross' => '49.00',
'shipping' => '0.00',
's2member_log' =>
array (
0 => 'Return-Data received on: Tue Jul 12, 2011 3:09:48 am 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|subscr_payment).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup|subscr_payment) w/ update vars.',
5 => 'Automatic EOT ( End Of Term ) Time will be set to: Sun Jul 8, 2012 3:09:40 am UTC.',
6 => 's2Member Level/Capabilities updated w/ advanced update routines.',
7 => 'Redirecting Customer to the Login Page. They need to log back in.',
),
'subscr_gateway' => 'paypal',
'subscr_id' => xxxx,
'eotper' => '6 M',
'ccaps' => 'basic,forum',
'level' => '1',
'ip' => xxxx,
)


The bug that Cristián mentioned was corrected in the release of s2Member v110710. If you are having problems being notified about "new" Users/Members, I would suggest upgrading to the latest release, because s2Member v110708 and s2Member v110709 contained a bug that caused a problem for some site owners. This problem was corrected in s2Member v110710, and some new options were added to s2Member configuration panel, under: s2Member -> General Options -> Email Configuration, allowing site owners to take more control over New User Notifications, both to the User, and also to the Administrator.

All of that being said. If you have an existing User, who logs in and upgrades to become a Member, neither WordPress or s2Member will notify you about having a "new" User, because the User already existed. However, the Customer will receive an email acknowledging their upgrade, and ( if configured properly ), PayPal may also send you ( i.e. the Merchant ) an email with subject line "Notification of Payment Received". If you'd like to receive additional information directly from s2Member whenever a Customer upgrades, you might want to have a look in your Dashboard, under: s2Member -> API Notifications -> Modification Notifications ( or Payment Notifications ). You may configure both email and scripted notifications from that section in your Dashboard.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 13th, 2011, 2:19 pm

Ok i will go check that i have the latest version. However, when you mention that this was not a new user, can you point me to how you figure it out? I simply relied on the information in the User profile in WP that says this under Registration Date:

Tue Jul 12th, 2011
@ precisely 3:06 am

Is this field for the actual initial registration or will that date change when the user becomes a paid member?
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011

Re: Inconsistant Paypal behavior (and logs)

Postby Jason Caldwell » July 13th, 2011, 4:14 pm

The Registration Date, is for the initial registration, and it will not change when/if the User upgrades to a paid Member. A paying Member will be associated with a Payment Gateway in their Profile. So when you inspect the Member, you will see a record of the transaction associated with the Membership. Free Subscribers will not be associated with a Payment Gateway, because they've never paid you. Does that help?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Inconsistant Paypal behavior (and logs)

Postby cassel » July 13th, 2011, 5:02 pm

Yes it helps but then, it does not match your explanation for that given log since she registered on July 12th and the transaction came through at the same time, making this user a brand new user.

Anyhow, i will upgrade to the last version, and wait for the next customer to see how it behaves.
User avatar
cassel
Experienced User
Experienced User
 
Posts: 442
Joined: February 17, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron