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.

ERROR: Unable to verify $_POST vars.

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

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

Topic Author Topic
Posted: Thursday Oct 11th, 2012 at 6:28 am #28094
Mark G
Username: MarkG333

I’m using the Paypal Sandbox and I got the error below.

The payments have gone into the Paypal test accounts alright, but it’s obviously not redirecting to the site.

I doubt it’s an issue with the php ini file (just how do I check that anyway in cPanel?)

Is there a diagnostic process to go thru to find out what the issue is? The info below tells me what to do, but not how to do it.

Thanks

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.

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Thursday Oct 11th, 2012 at 9:39 am #28128
Eduan
Username: Eduan
Moderator

Hello Mark,

To solve this issue, could you please upload this Server Check script to your root WordPress directory, it was made by Jason to test if your server is OK to run s2Member (and even WordPress).

If it gives you all passed, could you please double-check your custom attribute in your shortcode? Read under Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained) -› custom and make sure it’s correct?

If it doesn’t work after that, could you please paste the shortcode you’re using, an tell us the URL of your website (so that we may compare it ourselves).

Thanks!
Hope this helps. :)

Posted: Thursday Oct 11th, 2012 at 8:31 pm #28180
Mark G
Username: MarkG333

Thanks Ed,

the server settings seem to be ok, see http://hotbuttonmarketing.com.au/s2member-server-check-120703.php

The setup is in a sub domain.

Also, the custom attribute looks ok too

[s2Member-PayPal-Button level="1" ccaps="" desc="Online Marketing Ansers Monthly Membership" ps="paypal" lc="" cc="AUD" dg="0" ns="1" custom="answers.hotbuttonmarketing.com.au" ta="0" tp="0" tt="D" ra="29" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]

I suspect it’s one of the Paypal ID/token numbers but there are that many of them it’s head spinning trying to figure out which one it is.

As I said it all seems to be working at the Paypal end, the test purchases are being recorded in the Sandbox account.

It’s just the return to the site that’s at issue. Time to break out the magnifying glass (sigh)

The url is http://answers.hotbuttonmarketing.com.au/would-you/ Scroll to near the bottom to see the buttons. At the moment it’s set to Paypal Sandbox, so if you want to test feel free.

Thanks again

Posted: Thursday Oct 11th, 2012 at 10:51 pm #28185
Mark G
Username: MarkG333

OK,

seems I had the wrong PDT, not sure how that happened.

Fixed it and it seems to be working.

Now I get the default and ugly Thank You message.

Posted: Friday Oct 12th, 2012 at 12:28 pm #28250
Eduan
Username: Eduan
Moderator

Glad you were able to solve the problem. :)

Viewing 4 replies - 1 through 4 (of 4 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.