Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-09T02:12:36-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16218 2011-12-09T02:12:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56126#p56126 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>

Statistics: Posted by Cristián Lávaque — December 9th, 2011, 2:12 am


]]>
2011-12-07T18:24:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56010#p56010 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]> Statistics: Posted by Bruce C — December 7th, 2011, 6:24 pm


]]>
2011-12-07T18:21:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56009#p56009 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>
I deleted my PayPal API signature and requested a new one. Once I entered the new key into s2Member - voila!!

Thanks Bruce! An thank you s2Member. This is a fantastic plugin!!

Statistics: Posted by holleydc — December 7th, 2011, 6:21 pm


]]>
2011-12-07T18:06:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56006#p56006 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]> http://www.s2member.com/contact/

Statistics: Posted by Bruce C — December 7th, 2011, 6:06 pm


]]>
2011-12-07T18:03:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56004#p56004 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]> Dashboard->s2Member->PayPal® Options

Statistics: Posted by Bruce C — December 7th, 2011, 6:03 pm


]]>
2011-12-07T17:57:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=56002#p56002 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>
However, when I setup the actual PayPal system (to actually run charges) I keep getting the error about being unable to verify $_POST vars.

The Getting Started page has a Buy Now button on it. That is currently the Sandbox API setup if anyone would like to try it.

Anybody have any insight here?

Statistics: Posted by holleydc — December 7th, 2011, 5:57 pm


]]>
2011-12-06T21:19:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=54716#p54716 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>
Also, what version of PHP you have.

Make sure you have cURL installed and enabled also in your php.ini file. Maybe s2Member is having trouble sending and receiving the PayPal response to validate.

Statistics: Posted by Bruce C — December 6th, 2011, 9:19 pm


]]>
2011-12-06T18:40:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=54706#p54706 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>
PayPal and s2Member are have communication issues at this step, and I can't figure out why!

Statistics: Posted by holleydc — December 6th, 2011, 6:40 pm


]]>
2011-12-06T18:27:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=54704#p54704 <![CDATA[Re: Getting "Unable to verify &_POST vars" Error]]>
'pending_reason' => 'echeck'

I think s2Member probably checks for different values ( doesn't accept echecks )

Statistics: Posted by Bruce C — December 6th, 2011, 6:27 pm


]]>
2011-12-06T18:16:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16218&p=54703#p54703 <![CDATA[Getting "Unable to verify &_POST vars" Error]]>
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.
Image

My paypal-ipn.log shows:
Code:
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:
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!!

Statistics: Posted by holleydc — December 6th, 2011, 6:16 pm


]]>