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™

Unable to verify $_POST vars. Error just wont go away...

s2Member Plugin. A Membership plugin for WordPress®.

Unable to verify $_POST vars. Error just wont go away...

Postby microed » February 2nd, 2012, 8:15 am

Hi,

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: Select all
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',
)
User avatar
microed
Registered User
Registered User
 
Posts: 5
Joined: January 23, 2012

Re: Unable to verify $_POST vars. Error just wont go away...

Postby Bruce C » February 2nd, 2012, 1:30 pm

"or a problem with server compatibility."

Do you think it could be a problem with your server hosting provider? What hosting provider are you currently using?
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Unable to verify $_POST vars. Error just wont go away...

Postby microed » February 2nd, 2012, 6:44 pm

Its one of the biggest servers in Aus. I have yet to find something that wont work, or that can't be made to work.

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.
User avatar
microed
Registered User
Registered User
 
Posts: 5
Joined: January 23, 2012

Re: Unable to verify $_POST vars. Error just wont go away...

Postby Bruce C » February 2nd, 2012, 7:04 pm

Well the way that it works is that s2Member takes the variables that PayPal gives it, and sends it back to PayPal to make sure PayPal produced it. So I would try asking the server hosting company if they have anything weird going on with the PHP function fopen() and if they have had problems with PayPal integration in the past, because what s2Member is doing is pretty much standard procedure.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Unable to verify $_POST vars. Error just wont go away...

Postby microed » February 2nd, 2012, 7:17 pm

I have hassled them again, will see what the response is.

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.
User avatar
microed
Registered User
Registered User
 
Posts: 5
Joined: January 23, 2012


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests