Page 2 of 2
Re: EOT Behavior - populating with wrong date?
Posted:
November 15th, 2011, 2:36 pm
by Cristián Lávaque
Got ya. I emailed Jason about this.
Could you list what other plugins you have installed, please? Thanks!
Re: EOT Behavior - populating with wrong date?
Posted:
November 15th, 2011, 3:31 pm
by peeld
ACTIVE:
Admin log in as different user
BP Disable Activation
BP Export Users
BP Group Management
Buddypress
Buddypress Activity Stream bump to top
Buddypress Edit Group Slug
BuddyPress Forums Extras - Add CSS classes for Posts/Topics per user level
BuddyPress Forums Extras - Quote
BuddyPress Forums Extras - Signatures
BuddyPress Forums Extras - View Activity Comments on Forum Posts BuddyPress Forums Extras -
BuddyPress Group Email Subscription BuddyPress Group Email Subscription
BuddyPress Group Forum Extras BuddyPress Group Forum Extras
BuddyPress Mobile
BuddyPress Pending Activations BuddyPress Pending Activations
BuddyPress ScholarPress Courseware
CD BuddyPress Avatar Bubble
jQuery Website Tour for WordPress
Mail From
Maintenance Mode
MediaElement.js - HTML5 Audio and Video Media
One-Click Child Theme
Page Excerpt
s2Member
Version 111105 + s2Member Pro v111105
S3 Media Vault
SurveyGizmo
TinyMCE Advanced
U BuddyPress Forum Attachment
U BuddyPress Forum Editor U
Widget Logic
WP-Mail-SMTP
WP Affiliate Platform
Re: EOT Behavior - populating with wrong date?
Posted:
November 15th, 2011, 4:37 pm
by Jason Caldwell
Thanks for your patience.
~ Investigating this now.
Re: EOT Behavior - populating with wrong date?
Posted:
November 15th, 2011, 10:10 pm
by peeld
Cristián Lávaque wrote:Thanks Daisy.
I see a couple of mail related plugins in your list. Do your members get the confirmation email after checkout?
As far as I know, yes - they don't seem to have any trouble finishing registration.
Just had another person purchase access to two groups, and neither one populated anything in their profile. All the info is in the log files, just never made it to the profile. No EOT, no IP, no ccaps, nothin'. Not sure if it's related or not, you want those logs as well?
Daisy
Re: EOT Behavior - populating with wrong date?
Posted:
November 17th, 2011, 12:49 am
by Cristián Lávaque
Got it. Have you already tried deactivating other plugins one-by-one until the problem goes away? It is very possible that there's a plugin conflict. I'll let Jason say the final word, but nothing stops you from running that simple test and see if you spot a plugin that when deactivate takes the problem with it.
Re: EOT Behavior - populating with wrong date?
Posted:
November 17th, 2011, 1:09 am
by Jason Caldwell
Thanks for your patience.
~ Still investigating this.
Re: EOT Behavior - populating with wrong date?
Posted:
November 17th, 2011, 2:45 pm
by Jason Caldwell
Thanks. From your log files it appears this bug remains from a previous release. However, we did address this in the past, and I thought we had this resolved. So far I've been unable to reproduce it on my end. Can you please send me an email with your entire
paypal-ipn.log file and your
paypal-rtn.log file? I'd like to take a closer look at your logs overall to see how this is coming about on your installation.
Please email me via this private contact form:
http://www.s2member.com/contact/Also, do you have any custom hack files in place for s2Member?
Anything in your
/wp-content/mu-plugins/ directory?
Jason Caldwell wrote:Thank you VERY much for bringing this thread to my attention.
~ and thanks for reporting this important issue.
Yes, this is indeed a bug in PayPal Standard Button integration, as s2Member is defaulting the "period3" value to 1 D in this specific scenario, which is incorrect. I'll post an update once a fix has been applied. I'm moving this bug to the top of our list for the next release; to come in just a few days.
Re: EOT Behavior - populating with wrong date?
Posted:
November 17th, 2011, 3:38 pm
by peeld
I'll email the files. The only file in my mu-plugins directory is one that you directed me to put there to fix the buddypress thing, which btw I am SO ecstatic about!!! Registration is flowing smoothly now
Daisy
Re: EOT Behavior - populating with wrong date?
Posted:
November 18th, 2011, 12:46 am
by Cristián Lávaque
Thanks.
I also got the full log by email. Next time you can just send the related entries, please. It took my machine a little bit to react when I opened the full email, copied and then pasted the 22,400 lines.
Anyway, the EOT is being set to two days after because the payment didn't go through even after the max number of attempts. Look at the log you posted above:
3 => 's2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
5 => 'Awake. It\'s Tue Nov 15, 2011 4:39:01 pm UTC. s2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
6 => 'Auto-EOT Time for this account ( delayed ), set to: Thu Nov 17, 2011 4:39 pm UTC',
I searched your full log for "Auto-EOT Time for this account ( delayed ), set to:" and each time it was after the max failed payment attempts.
I hope that helps.
Re: EOT Behavior - populating with wrong date?
Posted:
November 18th, 2011, 1:10 am
by peeld
Sorry about that. I *am* receiving the payments in to my Paypal account, though, so how is it that it's failing?
Re: EOT Behavior - populating with wrong date?
Posted:
November 20th, 2011, 7:09 pm
by Jason Caldwell
Thank you. I'm investigating this further.
Oh, I see, you pasted in your logs because the form does not allow file attachments.
~ Update. Still investigating this.
Re: EOT Behavior - populating with wrong date?
Posted:
November 21st, 2011, 9:44 pm
by Jason Caldwell
Quick update. The underlying issue here *was* resolved in s2Member v110912.* (s2Member) **PayPal® ( Bug fix )**. s2Member was incorrectly handling delayed EOT Times under a specific scenario, as [reported here](http://www.primothemes.com/forums/viewtopic.php?f=4&t=14876&p=34414#p34414). Corrected in this release.
However, I've just identified a conflict that remains, for some installations of s2Member that *were* running versions of s2Member prior to v110912, specifically where Subscr. Modifications are concerned. I'm taking a look at possible solutions to this now, and I will update this thread once a decision is reached.
Note* This conflict should not affect installations of s2Member that started at v110912 or higher. It only affects installations of s2Member that were updated from a release prior.
Re: EOT Behavior - populating with wrong date?
Posted:
November 21st, 2011, 10:42 pm
by Jason Caldwell
Update. This will be resolved in the next official release of s2Member.Until then, you can patch an existing installation of s2Member v111105, if you wish, by unzipping and uploading the attached files. Allowing them to override your existing copies of:
- Code: Select all
/s2member/includes/classes/paypal-return-in-subscr-modify-w-level.inc.php
/s2member/includes/classes/paypal-return-in-subscr-or-wa-w-level.inc.php
* Note. Please be sure to do a full backup of your files before you apply these patches. It never hurts to have a backup plan when updating your software, and that applies to these patches as well. If you apply these patches, please report back to confirm that the issue has been resolved for you.Thanks for your patience in this matter.
Re: EOT Behavior - populating with wrong date?
Posted:
November 22nd, 2011, 12:42 am
by peeld
I <3 you guys and s2member! Thanks!
Re: EOT Behavior - populating with wrong date?
Posted:
November 22nd, 2011, 2:02 pm
by peeld
I updated as instructed. Going through registrations this morning, one DID populate with a date 6 months in the future, another populated with a date 2 days in the future. These were for two different products, but the s2member paypal shortcode was EXACTLY the same, except one button (the one that had the 2day EOT) is set to level="1" and the one that had the 2 day EOT was set to level="2".
Re: EOT Behavior - populating with wrong date?
Posted:
November 25th, 2011, 6:57 pm
by Cristián Lávaque
Did you check if the one that got the EOT for the 2nd day, made a successful payment? Could you post the log entries for that purchase, please?
Re: EOT Behavior - populating with wrong date?
Posted:
November 26th, 2011, 2:30 am
by peeld
Yes, payment is being received. Here's the paypal-ipn log for an entry that had a 2 day EOT:
- Code: Select all
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105 :: s2Member® Pro v111105
Memory 53.58 MB :: Real Memory 54.75 MB :: Peak Memory 54.01 MB :: Real Peak Memory 54.75 MB
classroom.mydomain.com/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_eot',
'subscr_id' => 'I-CPED4GP4UGXR',
'last_name' => 'Doe',
'option_selection1' => 'classroom.mydomain.com',
'option_selection2' => 'xxx.xx.xxx.xxx',
'residence_country' => 'US',
'item_name' => 'Running Contact II Working / $150USD',
'mc_currency' => 'USD',
'business' => 'mypaypalemail@mydomain.com',
'verify_sign' => 'Ab6exZz49Xt0Q9V1ktOb44B.qWLzA6MkpeaZIsM8t5-8NCpAg1.T7--1',
'payer_status' => 'verified',
'payer_email' => 'selleremail@yahoo.com',
'first_name' => 'Jane',
'receiver_email' => 'mypaypalemail@mydomain.com',
'option_name1' => 'Originating Domain',
'payer_id' => 'RDSYRYCFRMDGQ',
'invoice' => '4ed01d066064e~xxx.xx.xxx.xxx',
'option_name2' => 'Customer IP Address',
'item_number' => '1:runningcontacti_working_winter2011',
'custom' => 'classroom.mydomain.com',
'charset' => 'windows-1252',
'notify_version' => '3.4',
'ipn_track_id' => 'w0D4Bf6o7HV0t46DjqSZeA',
's2member_log' =>
array (
0 => 'IPN received on: Fri Nov 25, 2011 10:57:40 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 ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
5 => 'Awake. It\'s Fri Nov 25, 2011 10:57:45 pm UTC. s2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
6 => 'Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.',
7 => 'Re-generating. This IPN will go into a Transient Queue; and be re-processed during registration.',
),
'subscr_gateway' => 'paypal',
'period1' => '0 D',
'period3' => '1 D',
'ip' => 'xxx.xx.xxx.xxx',
)
And here's the paypal-rtn.log entry:
- Code: Select all
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105 :: s2Member® Pro v111105
Memory 48.73 MB :: Real Memory 49.00 MB :: Peak Memory 48.87 MB :: Real Peak Memory 49.00 MB
classroom.mydomain.com/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOld1UFBtbnpDbFFBWDZ3WE5ucUQ2QnNxRHdqRWNmRzkzfIoFBjuyG5YHbbEFV-YcElif-qyegSKkwUp6LXg6dmK49gnt7dTogLlJHkAHTQ4ySZ2-P5lLsw6zwvVdZMAwyzxmF7YSRfS0bFYvDcqmezhbHb2aGngBInDIRLPmg9fcvhXoC_pfPej9jBXCAeGHVEUBMVb8jN9G-yTAAPZ1vCnewpcbi8an9NmvOEHLjjG2Q1yXahDQEmgDiQmb98zGKs_thfE2UQmeEJjaPgqymPg_HfodWlSI_lNnRiLgPiyuqn1OfoZgrn0go9oF1716BUWtrrUL9QI-sIVnmBzy4-vPhDGP5nDasDJnNyo1PFRv2AAKlaCkpsD5lAwVh70AlcJSOlPKPZ-i2zqnq4KnFPFJ450ldNgj2JqearQifoCx1A&tx=29T05740V9772282H&st=Completed&amt=150.00&cc=USD&cm=classroom%2edaisypeel%2ecom&item_number=&sig=NE26iU09K0f5JFtdFw%2bB%2bH9LPMiRdAfC12IvtUVvAyNZrclUtDJuj8keKC%2fqyvddLT1m78A%2baVa9q6u9p6rp%2fT0d%2fJ%2fWNzyJNnn%2bOHss2ESmbxiMVqq5V9BJj3heNubBZVMbaEvt31QOpQVEa7K%2bd1JBss26rn3VdR98EbzW7iU%3d
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.2; SIMBAR={318869AF-EF05-11E0-B73A-00269EF791F5}; 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 (
'transaction_subject' => 'Running Contact II Working / $150USD',
'payment_date' => '14:57:33 Nov 25, 2011 PST',
'txn_type' => 'subscr_payment',
'subscr_id' => 'I-CPED4GP4UGXR',
'last_name' => 'Doe',
'option_selection1' => 'classroom.mydomain.com',
'option_selection2' => '208.72.144.181',
'residence_country' => 'US',
'item_name' => 'Running Contact II Working / $150USD',
'payment_gross' => '150.00',
'mc_currency' => 'USD',
'business' => 'mypaypalemail@mydomain.com',
'payment_type' => 'instant',
'protection_eligibility' => 'Ineligible',
'payer_status' => 'verified',
'payer_email' => 'selleremail@yahoo.com',
'txn_id' => '29T05740V9772282H',
'receiver_email' => 'mypaypalemail@mydomain.com',
'first_name' => 'Jane',
'option_name1' => 'Originating Domain',
'invoice' => '4ed01d066064e~xxx.xx.xxx.xxx',
'payer_id' => 'RDSYRYCFRMDGQ',
'option_name2' => 'Customer IP Address',
'receiver_id' => 'UGPKDER2TFBM4',
'item_number' => '1:runningcontacti_working_winter2011',
'payment_status' => 'Completed',
'payment_fee' => '4.65',
'mc_fee' => '4.65',
'mc_gross' => '150.00',
'custom' => 'classroom.mydomain.com',
'charset' => 'windows-1252',
's2member_log' =>
array (
0 => 'Return-Data received on: Fri Nov 25, 2011 10:57:50 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/o update vars.',
5 => 'Registration Cookies set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
6 => 'Transient Tracking Cookie set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
7 => 'Redirecting Customer to Registration Page. They need to Register now.',
),
'subscr_gateway' => 'paypal',
'eotper' => NULL,
'ccaps' => 'runningcontacti_working_winter2011',
'level' => '1',
'ip' => 'xxx.xx.xxx.xxx',
'period1' => '0 D',
'mc_amount1' => '0.00',
'period3' => '6 M',
'mc_amount3' => '150',
'recurring' => '0',
'initial_term' => '0 D',
'initial' => '150',
'regular' => '150',
'regular_term' => '6 M',
's2member_paypal_return_tra' => 'fnIyOld1UFBtbnpDbFFBWDZ3WE5ucUQ2QnNxRHdqRWNmRzkzfIoFBjuyG5YHbbEFV-YcElif-qyegSKkwUp6LXg6dmK49gnt7dTogLlJHkAHTQ4ySZ2-P5lLsw6zwvVdZMAwyzxmF7YSRfS0bFYvDcqmezhbHb2aGngBInDIRLPmg9fcvhXoC_pfPej9jBXCAeGHVEUBMVb8jN9G-yTAAPZ1vCnewpcbi8an9NmvOEHLjjG2Q1yXahDQEmgDiQmb98zGKs_thfE2UQmeEJjaPgqymPg_HfodWlSI_lNnRiLgPiyuqn1OfoZgrn0go9oF1716BUWtrrUL9QI-sIVnmBzy4-vPhDGP5nDasDJnNyo1PFRv2AAKlaCkpsD5lAwVh70AlcJSOlPKPZ-i2zqnq4KnFPFJ450ldNgj2JqearQifoCx1A',
)
Re: EOT Behavior - populating with wrong date?
Posted:
November 28th, 2011, 2:00 am
by Cristián Lávaque
3 => 's2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
...
5 => 'Awake. It\'s Fri Nov 25, 2011 10:57:45 pm UTC. s2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
The entry shows the payment didn't happen. Did you actually receive the payment over at PayPal?
Re: EOT Behavior - populating with wrong date?
Posted:
November 28th, 2011, 8:15 am
by opohar
My logs show the same exact thing, however I have always gotten the PAYPAL funds. Never a single rejection never a refund.
To see my logs, look her for a comparison...
viewtopic.php?f=4&t=15894#p52959
Re: EOT Behavior - populating with wrong date?
Posted:
November 28th, 2011, 10:57 pm
by peeld
Yes, I've always gotten the funds.
Re: EOT Behavior - populating with wrong date?
Posted:
November 29th, 2011, 3:16 am
by Cristián Lávaque
Got ya. I'll wait for Jason on this one then.
Re: EOT Behavior - populating with wrong date?
Posted:
December 1st, 2011, 11:41 pm
by Jason Caldwell
Investigating this now.
~ Thanks for your patience.
Re: EOT Behavior - populating with wrong date?
Posted:
December 2nd, 2011, 12:03 am
by Jason Caldwell
An issue has been identified. I'll post another update/patch shortly.
Re: EOT Behavior - populating with wrong date?
Posted:
December 2nd, 2011, 12:16 am
by Jason Caldwell
Update. This will be resolved in the next official release of s2Member.Until then, you can patch an existing installation of s2Member v111105, if you wish, by unzipping and uploading the attached file. Allowing it to override your existing copy of:
- Code: Select all
/s2member/includes/classes/paypal-notify-in-subscr-or-rp-eots-w-level.inc.php
* Note. Please be sure to do a full backup of your files before you apply this patch. It never hurts to have a backup plan when updating your software, and that applies to this patch as well. If you apply this patch, please report back to confirm that the issue has been resolved for you.Thanks for your patience in this matter.