Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-02T19:17:42-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17135 2012-02-02T19:17:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17135&p=62205#p62205 <![CDATA[Re: Unable to verify $_POST vars. Error just wont go away...]]>
I understand what is happening, but am at a loss with what else I can do to help the issue. I have asked them if there is something up with cUrl or fopen, and that the test mentions open_basedir?? which may or may not be causing problems.

Statistics: Posted by microed — February 2nd, 2012, 7:17 pm


]]>
2012-02-02T19:04:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17135&p=62203#p62203 <![CDATA[Re: Unable to verify $_POST vars. Error just wont go away...]]> Statistics: Posted by Bruce C — February 2nd, 2012, 7:04 pm


]]>
2012-02-02T18:44:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17135&p=62195#p62195 <![CDATA[Re: Unable to verify $_POST vars. Error just wont go away...]]>
Its on ilisys reseller hosting http://www.ilisys.com.au/. I can try for more help from the support team, they have been trying but are unsure what the cause is, and wont waste time on it because its a plugin.

Statistics: Posted by microed — February 2nd, 2012, 6:44 pm


]]>
2012-02-02T13:30:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17135&p=62156#p62156 <![CDATA[Re: Unable to verify $_POST vars. Error just wont go away...]]>
Do you think it could be a problem with your server hosting provider? What hosting provider are you currently using?

Statistics: Posted by Bruce C — February 2nd, 2012, 1:30 pm


]]>
2012-02-02T08:15:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17135&p=62144#p62144 <![CDATA[Unable to verify $_POST vars. Error just wont go away...]]>
I posted a thread a couple weeks ago with a little confusion in regard to this error, but the thread title is incorrect/misleading (I thought it was SSL related) so I figured I would make a new one that might help some people looking into this error.

The problem is that this error just wont go away, and I feel like I have tried everything I can to fix it. I will list what I have done. We are just using regular PayPal buttons.

- Enabled logging so I can see what is happening, it happens for every transaction.
- cUrl isn't available so it falls back to fopen, which is available.
- I force www. on the domain with mod_rewrite
- I also use 'php_value allow_url_fopen On' in the .htaccess
- I have re-entered the PDT token from PayPal...
- Asked the server about the error, and they are hesitant to help because its a WP Plugin.

I really don't know what else to do, should I request to see if I can get cUrl enabled on the server? I don't want to cause anymore issues, but I think that is all I am left to try. I find it odd though that it wont work if fopen is apparently working, leads me to believe something else is the cause.

Here is an example of the log.

Code:
PHP v5.2.17-pl0-gentoo :: WordPress® v3.3 :: s2Member® v111220
Memory 22.54 MB :: Real Memory 22.75 MB :: Peak Memory 22.69 MB :: Real Peak Memory 22.75 MB
www.domain.com/?s2member_paypal_return=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=x-preview
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:12.0a1) Gecko/20120123 Firefox/12.0a1
array (
  'subscr_gateway' => 'paypal',
  's2member_log' =>
  array (
    0 => 'Test preview of Return Page `proxy_use`: ( `x_preview` ).',
    1 => 'Redirecting Customer to the Home Page. Test preview of Return Page `proxy_use`: ( `x_preview` ).',
  ),
  's2member_paypal_proxy' => 'paypal',
  's2member_paypal_proxy_use' => 'x-preview',
)

PHP v5.2.17-pl0-gentoo :: WordPress® v3.3 :: s2Member® v111220
Memory 22.28 MB :: Real Memory 22.50 MB :: Peak Memory 22.41 MB :: Real Peak Memory 22.50 MB
www.domain.com/?s2member_paypal_return=1&s2member_paypal_return_tra=ENCODED&tx=ENCODED&st=Completed&amt=3.00&cc=AUD&cm=www%2edomain%2ecom&item_number=&sig=ENCODED%3d
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; AskTbORJ/5.14.1.20007)
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\',
  \'tx\' => \'ENCODED\',
  \'st\' => \'Completed\',
  \'amt\' => \'3.00\',
  \'cc\' => \'AUD\',
  \'cm\' => \'www.domain.com\',
  \'item_number\' => \'\',
  \'sig\' => \'ENCODED\',
)',
    5 => 'Redirecting Customer to the Home Page, due to an error that occurred.',
  ),
  's2member_paypal_return_tra' => 'ENCODED',
)

Statistics: Posted by microed — February 2nd, 2012, 8:15 am


]]>