Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-07T15:51:41-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1067 2011-03-07T15:51:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7487#p7487 <![CDATA[Re: Unable to verify POST vars?]]>
thank you.

want to see if it resolves my unable to verify post vars that i am also having now..

Statistics: Posted by trc4949 — March 7th, 2011, 3:51 pm


]]>
2011-03-06T15:08:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7453#p7453 <![CDATA[Re: Unable to verify POST vars?]]> On this same topic, regarding no $_GET["tx"] but the existence of $_POST['CONTEXT']

else if ((!isset ($_GET["tx"]) && (empty ($_POST) || $_POST["auth"] || $_POST['CONTEXT'])) || preg_match ("/ty-email/", $_GET["s2member_paypal_proxy_use"]))

We have this corrected in the development version, soon to be released in s2Member v3.5.3. Thanks for everyone's assistance on this topic. This line should actually just be:
Code:
else if (!isset ($_GET["tx"])) 

Here is what is taking place in the bug fix.
(s2Member). Bug fix. s2Member's Auto-Return/PDT handler was sometimes triggering the error `unable to verify POST vars` under special circumstances that are applicable with PayPal's Enchanced Recurring Billing service, and sometimes with Subscriptions that are paid for by credit card, instead of through a PayPal account; again related to PayPal's ERP add-on service. This has been resolved in s2Member v3.5.3+. In some special cases, PayPal® does not provide any data through PDT ( Payment Data Transfer ) and so s2Member must recover gracefully by asking the Customer to check their email. This does not affect s2Member's ability to process a Customer's transaction, but it does require s2Member's processing to take place entirely behind-the-scene via the IPN service, instead of immediately after checkout ( in a very few special cases ). This bug fix may or may not affect you, depending on what you're selling, and depending on whether you're using PayPal's ERP service or not.

Statistics: Posted by Jason Caldwell — March 6th, 2011, 3:08 pm


]]>
2011-03-04T10:30:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7396#p7396 <![CDATA[Re: Unable to verify POST vars?]]>

Jason,

I asked hosting support for help disabling curl to go with fopen, this is what they reply back with:

"Please be aware that the curl.dll extension listed in your accounts php.ini account is specific to a Windows hosting environment. Curl is enabled on our shared servers by default and unfortunately, it cannot be disabled. We apologize for any inconvenience this has caused. Let us know if you have further questions or concerns and we will be happy to assist you. "

Am I screwed?


No, as long as your hosting provider also supports `allow_url_fopen = on`, which most do, you can simply add this file to your WP installation.

Create the /mu-plugins/ directory here:
/wp-content/mu-plugins/disable-curl.php

Inside disable-curl.php, add this code:
<?php
add_filter ("use_curl_transport", "__return_false");
?>

Statistics: Posted by webnola — March 4th, 2011, 10:30 am


]]>
2011-03-01T16:13:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7275#p7275 <![CDATA[Re: Unable to verify POST vars?]]>
kittykatmeowmeow wrote:
Generate a paypal button through Paypal! Don't use the s2member button generator. That is how I fixed the Unable to verify POST vars error message.


Can you be more specific on how to do this through paypal? Also, have you tried canceling the account and making sure the accounts get degraded/deleted as expected?

Statistics: Posted by webnola — March 1st, 2011, 4:13 pm


]]>
2011-03-01T15:53:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7272#p7272 <![CDATA[Re: Unable to verify POST vars?]]> Statistics: Posted by kittykatmeowmeow — March 1st, 2011, 3:53 pm


]]>
2011-02-25T07:44:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7132#p7132 <![CDATA[Re: Unable to verify POST vars?]]>
I'm receiving this message "Unable to verify POST vars"
This is most likely related to an invalid ClickBank® configuration. If you are the site owner, please check: s2Member -> ClickBank® Options.

I followed all the instructions and I got this error. I want to use CLICKBANK, what shall I do?

Thanks for your help

Statistics: Posted by aaboukaram — February 25th, 2011, 7:44 am


]]>
2011-02-22T04:09:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=7016#p7016 <![CDATA[Re: Unable to verify POST vars?]]> I´ve changed my host, cause there was no solution!

Thanx for your help :)

right now there is another problem :( and I will create a new thread...

Statistics: Posted by benchefe — February 22nd, 2011, 4:09 am


]]>
2011-02-14T06:01:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6700#p6700 <![CDATA[Re: Unable to verify POST vars?]]> A friend of mine tried to pay and got the "unable to verify POST vars" :(
Any ideas?

Logfile:


mydomain-online.com/?s2member_paypal_return=1
array (
's2member_log' =>
array (
0 => 'No Return-Data from PayPal®. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page.',
),
)

mydomain-online.com/?s2member_paypal_return=1&tx=4R637314PM794372R&st=Completed&amt=0.01&cc=EUR&cm=mydomain%2donline%2ecom&item_number=1::1%20D
array (
's2member_log' =>
array (
0 => 'Unable to verify POST vars. This is most likely related to an invalid PayPal® configuration. Please check: s2Member -> PayPal® Options.',
1 => 'If you\'re absolutely SURE that your PayPal® 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 to PayPal® 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. 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 => 'array (
\'s2member_paypal_return\' => \'1\',
\'tx\' => \'4R637314PM794372R\',
\'st\' => \'Completed\',
\'amt\' => \'0.01\',
\'cc\' => \'EUR\',
\'cm\' => \'mydomain-online.com\',
\'item_number\' => \'1::1 D\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

Statistics: Posted by benchefe — February 14th, 2011, 6:01 am


]]>
2011-02-14T04:55:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6697#p6697 <![CDATA[Re: Unable to verify POST vars?]]> right now I am waiting for a friend trying to buy without sandbox mode.... hoping this will work :)

Statistics: Posted by benchefe — February 14th, 2011, 4:55 am


]]>
2011-02-14T03:46:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6696#p6696 <![CDATA[Re: Unable to verify POST vars?]]> My host does not allow to disable cURL :(
Looks like there is no way for me, to setup s2member correctly.
I would change my host if I could, but right now it is not possible :cry:

Statistics: Posted by benchefe — February 14th, 2011, 3:46 am


]]>
2011-02-11T11:28:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6617#p6617 <![CDATA[Re: Unable to verify POST vars?]]>
mweichert wrote:
One thing I've learnt is that PayPal does not send back PDT vars (such as txn_id) when the user makes a purchase by credit card (if the PayPal Account Optional route is taken) rather than by paying by credit card.

As s2member doesn't account for this, the error message "Unable to verify POST vars" is displayed, which shouldn't be in this case. PayPal still sends IPN notifications, so it's not so much an issue that PDT is unavailable at this point, but it's a significant problem that users are being warned about POST vars being unverified.


mweichert wrote:
Btw, this can be fixed by changing line 384 in includes/separates/paypal-return.php:

From:
Code:
else if ((!isset ($_GET["tx"]) && (empty ($_POST) || $_POST["auth"])) || preg_match ("/ty-email/", $_GET["s2member_paypal_proxy_use"]))


To:
Code:
else if ((!isset ($_GET["tx"]) && (empty ($_POST) || $_POST["auth"] || $_POST['CONTEXT'])) || preg_match ("/ty-email/", $_GET["s2member_paypal_proxy_use"]))


Thanks,
Mike

Statistics: Posted by webnola — February 11th, 2011, 11:28 am


]]>
2011-02-11T11:03:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6613#p6613 <![CDATA[Re: Unable to verify POST vars?]]>
From:
Code:
else if ((!isset ($_GET["tx"]) && (empty ($_POST) || $_POST["auth"])) || preg_match ("/ty-email/", $_GET["s2member_paypal_proxy_use"]))


To:
Code:
else if ((!isset ($_GET["tx"]) && (empty ($_POST) || $_POST["auth"] || $_POST['CONTEXT'])) || preg_match ("/ty-email/", $_GET["s2member_paypal_proxy_use"]))


Thanks,
Mike

Statistics: Posted by mweichert — February 11th, 2011, 11:03 am


]]>
2011-02-11T10:16:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6610#p6610 <![CDATA[Re: Unable to verify POST vars?]]>
As s2member doesn't account for this, the error message "Unable to verify POST vars" is displayed, which shouldn't be in this case. PayPal still sends IPN notifications, so it's not so much an issue that PDT is unavailable at this point, but it's a significant problem that users are being warned about POST vars being unverified.

Jason, we need to get this one fixed ASAP.

Cheers,
Mike

Statistics: Posted by mweichert — February 11th, 2011, 10:16 am


]]>
2011-02-11T10:01:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6609#p6609 <![CDATA[Re: Unable to verify POST vars?]]> Statistics: Posted by webnola — February 11th, 2011, 10:01 am


]]>
2011-02-11T05:19:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6606#p6606 <![CDATA[Re: Unable to verify POST vars?]]>
right now, s2member is not working for me, cause the return after purchasing via Sandbox PayPal fails (Unable to verify POST vars. This is most likely related to an invalid PayPal® configuration).

My PayPal Options are the right ones, I`ve checked it almost a thousand times.

I`ve tested a few things:

check-my-server.php : works fine!
curl-test-http-google.php: blank page
curl-test-https-paypal.php: blank page
fopen-test-https-paypal.php: works fine!

looks like my host uses a windows server, right? So the Curl should be disabled to use fopen! I´ve already sent a massage to my host, still waiting for an answer.

I like your s2member plugin! This one is exactly what I was looking for! So I hope my Host can help to make these changes...

otherwise I will be back ;)

Statistics: Posted by benchefe — February 11th, 2011, 5:19 am


]]>
2011-02-07T16:34:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6477#p6477 <![CDATA[Re: Unable to verify POST vars?]]> Statistics: Posted by nhsatomom — February 7th, 2011, 4:34 pm


]]>
2011-02-07T16:23:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6476#p6476 <![CDATA[Re: Unable to verify POST vars?]]>
Sorry to be blunt but it looks like you've got a decision to make, and I doubt there's anything else official support will tell you besides that.

Statistics: Posted by webnola — February 7th, 2011, 4:23 pm


]]>
2011-02-07T16:09:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6475#p6475 <![CDATA[Re: Unable to verify POST vars?]]>
I haven't tried disabling curl because I don't know what it does and assume it has some purpose beyond getting in the way of s2Member.

Statistics: Posted by nhsatomom — February 7th, 2011, 4:09 pm


]]>
2011-02-07T16:03:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6474#p6474 <![CDATA[Re: Unable to verify POST vars?]]>
Have you tried disabling curl?

Statistics: Posted by webnola — February 7th, 2011, 4:03 pm


]]>
2011-02-07T15:24:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6473#p6473 <![CDATA[Re: Unable to verify POST vars?]]> Statistics: Posted by nhsatomom — February 7th, 2011, 3:24 pm


]]>
2011-02-07T15:20:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6472#p6472 <![CDATA[Re: Unable to verify POST vars?]]>
Before you switch hosts, request that curl be disabled. If curl is disabled, s2member will use fopen. If they refuse to disable curl or simply cannot, use a new host.

Statistics: Posted by webnola — February 7th, 2011, 3:20 pm


]]>
2011-02-07T13:15:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6464#p6464 <![CDATA[Re: Unable to verify POST vars?]]> viewtopic.php?f=4&t=599&p=3060&hilit=fopen+test#p2625 and the google one failed but the other two were fine.

Am running 3.3.2, have double-checked all the paypal settings. Unlike @fitch, the emails are all working properly, but I'm getting that error code and the member, while added, isn't added into the proper subscription.

Statistics: Posted by nhsatomom — February 7th, 2011, 1:15 pm


]]>
2011-02-07T11:50:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6460#p6460 <![CDATA[Re: Unable to verify POST vars?]]> Statistics: Posted by webnola — February 7th, 2011, 11:50 am


]]>
2011-02-06T00:32:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6411#p6411 <![CDATA[Re: Unable to verify POST vars?]]>
I'm able to complete a PayPal transaction. I get to the page where it says the Paypal transaction is complete and it will redirect me in 5 seconds then I get the popup message with:

ERROR: Unable to verify POST vars. Please contact Support for assistance.
This is most likely related to an invalid PayPal configuration. If you are the site owner, please check: s2Member -> PayPal Options

I double-checked and triple-checked my Account settings.
I checked IPN, Auto-Return, PDT and they seems to be all fine.

One thing that might stand out is that my user is not getting an email. The seller is getting an email.
I did not change the Confirmation Email or Specific Post/Page email (since it says it would work).

When I click OK on the error, it takes me to the Login page prompting for username/password. I was expecting the registration link to be available for the Subscription Level 1 that was purchased, but it's not there - just Lost Password link.

I saw some other posts for previous versions. My hosting company placed this in my php.ini file: allow_url_fopen = On - but still having the same issue. They refuse to help me at this point and told me to contact the plugin developer.

Hope someone can help!

Thanks!

Statistics: Posted by fitch — February 6th, 2011, 12:32 am


]]>
2011-02-05T11:47:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1067&p=6385#p6385 <![CDATA[Re: Unable to verify POST vars?]]> I use s2member but I costumers get this error: Unable to verify POST vars when they buy something through paypal which does not have anything to do with s2member. I mean to say: I also sell subscriptions, which go through s2member, but this particular purchase had nothing to do with s2member. Am I missing something?
And, I still have not been able to get s2member to work properly: Users still are not automatically upgraded when they pay :( Can anybody direct me to a solution?

Statistics: Posted by yolle555 — February 5th, 2011, 11:47 am


]]>