Page 1 of 1

Instant Payment Notifications Warnings

PostPosted: April 23rd, 2011, 3:49 pm
by JasonBoz
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.

Re: Instant Payment Notifications Warnings

PostPosted: April 23rd, 2011, 5:05 pm
by Cristián Lávaque
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).

Re: Instant Payment Notifications Warnings

PostPosted: May 1st, 2011, 9:10 am
by JasonBoz
"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

Re: Instant Payment Notifications Warnings

PostPosted: May 1st, 2011, 6:54 pm
by Cristián Lávaque
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.

Re: Instant Payment Notifications Warnings

PostPosted: May 11th, 2011, 10:50 am
by JasonBoz
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

Re: Instant Payment Notifications Warnings

PostPosted: May 11th, 2011, 11:59 am
by Cristián Lávaque
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