latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

HI, ERROR: Unable to verify $_POST vars.

Home Forums Community Forum HI, ERROR: Unable to verify $_POST vars.

This topic contains 5 replies, has 2 voices. Last updated by  Eduan 4 years, 4 months ago.

Topic Author Topic
Posted: Thursday Aug 23rd, 2012 at 7:21 am #22835

hello all,
sorry for my English.
I hope some of you can help me to solve this problem that I have found reported in this forum.
I installed S2memebers in the free version.
I created my page with the button paypal and when I click on sends me to the paypal site and up here all right.
I make the payment and all was fine.
But I redirect to a page that tells me the error.

ERROR: Unable to verify $_POST vars.
Please contact Support for assistance.

This is most likely related to an invalid configuration of s2Member, or a problem with server compatibility. If you are the site owner, and 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.

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.

Please see this thread for details regarding the ideal server configuration for s2Member.

I do not have a lot of experience when 2smembers and php.
If you can kindly help me solve this problem.
thank you very much.
Alessandro
ps: in the folder s2mebers log files do not have any to post.

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Thursday Aug 23rd, 2012 at 9:42 am #22860
Eduan
Username: Eduan
Moderator

Hello Alessandro,

There are a couple of things that I remember that cause this error.

1. Your button has an invalid custom=”” value, make sure it has the correct URL of your website (without http://, only http://www.yourwebsite.com).

2. Your website does not follow the following instructions:
Knowledge Base » Don't mix www and without

Hope this helps. :)

Posted: Thursday Aug 23rd, 2012 at 5:33 pm #22911

thanks for your response and your help
I checked what you told me and the key generated is this:

[s2Member-PayPal-Button level = "1" ccaps = "" desc = "Bronze Member / description and pricing details here." ps = "paypal" lc = "" cc = "USD" dg = "0" ns = "1" custom = "www.corsidigrafica.info" ta = "0.01" tp = "1" tt = "Y" ra = "0.01" rp = "1" rt = "Y" rr = "1" rrt = "" rra = "1" image = "default" output = "button" /]

I go well what do you think?

while Knowledge Base »Do not mix www and without
my domain works with both www and without.
Using chrome as browser

I also checked inside the folder s2member-logs and brings me a. htacess marked “deny from all” but I do not understand what that means.

I also tried to uninstall the plugin and install it again since I had done locally then moved remotely.

I am working in maintenance mode, could this be the problem?

thanks again
Alessandro

Posted: Thursday Aug 23rd, 2012 at 9:23 pm #22915
Eduan
Username: Eduan
Moderator

Hello Alessandro,

So if I understood correctly, if you try to access your website without the www. you go to the www. version correct? And if you try to access the www. version you get the same right? If not, then you haven’t applied what’s on the article, or you didn’t do it correctly.

The maintenance mode shouldn’t be the problem.

Do you have logging enabled? Check under Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging, if it isn’t active, then please activate it. Also, this reminds me, are you in a PayPal sandbox account?

Also, try the button without all the spaces in between:

[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.corsidigrafica.info" ta="01" tp="1" tt="Y" ra="0.01" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]

Hope this helps. :)

Posted: Friday Aug 24th, 2012 at 4:37 pm #22998

Hello Eduan,
thank you very much for your tips, I’m grateful.
In the end I tried to exit the maintenance mode and it worked.
I’m not so sure, I’ll do other tests to see if that is really the problem.
Thank you so much for your help.
We hope that all is well!
Hello
Alessandro

Posted: Friday Aug 24th, 2012 at 5:21 pm #23001
Eduan
Username: Eduan
Moderator

That’s strange, what plugin are you using for maintenance mode?

Anyway, glad you found the source of the problem. :)

Viewing 5 replies - 1 through 5 (of 5 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.