Getting "Unable to verify &_POST vars" Error
Posted: December 6th, 2011, 6:16 pm
Hello! I have installed s2Member v111105 in WordPress v3.2.1. My host is Hostgator (running openSSL and PHP v5.2.17). I am using OptimizePress v1.45 theme. I do have a private SSL certificate installed on the domain, with forced SSL on several pages (but NONE of those pages are involved in this PayPal process).
My domain is: http://myhealthbydesign.com. The "Member Options" page is named "Getting Started" only site. The PayPal button on that page sells a $0.01 sale for testing purposes (sandbox NOT enabled).
All settings in s2Member (including PayPal Options) and in PayPal have been followed exactly as outlined in the instructions and videos (including one OptimizePress video about incorporating s2Member into it).
Everything works fine through the PayPal payment process up to the point where PayPal redirects back to my website (I am using the correct return url as outlined in s2Member). All steps are processed (including payment and emails sent). But the redirect page ends up as an error message.
My paypal-ipn.log shows:
My paypal-rtn.log shows:
I have searched this forum and watched too many videos. A few posts refer to this error, but I haven't seen anything that fixes it for me. I did run the curl and open tests outlined in another post. Everything returned fine with those.
What am I missing? Any help would be appreciated!!
My domain is: http://myhealthbydesign.com. The "Member Options" page is named "Getting Started" only site. The PayPal button on that page sells a $0.01 sale for testing purposes (sandbox NOT enabled).
All settings in s2Member (including PayPal Options) and in PayPal have been followed exactly as outlined in the instructions and videos (including one OptimizePress video about incorporating s2Member into it).
Everything works fine through the PayPal payment process up to the point where PayPal redirects back to my website (I am using the correct return url as outlined in s2Member). All steps are processed (including payment and emails sent). But the redirect page ends up as an error message.
My paypal-ipn.log shows:
- Code: Select all
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105
Memory 18.41 MB :: Real Memory 19.50 MB :: Peak Memory 19.14 MB :: Real Peak Memory 19.50 MB
myhealthbydesign.com/?s2member_paypal_notify=1
User-Agent:
array (
'mc_gross' => '0.01',
'invoice' => '**valid invoice number**',
'protection_eligibility' => 'Ineligible',
'payer_id' => '**encoded payer id**',
'tax' => '0.00',
'payment_date' => '14:38:56 Dec 06, 2011 PST',
'payment_status' => 'Pending',
'charset' => 'windows-1252',
'first_name' => 'xxxx',
'option_selection1' => '1',
'option_selection2' => 'xx.xx.xx.xx',
'notify_version' => '3.4',
'custom' => 'myhealthbydesign.com',
'payer_status' => 'verified',
'business' => 'drholley@yorkvillewellness.net',
'quantity' => '1',
'verify_sign' => '**encoded string**',
'payer_email' => '**buyer email**',
'option_name1' => 'Referencing Customer ID',
'option_name2' => 'Customer IP Address',
'txn_id' => '7T3642741W7368742',
'payment_type' => 'echeck',
'payer_business_name' => 'xxxx',
'last_name' => 'xxxx',
'receiver_email' => 'drholley@yorkvillewellness.net',
'receiver_id' => '**encoded string**',
'pending_reason' => 'echeck',
'txn_type' => 'web_accept',
'item_name' => 'Bronze Member / test sale.',
'mc_currency' => 'USD',
'item_number' => '1',
'residence_country' => 'US',
'handling_amount' => '0.00',
'transaction_subject' => 'myhealthbydesign.com',
'payment_gross' => '0.01',
'shipping' => '0.00',
'ipn_track_id' => 'SqNWsQ1yyhj1wOmPT-76gA',
's2member_log' =>
array (
0 => 'IPN received on: Tue Dec 6, 2011 10:39:00 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_gateway' => 'paypal',
'subscr_id' => '**encoded string**',
'eotper' => NULL,
'ccaps' => NULL,
'level' => '1',
'ip' => 'xx.xx.xx.xx',
'period1' => '0 D',
'mc_amount1' => '0.00',
'period3' => '1 L',
'mc_amount3' => '0.01',
'initial_term' => '0 D',
'initial' => '0.01',
'regular' => '0.01',
'regular_term' => '1 L',
'recurring' => '0',
)
My paypal-rtn.log shows:
- Code: Select all
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105
Memory 15.60 MB :: Real Memory 15.75 MB :: Peak Memory 15.69 MB :: Real Peak Memory 15.75 MB
myhealthbydesign.com/?s2member_paypal_return=1&s2member_paypal_return_tra=**encoded string**&st=Pending&amt=0.01&cc=USD&cm=myhealthbydesign%2ecom&item_number=1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
array (
's2member_log' =>
array (
0 => 'Unable to verify $_POST vars. This is most likely related to an invalid configuration of s2Member, or a problem with server compatibility.',
1 => 'If you\'re absolutely SURE that your 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/communicate with your Payment Gateway 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; and 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 => 'Please see this thread: `http://www.primothemes.com/forums/viewtopic.php?f=36&t=2636` for details regarding the ideal server configuration for s2Member.',
4 => 'array (
\'s2member_paypal_return\' => \'1\',
\'s2member_paypal_return_tra\' => \'**encoded string**\',
\'tx\' => \'7T3642741W7368742\',
\'st\' => \'Pending\',
\'amt\' => \'0.01\',
\'cc\' => \'USD\',
\'cm\' => \'myhealthbydesign.com\',
\'item_number\' => \'1\',
)',
5 => 'Redirecting Customer to the Home Page, due to an error that occurred.',
),
's2member_paypal_return_tra' => '**encoded string**',
)
I have searched this forum and watched too many videos. A few posts refer to this error, but I haven't seen anything that fixes it for me. I did run the curl and open tests outlined in another post. Everything returned fine with those.
What am I missing? Any help would be appreciated!!