Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-07T13:02:23-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6321 2011-05-07T13:02:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14357#p14357 <![CDATA[Re: User being registered as free subscriber after payment]]>

Yeah, good idea on starting a new thread for that.

Statistics: Posted by Cristián Lávaque — May 7th, 2011, 1:02 pm


]]>
2011-05-07T05:08:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14339#p14339 <![CDATA[Re: User being registered as free subscriber after payment]]> Unfortunately, I have no idea about how to run these tests. But I figured it out that my test server does not connect to paypal over HTTPS. I moved to the production server and its working fine.
Now I need to figure out a way to associate EOT with download limit.
I will make a new post for that so that users searching for similar solution can benefit.

Statistics: Posted by Amitps — May 7th, 2011, 5:08 am


]]>
2011-05-06T10:12:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14248#p14248 <![CDATA[Re: User being registered as free subscriber after payment]]>
That's not the IPN log, but it still tells you about the error. It also gives you some instructions, did you follow them?


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.',

Statistics: Posted by Cristián Lávaque — May 6th, 2011, 10:12 am


]]>
2011-05-06T02:07:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14234#p14234 <![CDATA[Re: User being registered as free subscriber after payment]]>
Cristián Lávaque wrote:
Got it.

Could you please post the IPN log entries for the transactions that gave you trouble?


I have a file in the Logs named -

paypal-rtn.log

The entries in this file are-

www.rfpbook.0fees.net/?s2member_paypal_ ... em_number=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
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\' => \'6NS08998S1337131R\',
\'st\' => \'Completed\',
\'amt\' => \'25.00\',
\'cc\' => \'USD\',
\'cm\' => \'\',
\'item_number\' => \'\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

www.rfpbook.0fees.net/?s2member_paypal_ ... em_number=
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
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\' => \'00K70904GM508151H\',
\'st\' => \'Completed\',
\'amt\' => \'25.00\',
\'cc\' => \'USD\',
\'cm\' => \'\',
\'item_number\' => \'\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

www.rfpbook.0fees.net/?s2member_paypal_ ... em_number=
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
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\' => \'0UA46214N30801645\',
\'st\' => \'Completed\',
\'amt\' => \'25.00\',
\'cc\' => \'USD\',
\'cm\' => \'\',
\'item_number\' => \'\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

www.rfpbook.0fees.net/?s2member_paypal_ ... em_number=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
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\' => \'04J67763PD3807141\',
\'st\' => \'Pending\',
\'amt\' => \'25.00\',
\'cc\' => \'USD\',
\'cm\' => \'\',
\'item_number\' => \'\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

www.rfpbook.0fees.net/?s2member_paypal_ ... em_number=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 (.NET CLR 3.5.30729)
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\' => \'17K9316955901612P\',
\'st\' => \'Pending\',
\'amt\' => \'25.00\',
\'cc\' => \'USD\',
\'cm\' => \'\',
\'item_number\' => \'\',
)',
4 => 'Redirecting Customer to the Login Page, due to an error that occurred.',
),
)

Statistics: Posted by Amitps — May 6th, 2011, 2:07 am


]]>
2011-05-06T00:24:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14232#p14232 <![CDATA[Re: User being registered as free subscriber after payment]]>
Could you please post the IPN log entries for the transactions that gave you trouble?

Statistics: Posted by Cristián Lávaque — May 6th, 2011, 12:24 am


]]>
2011-05-06T00:17:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14230#p14230 <![CDATA[Re: User being registered as free subscriber after payment]]> In fact, I am ready to change my billing model from recurring to One time (the last button), but the error is still there..... :-(

Statistics: Posted by Amitps — May 6th, 2011, 12:17 am


]]>
2011-05-05T14:47:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14197#p14197 <![CDATA[Re: User being registered as free subscriber after payment]]>

And which one was that you had the error with?

Statistics: Posted by Cristián Lávaque — May 5th, 2011, 2:47 pm


]]>
2011-05-05T13:53:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14192#p14192 <![CDATA[Re: User being registered as free subscriber after payment]]> The shortcodes are-
Button1 -
[s2Member-PayPal-Button level="1" ccaps="" desc="Monthly Subscribers / description and pricing details here." ps="paypal" cc="USD" ns="1" custom="www.rfpbook.0fees.net" ta="0" tp="0" tt="D" ra="5" rp="1" rt="M" rr="0" image="default" output="button" /]

Button 2-
[s2Member-PayPal-Button level="2" ccaps="" desc="Annual Subscriber / description and pricing details here." ps="paypal" cc="USD" ns="1" custom="www.rfpbook.0fees.net" ta="0" tp="0" tt="D" ra="10" rp="3" rt="M" rr="0" image="default" output="button" /]

And now, I generated a single One time payment option for which I generated a code directly from paypal sandbox. The code is-
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="TLGV8FPR4XSEW">
<input type="image" src="https://www.sandbox.paypal.com/WEBSCR-640-20110429-1/en_US/i/btn/btn_paynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/WEBSCR-640-20110429-1/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Statistics: Posted by Amitps — May 5th, 2011, 1:53 pm


]]>
2011-05-05T13:24:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14187#p14187 <![CDATA[Re: User being registered as free subscriber after payment]]>
Read this too, please viewtopic.php?f=36&t=1066

Statistics: Posted by Cristián Lávaque — May 5th, 2011, 1:24 pm


]]>
2011-05-05T08:23:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6321&p=14172#p14172 <![CDATA[User being registered as free subscriber after payment]]> The S2 Member plugin has been very helpful in what I am trying to do for my site. How ever, I cant find my way around this issue.
I Configured Paypal Sandbox and generated the buttons for "Membership Signup" page.
When I tested as a logged in user, the Membership Level was still of "Free Subscriber" even after the successfull payment.
Same is the case with a Logged in Test User. The membership levels do not seem to be changing even after the payment.
Also, I am getting an error saying-

Unable to verify POST Vars


every time I make a test payment.
I have configured the PayPal® PDT Identity Token settings.
Cant understand where I made a mistake. :(
Please help

Statistics: Posted by Amitps — May 5th, 2011, 8:23 am


]]>