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™

Properly ignoring the IPN request.

s2Member Plugin. A Membership plugin for WordPress®.

Properly ignoring the IPN request.

Postby Luce Chandon » May 11th, 2010, 1:33 am

Hi,

I seem to be getting an message in my IPN logs stating "Properly ignoring the IPN request. The txn_type does not require any action on the part of s2Member."

It's happening for both txn_types being sent (subscr_signup & subscr_payment).

Any idea what could be causing this? Perhaps a misconfiguration on my part?

Cheers

Luce
Luce Chandon
Guest User
Guest User
 

Re: Properly ignoring the IPN request.

Postby Jason Caldwell » May 13th, 2010, 1:03 am

Hi Luce. Please Register for the forum, then you can attach a file. I need to see the full IPN log that s2Member has for your site. s2Member should NOT be ignoring subscr_signup or subscr_payment.
~ 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: Properly ignoring the IPN request.

Postby lchandon » May 13th, 2010, 6:49 pm

Thanks for your response Jason.

I've included an example of an entry in the logfile for a failed transaction below. (I've substituted private information with ???.)

I really appreciate you looking at the.

Cheers

Luce

------
array (
'payer_id' => '???',
'btn_id' => '15290779',
'charset' => 'windows-1252',
'payment_gross' => '',
'verify_sign' => 'A2S1fniRGsoquzRDbs4f5rc383f8Aw0sd3M643uP0PIKh7LG3toJoFn7',
'item_name' => 'Retweets.it+Silver',
'txn_type' => 'subscr_payment',
'receiver_id' => '???',
'payment_fee' => '',
'mc_currency' => 'AUD',
'transaction_subject' => '',
'custom' => 'retweets.it',
'protection_eligibility' => 'Ineligible',
'payer_status' => 'verified',
'first_name' => 'Leela',
'subscr_id' => 'I-0H14GGFG????',
'mc_gross' => '40.00',
'payment_date' => '22%3A43%3A39+May+10%2C+2010+PDT',
'payment_status' => 'Completed',
'business' => 'email%40address.com.au',
'item_number' => 'beta',
'last_name' => '???',
'payer_business_name' => "Leela+???',
'txn_id' => '???',
'mc_fee' => '1.26',
'resend' => 'true',
'payment_type' => 'instant',
'notify_version' => '2.9',
'payer_email' => 'valid email address',
'receiver_email' => 'value email address',
'residence_country' => 'AU',
's2member_log' =>
array (
0 => 's2Member POST vars verified through a POST back to PayPal®.',
1 => 's2Member originating domain ( _SERVER[HTTP_HOST] ) validated.',
2 => 'Properly ignoring this IPN request. The txn_type does not require any action on the part of s2Member.',
),
)
User avatar
lchandon
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2010

Re: Properly ignoring the IPN request.

Postby lchandon » May 17th, 2010, 10:29 pm

Hi Jason,

Is there anything you've been able to discover about my problem with the IPN program ignoring IPNs?

Regards

Luce
User avatar
lchandon
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2010

Re: Properly ignoring the IPN request.

Postby Jason Caldwell » May 19th, 2010, 4:23 am

Hi Luce. In versions of s2Member, prior to v3.0, "subscr_payment" was not used by s2Member. In other words, the IPN request you posted (was) being properly ignored. So that was not an error.

All of that being said, s2Member has been further developed since then. Please upgrade to s2Member v3.0+. In s2Member v3.0+, "subscr_payment" responses ARE recorded.
~ 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: Properly ignoring the IPN request.

Postby Wolfgang Mueller » May 20th, 2010, 12:56 pm

Hi Jason,

I have 3.0 installed, but the same problem (still testing in PayPal Sandbox).
But in both logs you can read: 'notify_version' => '2.9',

Look at the picture. This is what I've got when PayPal automatically returns to merchant.

Any Idea?
Wolfgang
Attachments
paypalerror.jpg
txn_type error
paypalerror.jpg (23.87 KiB) Viewed 441 times
User avatar
Wolfgang Mueller
Registered User
Registered User
 
Posts: 3
Joined: May 18, 2010

Re: Properly ignoring the IPN request.

Postby lchandon » June 18th, 2010, 1:45 am

Thanks Wolfgang. I thought I was going mad. I upgraded to v3 and still getting the same problem.

Jason, I'm looking into this now that I have some time but at this stage it doesn't even look like its getting into the section that starts with "else if (preg_match ("/^(web_accept|subscr_signup)".

Back soon...

Luce
User avatar
lchandon
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2010

Re: Properly ignoring the IPN request.

Postby lchandon » June 18th, 2010, 3:23 am

I think I've found my problem.

On line 144 of paypal-notify-inc.php there is a second preg_match() that tests the value of $paypal["item_number"]. This is failing.

My value for $paypal["item_number"] was "beta".

It seems that the correct value for $paypal["item_number"] needs to be prefixed with a numeral (between 1 & 4) and optionally followed by a separator (:) and anything else.

For anyone else reading this, if you generate buttons directly within Paypal, you'll want to make sure you prefix the item_number with the desired membership level.

Cheers

Luce
User avatar
lchandon
Registered User
Registered User
 
Posts: 4
Joined: May 13, 2010

Re: Properly ignoring the IPN request.

Postby Jason Caldwell » June 19th, 2010, 1:38 pm

Thanks Luce.
Sorry for the delayed response.

This HAS been fixed in s2Member v3.0.5+
Thanks for reporting this, and troubleshooting!!
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron