Hi Guys,
I’m still having a problem taking payments with 2member. I’m on a Windows server with a SSL license, I have disabled Curl and enabled fopen.
The ipn log tells me there is an issue with curl and fopen still:
PHP v5.2.13 :: WordPress® v3.3.1 :: s2Member® v120309 :: s2Member® Pro v120309
Memory 25.72 MB :: Real Memory 26.00 MB :: Peak Memory 25.76 MB :: Real Peak Memory 26.00 MB
http://www.watchuktvabroad.com/Index.php?s2member_paypal_notify=1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
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.s2member.com/forums/topic/ideal-server-configuration-for-s2member/` for details regarding the ideal server configuration for s2Member.’,
4 => ‘array (
\’s2member_paypal_notify\’ => \’1\’,
)’,
),
)
however I fixed that in php.ini, I even had my hosting company check the settings.
I also enabled Openssl and created a php file to test which produced this error before and after enabling openssl:
Notice: file_get_contents() [function.file-get-contents]: Unable to find the wrapper “https” – did you forget to enable it when you configured PHP? in C:\inetpub\vhosts\watchuktvabroad.com\httpdocs\paypal.php on line 4
Warning: file_get_contents(https://www.paypal.com/) [function.file-get-contents]: failed to open stream: Invalid argument in C:\inetpub\vhosts\watchuktvabroad.com\httpdocs\paypal.php on line 4
the paypal-api.log displays this:
PHP v5.2.13 :: WordPress® v3.3.1 :: s2Member® v120309 :: s2Member® Pro v120309
Memory 24.69 MB :: Real Memory 25.50 MB :: Peak Memory 24.82 MB :: Real Peak Memory 25.50 MB
http://www.watchuktvabroad.com/index.php/memberfakesignup1/
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
——– Input vars: ( Thu May 17, 2012 7:32:18 pm UTC ) ——–
array (
‘METHOD’ => ‘SetExpressCheckout’,
‘RETURNURL’ => ‘https://www.watchuktvabroad.com/index.php/memberfakesignup1/?s2member_paypal_xco=s2member_pro_paypal_checkout_return’,
‘CANCELURL’ => ‘https://www.watchuktvabroad.com/index.php/memberfakesignup1/?s2member_paypal_xco=s2member_pro_paypal_checkout_cancel’,
‘PAGESTYLE’ => ‘paypal’,
‘LOCALECODE’ => ”,
‘NOSHIPPING’ => ‘1’,
‘ALLOWNOTE’ => ‘0’,
‘L_BILLINGTYPE0’ => ‘RecurringPayments’,
‘L_BILLINGAGREEMENTDESCRIPTION0’ => ‘Starter Package / description and pricing details here.’,
‘PAYMENTREQUEST_0_SHIPTONAME’ => ‘Jools Holland’,
‘PAYMENTREQUEST_0_SHIPTOSTREET’ => ”,
‘PAYMENTREQUEST_0_SHIPTOCITY’ => ”,
‘PAYMENTREQUEST_0_SHIPTOSTATE’ => ”,
‘PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE’ => ‘US’,
‘PAYMENTREQUEST_0_SHIPTOZIP’ => ”,
‘EMAIL’ => ‘fred@george.com’,
‘VERSION’ => ‘71.0’,
‘USER’ => ‘ben_api1.markettorch.com’,
‘PWD’ => ‘Y8XLW24XXKGCAX6W’,
‘SIGNATURE’ => ‘A2vefYc2q2v2sfo3rgT3Zsl.GMMPAh43eGtCIQ2t25gdblQzh95y6q-U’,
)
——– Output string/vars: ( Thu May 17, 2012 7:32:18 pm UTC ) ——–
array (
‘__error’ => ‘Error. Please contact Support for assistance.’,
)
this is the same on every transaction we submit!