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™

Instant Payment Notifications Warnings

s2Member Plugin. A Membership plugin for WordPress®.

Instant Payment Notifications Warnings

Postby JasonBoz » April 23rd, 2011, 3:49 pm

I continually receive error messages from PayPal each time a customer purchases via my website stating that the IPN is failing to my s2member url. I've consulted with my web developer who "turns it back on" each time yet I continue to experience the same difficulties.

Please advise.
User avatar
JasonBoz
Registered User
Registered User
 
Posts: 3
Joined: April 23, 2011

Re: Instant Payment Notifications Warnings

Postby Cristián Lávaque » April 23rd, 2011, 5:05 pm

Hi Jason. :)

Could you please quote the error you get? Also, if you could share examples from your IPN logs (x'ing out any private data).
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: Instant Payment Notifications Warnings

Postby JasonBoz » May 1st, 2011, 9:10 am

"Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://xxxxxx.com/?s2member_paypal_notify=1

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account."

I'm not sure exactly what my IPN logs would be...

THanks
User avatar
JasonBoz
Registered User
Registered User
 
Posts: 3
Joined: April 23, 2011

Re: Instant Payment Notifications Warnings

Postby Cristián Lávaque » May 1st, 2011, 6:54 pm

The IPN logs are ones s2Member keeps of PayPal's instant payment notification when you have enabled them.

You enable IPN logging from WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines. You'll find the log here /wp-content/plugins/s2member-logs/.

Please post here the log entry corresponding to one of the transactions that gave you that error. Also, please, post the shortcode of your PayPal button.
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: Instant Payment Notifications Warnings

Postby JasonBoz » May 11th, 2011, 10:50 am

LOG ENTRY:

Code: Select all
thefitrx.com/?s2member_paypal_notify=1
array (
  's2member_log' =>
  array (
    0 => 'Unable to verify POST vars. Possibly caused by a fraudulent request. If this error continues, please run IPN tests against your server from a PayPal® Sandbox account. They provide special diagnostic tools to assist you.',
    1 => 'If you\'re absolutely SURE that your PayPal® configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to PayPal® over an HTTPS connection.',
    2 => 's2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.',
    3 => 'array (
  \'s2member_paypal_notify\' => \'1\',
)',
  ),
)



And here's the shortcode:

[s2Member-PayPal-Button level="1" ccaps="" desc="Premier" ps="paypal" cc="USD" ns="1" custom="thefitrx.com" ta="0" tp="0" tt="D" ra="29.00" rp="1" rt="M" rr="1" image="http://thefitrx.com/wp-content/uploads/2010/11/btn-paypal.png" /]


Another question - do we need to have an SSL cert for the IPN to work?

Thanks
Last edited by Cristián Lávaque on May 11th, 2011, 11:55 am, edited 1 time in total.
Reason: Improve code readability. http://www.primothemes.com/forums/viewtopic.php?f=36&t=2780
User avatar
JasonBoz
Registered User
Registered User
 
Posts: 3
Joined: April 23, 2011

Re: Instant Payment Notifications Warnings

Postby Cristián Lávaque » May 11th, 2011, 11:59 am

Thanks Jason.

Well, the error gives you some instructions to follow to help debug this.

Could you please read this thread and check that your server meets the requirements? viewtopic.php?f=36&t=2636
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


Return to s2Member Plugin

Who is online

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

cron