Page 1 of 1

Ideal Server Configuration for s2Member

PostPosted: March 9th, 2011, 7:11 am
by Jason Caldwell
The ideal PHP configuration is this:
PHP 5.2.3+ with cURL enabled on a Linux/Unix operating system.
This is the default configuration by most hosting companies ( not all, but most ).
In your php.ini file, you'll want to have this line in case cURL is not enabled by your hosting provider:
Code: Select all
allow_url_fopen = On
This is the default on most servers ( allow_url_fopen = On ).

s2Member will try to use cURL first. If cURL is not available, s2Member will try to use the FOPEN method, in which case the allow_url_fopen = On setting will be required.

If you're running WordPress on a Windows server:
You'll want to disable the cURL extension because Windows servers usually do not play nice with cURL over the HTTPS protocol. So instead, you can just disable the cURL extension. This way s2Member will use the FOPEN method; in which case you will need to have this in your php.ini file:
Code: Select all
;extension=php_curl.dll
extension=php_openssl.dll
allow_url_fopen = On
The cURL extension is commented out ( disabled ).

In ALL CASES, your installation of PHP must be compiled with support for HTTPS connections. If you're racking your brain over problems connecting to PayPal, it's probably because your installation of PHP is not compiled with the OpenSSL extension. In other words, your server can't connect to any URL that starts with https://. Almost ALL major hosting companies come with OpenSSL pre-compiled. That being said... if you're running your own server, you may have forgotten. The best way to test this, is to load this file on your server and open it in a browser. If OpenSSL was not compiled, you will get an error to that affect.
Code: Select all
<?php
ini_set
("display_errors", true);
ini_set("error_reporting", E_ALL);
echo file_get_contents("https://www.paypal.com/");
?>

Re: Ideal Server Configuration for s2Member

PostPosted: March 9th, 2011, 7:14 am
by Jason Caldwell
Testing your server configuration:
These updated test files that we've put together may help you. You can upload both of these PHP scripts to your server and open them in a web browser. At least one of these should succeed. If the FOPEN test fails, you will need to set `allow_url_fopen = on` in your php.ini file.

curl-fopen-tests.zip
(1.82 KiB) Downloaded 747 times

Test #1. curl-test-https-paypal.php. You should see ( Test succeeded :-) Lookin' good here. )
Test #2. fopen-test-https-paypal.php You should see ( Test succeeded :-) Lookin' good here. )

Re: Ideal Server Configuration for s2Member

PostPosted: September 9th, 2011, 5:21 pm
by nikki
Hello.

My site is hosted with dreamhost. They are now saying I need to add (purchase) a secure certificate for the site and do a custom PHP install.

I just want to make sure I'm doing the right thing before I go through figuring that all out.

Thanks,
N

Re: Ideal Server Configuration for s2Member

PostPosted: September 9th, 2011, 5:54 pm
by Jason Caldwell
Hi Nikki. Not sure why you need to do a custom PHP install, but I would listen to your hosting company. If that's what they're telling you, I suppose you'll need to do that. Either that, or go with our recommended host, which is Media Temple (gs). http://www.mediatemple.net/go/order/?re ... ks-inc.com

With any host, you WILL need to obtain an SSL certificate if you are running PayPal Pro integration with on-site credit card processing, but most hosting companies can integrate your SSL certificate without you needing to re-compile PHP or buy a new server. With Media Temple (gs), you just upload the SSL certificate that you purchased, and you're done.

Do I need an SSL certificate to use PayPal® Pro or Authorize.Net®?
If you're using s2Member's Pro Forms, then yes. In order to comply with PayPal®, Authorize.Net® and PCI Compliance policies, as set forth by major credit card companies; you will need to host all of your Pro Forms on an SSL enabled site. Please check with your hosting provider to ask about obtaining an SSL certificate for your domain. Please note... when you create Pro Forms using the Form Generators provided by s2Member; you'll be supplied with WordPress® Shortcodes, which you'll insert into Posts/Pages of your choosing. These special Posts/Pages will need to be displayed in SSL mode, using links that start with ( https:// ). In other words, when you link to these Posts/Pages, you'll need to make sure your links start with https://.

You can skip the SSL certificate during Development/Sandbox testing. SSL is not required until you officially go live. Once you're live, you can add the Custom Field s2member_force_ssl -> yes to any Post/Page. s2Member will buffer output on those special Posts/Pages, converting everything over to https:// for you automatically, and forcing those specific Posts/Pages to be viewed over a secure SSL connection; so long as your server supports the https protocol. This will help you eliminate the dreaded Secure/Insecure errors in Internet Explorer®. If your server runs SSL over a special port number, or your server requires the port number to actually be in the URL ( i.e. HOST:port ), you can set s2member_force_ssl -> 443; or to whatever port you need.

Re: Ideal Server Configuration for s2Member

PostPosted: September 13th, 2011, 8:27 am
by nikki
OK. I spoke to mediatemple. They do not host adult content.

I am using ccBill for my merchant account.

I spoke to dreamhost and they said their defaults are set the way the directions say at the top of this page.

Do I have to get the SSL cert since I'm using ccBill? Please tell me next step. Right now people click on the subscribe button and pay and then nothing happens - no access given or log in credentials made.

Thanks:)

Re: Ideal Server Configuration for s2Member

PostPosted: September 13th, 2011, 3:05 pm
by Jason Caldwell
Hi Nikki. Thanks for your follow-up.

I see. No, with ccBill, you don't need an SSL certificate, because transactions are processed at ccBill.com and NOT directly on your site, as is the case with Pro Form integrations with PayPal Pro or Authorize.Net. So you're good there.

If you continue to have trouble with ccBill, I would try their LIVE CHAT box inside your Client account. Short of that, please enable s2Member's logging routines, under: s2Member -> ccBill -> Account Details, and then post a copy of your log files for us to review.

Please feel free to XXXX out any sensitive information.

Re: Ideal Server Configuration for s2Member

PostPosted: September 14th, 2011, 12:04 am
by nikki
Ok. I ran the test subscription. Again, once I put in the payment, it says it's accepted and to click the link to return to the site, and it doesn't. It takes me to this

(sorry I couldn't quickly figure out how to paste my screenshot. So I just uploaded it on my site...)

http://www.nikkislessons.com/?attachment_id=540

I re-verified everything with dreamhost. Things seem correct and they gave me this link to look at as well

http://nikkislessons.com/info.php

I thought that was pretty cool even though I don't know what most of it means.

Then I got my logs. I didn't know how much you needed. Please let me know my next step:)

Code: Select all
WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.82 MB :: Real Memory 24.00 MB :: Peak Memory 23.92 MB :: Real Peak Memory 24.00 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:09:45 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.77 MB :: Real Memory 24.00 MB :: Peak Memory 23.87 MB :: Real Peak Memory 24.00 MB
nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:09:57 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.81 MB :: Real Memory 24.00 MB :: Peak Memory 23.91 MB :: Real Peak Memory 24.00 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:13:10 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.81 MB :: Real Memory 24.00 MB :: Peak Memory 23.90 MB :: Real Peak Memory 24.00 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:16:41 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.82 MB :: Real Memory 24.00 MB :: Peak Memory 23.92 MB :: Real Peak Memory 24.00 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:18:55 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.81 MB :: Real Memory 24.00 MB :: Peak Memory 23.90 MB :: Real Peak Memory 24.00 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_return=1
User-Agent:
array (
's2member_log' =>
array (
0 => 'Return URL processed on: Wed Sep 14, 2011 4:22:23 am UTC',
1 => 'Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
2 => 'Please check PayPal® RTN logs for further processing details.',
3 => 'http://www.nikkislessons.com/?s2member_pro_ccbill_return&s2member_paypal_return=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,ty-email&s2member_paypal_proxy_verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
),
)

Re: Ideal Server Configuration for s2Member

PostPosted: September 16th, 2011, 3:51 pm
by Jason Caldwell
Hi there. Thanks for the follow-up.
If I go to your ccBill Thank-You Page handler here, I am redirected properly.
http://www.nikkislessons.com/?s2member_ ... l_return=1

Is there something that I'm missing? Your log file indicates success. If problems continue, please pull a copy of your log entries from this additional file: /s2member-logs/ccbill-ipn.log.

Re: Ideal Server Configuration for s2Member

PostPosted: September 17th, 2011, 7:25 pm
by nikki
OK I rechecked everything and fixed one problem - on the returns in ccBill I did not have www on the addresses.

Now when I do a test I am successfully redirected to the right page.

Now I am not getting the confirmation letter from s2member. I
1. checked the XM records. I am using google apps and that test said all the records matched.
2..tried turning off all other plug ins.
3. contacted my host to make sure there was no problem with ccBill communicating with my server. They said there wasn't.

What is my next step? Thanks in advance for your help!

P.S. I do not have this file: /s2member-logs/ccbill-ipn.log

Re: Ideal Server Configuration for s2Member

PostPosted: September 17th, 2011, 7:27 pm
by nikki
Oh and I also contacted ccBill to ensure they were sending posts to that URL. They were. Does it matter that they are using HTTP and not HTTPS? I asked the help guy and he said that should not be a problem.

Re: Ideal Server Configuration for s2Member

PostPosted: September 20th, 2011, 7:24 pm
by Jason Caldwell
Hi there. Sorry for the delayed response.
If you have logging enabled, but you don't have a /ccbill-ipn.log file, that would indicate to me that no information is being sent back to s2Member by ccBill after checkout is complete. This could be happening because you've not configured your Background Post URL? Please check your Dashboard, under: s2Member -> ccBill Options -> Bg Post Integration. Does that help?

Re: Ideal Server Configuration for s2Member

PostPosted: September 21st, 2011, 2:49 am
by nikki
alright. I did have it wrong. I had it on return instead of notify.

Now I did the test transaction and it didn't got through - but I did have the ipn log!

Code: Select all
WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.20 MB :: Real Memory 23.50 MB :: Peak Memory 23.34 MB :: Real Peak Memory 23.50 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_notify=1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
array (
's2member_log' =>
array (
0 => 'Unable to verify POST vars. This is most likely related to an invalid ccBill® configuration. Please check: s2Member -> ccBill® Options.',
1 => 'If you\'re absolutely SURE that your ccBill® 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 ccBill® 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_pro_ccbill_notify\' => \'1\',
)',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.20 MB :: Real Memory 23.50 MB :: Peak Memory 23.34 MB :: Real Peak Memory 23.50 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_notify=1
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
array (
's2member_log' =>
array (
0 => 'Unable to verify POST vars. This is most likely related to an invalid ccBill® configuration. Please check: s2Member -> ccBill® Options.',
1 => 'If you\'re absolutely SURE that your ccBill® 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 ccBill® 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_pro_ccbill_notify\' => \'1\',
)',
),
)

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 23.60 MB :: Real Memory 23.75 MB :: Peak Memory 23.68 MB :: Real Peak Memory 23.75 MB
http://www.nikkislessons.com/?s2member_pro_ccbill_notify=1
User-Agent:
array (
'customer_fname' => 'hopefully',
'customer_lname' => 'hopefully',
'email' => 'lvmasseuse@gmail.com',
'username' => '',
'password' => '',
'productDesc' => '',
'price' => '&#36;9.97 for 30 days ** &#36;9.97 recurring every 30 days **',
'subscription_id' => '0111264302000000015',
'denialId' => '',
'clientAccnum' => '943162',
'clientSubacc' => '0000',
'address1' => 'celeste',
'city' => 'las vegas',
'state' => '',
'country' => 'US',
'phone_number' => '',
'zipcode' => '89107',
'start_date' => '2011-09-21 00:33:46',
'referer' => '',
'ccbill_referer' => '',
'affiliate' => '',
'reservationId' => '',
'referringUrl' => 'http://www.nikkislessons.com/membership-options/',
'reasonForDecline' => '',
'reasonForDeclineCode' => '',
'formName' => '146cc',
'cardType' => 'MASTERCARD',
'responseDigest' => 'c0581aebfc86dcefb4306aed03e6ca1c',
's2_desc' => 'Sexy Member.',
's2_customer_ip' => '70.173.129.67',
's2_invoice' => '1',
's2_custom' => 'www.nikkislessons.com',
's2_p1' => '1 M',
's2_p3' => '1 M',
'typeId' => '0',
'initialPrice' => '9.97',
'initialPeriod' => '30',
'recurringPrice' => '9.97',
'recurringPeriod' => '30',
'rebills' => '99',
'initialFormattedPrice' => '&#36;9.97',
'recurringFormattedPrice' => '&#36;9.97',
'ip_address' => '70.173.129.67',
's2member_log' =>
array (
0 => 'IPN received on: Wed Sep 21, 2011 7:33:48 am UTC',
1 => 's2Member POST vars verified with ccBill®.',
2 => 'ccBill® transaction identified as ( `RECURRING/SUBSCRIPTION` ).',
3 => 'IPN reformulated. Piping through s2Member\'s core/standard PayPal® processor as `txn_type` ( `subscr_signup` ).',
4 => 'Please check PayPal® IPN logs for further processing details.',
),
)

Re: Ideal Server Configuration for s2Member

PostPosted: September 27th, 2011, 1:03 pm
by Jason Caldwell
Thank you. So it looks like your last test transaction was recorded properly, that's good. But you mentioned that some issues still exist? If so, I would take a quick look inside s2Member's core PayPal processing log file: /s2member-logs/paypal-ipn.log, and find the entry related to Subscription ID: 0111264302000000015. Please post that entry as well and we'll have a closer look for you.

Re: Ideal Server Configuration for s2Member

PostPosted: October 9th, 2011, 3:20 pm
by nikki
I've been busy traveling and working and haven't had a chance to even check this. Here's the update:

Now when I get a subscriber they are getting to the place where they also need to register.

Problem is, then they are not getting the appropriate access. I go in and do it manually but you know peeps want it immediately and it is very frustrating for them and takes away from my credibility...

Here are the paypal logs you asked for

----
Here are all the ccBill logs. I didn't know which one you need.
-----

Let me know what you think,
Nikki

Re: Ideal Server Configuration for s2Member

PostPosted: October 11th, 2011, 12:44 pm
by Cristián Lávaque
Nikki, I had to remove your logs because you had not removed/x'ed out private info before sharing them. Could you please edit them and post again? Thanks. :)

Re: Ideal Server Configuration for s2Member

PostPosted: October 15th, 2011, 10:14 am
by nikki
Wow thanks for catching that.

Here they are edited - hope I got everything!

ccbill-dl.log
(30.19 KiB) Downloaded 212 times


ccbill-ipn.log
(31.59 KiB) Downloaded 231 times


ccbill-rtn.log
(237.04 KiB) Downloaded 475 times


paypal-ipn.log
(22.67 KiB) Downloaded 208 times


paypal-rtn.log
(62.19 KiB) Downloaded 444 times

Re: Ideal Server Configuration for s2Member

PostPosted: October 17th, 2011, 5:01 pm
by Jason Caldwell
Thank you. I apologize for the delayed response.
I've just taken a look at your logs, and I find this one interesting inside /paypal-ipn.log.
Code: Select all
    0 => 'IPN received on: Sun Oct 9, 2011 6:24:01 am UTC',
    1 => 's2Member POST vars verified with a Proxy Key',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "Happy Client" <supporter@email>.',
    6 => 'Storing `payment` for Subscription via ( `subscr-signup-as-subscr-payment` ).',
    7 => 'Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.',
    8 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
This log entry indicates that s2Member is successfully processing the transaction, and an email was sent to the Customer. By default, this email contains a Registration Link, which is self-authenticated. That is, the special URL that s2Member places inside your configurable Signup Confirmation Email, should contain this Replacement Code: %%registration_url%%. See screenshot below.
SNAG-0035.png

Possible problem.
You have Open Registration enabled with s2Member too, and your Customers are registering without going through the authenticated link provided by this Signup Confirmation Email. That would cause them to become Free Subscribers at Level #0, instead of gaining membership access through the registration link provided by s2Member. I hope this helps :-)

Possible s2Member File Upload Download?

PostPosted: October 26th, 2011, 1:41 am
by ahost
Hey

Great work by the way!

Just wanted to see if I could integrate your s2Member plugin with another ???? Plugin that would allow my members a File Upload<>Download capability to store files in a Member specific area/directory?

Do you have any insight?

RC

Re: Ideal Server Configuration for s2Member

PostPosted: October 26th, 2011, 11:55 am
by Jason Caldwell
Thanks for the follow-up.
Nothing built into s2Member specifically for this purpose yet.
You might take a look here though: http://stackoverflow.com/questions/2722 ... y-solution

Re: Ideal Server Configuration for s2Member

PostPosted: January 30th, 2012, 12:18 am
by ariankooshesh
Hi!
I'm having the same problem as other people. I did the curl/fopen tests. Both are ok. I'm running on a linux box here, centos 5.x with php 5.3.9

Here are my logs:

I verified my paypal options too... any clues?


Code: Select all
PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 19.51 MB :: Real Memory 19.75 MB :: Peak Memory 19.66 MB :: Real Peak Memory 19.75 MB
stalkerguardian.info/login/?s2member_paypal_return=1&s2member_paypal_return_tra=fnIyOkRZUkxERk9LSVllSDd4QWplM1ZUSXNtRmc2ZW9NUUNZOjdhNTYyYzExYWU0NjAyNWYxYTJhOGRmZjM4YzE4YWU4fLQ9vS3rQ4ZE7LgC3kEzDX0magV9nwOQbPjn_kj9wHgfUK0a01O0Stfr18NUL48mRxyWsoaRz3W34BACjqRvd7gYxSTtRYHCWG9bHLhcAJXIY9EtuPQYPRWY9wDCH60xKvhtHFgV82vIw7zr7qA9_vpAsDUyzja1wCyHpnSLcb5MSjSJIn08T6cAQpgLJXC0_TeCzoAKd8FFmte0Ct_NWFUqVTC2s7IM-WV2cyYhCphYVgNNuawyleJv7s1lx7yLY3m-3toFTOF1Iv3e7J3JT3A41MPW0oaMXd4uqatoLvJqOdf-fRGGSPD_ZB1lol5x7-0n3Mi1W-ykdHZZOcdg4WOoZ4TosD_5Hj4cIN7NQjm9EucQ1zfSkxHEEDxbl9dbIQ&tx=5DH75330B2487512N&st=Completed&amt=0.50&cc=USD&cm=stalkerguardian%2einfo&item_number=1
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.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.primothemes.com/forums/viewtopic.php?f=36&t=2636` for details regarding the ideal server configuration for s2Member.',
    4 => 'array (
  \'s2member_paypal_return\' => \'1\',
  \'s2member_paypal_return_tra\' => \'fnIyOkRZUkxERk9LSVllSDd4QWplM1ZUSXNtRmc2ZW9NUUNZOjdhNTYyYzExYWU0NjAyNWYxYTJhOGRmZjM4YzE4YWU4fLQ9vS3rQ4ZE7LgC3kEzDX0magV9nwOQbPjn_kj9wHgfUK0a01O0Stfr18NUL48mRxyWsoaRz3W34BACjqRvd7gYxSTtRYHCWG9bHLhcAJXIY9EtuPQYPRWY9wDCH60xKvhtHFgV82vIw7zr7qA9_vpAsDUyzja1wCyHpnSLcb5MSjSJIn08T6cAQpgLJXC0_TeCzoAKd8FFmte0Ct_NWFUqVTC2s7IM-WV2cyYhCphYVgNNuawyleJv7s1lx7yLY3m-3toFTOF1Iv3e7J3JT3A41MPW0oaMXd4uqatoLvJqOdf-fRGGSPD_ZB1lol5x7-0n3Mi1W-ykdHZZOcdg4WOoZ4TosD_5Hj4cIN7NQjm9EucQ1zfSkxHEEDxbl9dbIQ\',
  \'tx\' => \'5DH75330B2487512N\',
  \'st\' => \'Completed\',
  \'amt\' => \'0.50\',
  \'cc\' => \'USD\',
  \'cm\' => \'stalkerguardian.info\',
  \'item_number\' => \'1\',
)',
    5 => 'Redirecting Customer to the Home Page, due to an error that occurred.',
  ),
  's2member_paypal_return_tra' => 'fnIyOkRZUkxERk9LSVllSDd4QWplM1ZUSXNtRmc2ZW9NUUNZOjdhNTYyYzExYWU0NjAyNWYxYTJhOGRmZjM4YzE4YWU4fLQ9vS3rQ4ZE7LgC3kEzDX0magV9nwOQbPjn_kj9wHgfUK0a01O0Stfr18NUL48mRxyWsoaRz3W34BACjqRvd7gYxSTtRYHCWG9bHLhcAJXIY9EtuPQYPRWY9wDCH60xKvhtHFgV82vIw7zr7qA9_vpAsDUyzja1wCyHpnSLcb5MSjSJIn08T6cAQpgLJXC0_TeCzoAKd8FFmte0Ct_NWFUqVTC2s7IM-WV2cyYhCphYVgNNuawyleJv7s1lx7yLY3m-3toFTOF1Iv3e7J3JT3A41MPW0oaMXd4uqatoLvJqOdf-fRGGSPD_ZB1lol5x7-0n3Mi1W-ykdHZZOcdg4WOoZ4TosD_5Hj4cIN7NQjm9EucQ1zfSkxHEEDxbl9dbIQ',
)



PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 24.19 MB :: Real Memory 25.75 MB :: Peak Memory 25.08 MB :: Real Peak Memory 25.75 MB
stalkerguardian.info/login/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.01',
  'invoice' => '4f261ca4c96c8~****',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'PEN24AWY4LV5N',
  'payment_date' => '20:31:21 Jan 29, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => '****',
  'option_selection1' => 'stalkerguardian.info',
  'option_selection2' => '****',
  'mc_fee' => '0.01',
  'notify_version' => '3.4',
  'subscr_id' => 'I-DGW055G81XTY',
  'custom' => 'stalkerguardian.info',
  'payer_status' => 'unverified',
  'business' => 'tomanderson137@yahoo.com',
  'verify_sign' => 'AQk5nA2jtkujk0Y26eeoNo.rphIxATwz-RO--4O64z1ueWJcV93l2Dhj',
  'payer_email' => '****@gmail.com',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '8A753463R6295454E',
  'payment_type' => 'instant',
  'payer_business_name' => 'Remote Programmer',
  'last_name' => '****',
  'receiver_email' => 'tomanderson137@yahoo.com',
  'payment_fee' => '0.01',
  'receiver_id' => 'KDDGZJWMSAPS8',
  'txn_type' => 'subscr_payment',
  'item_name' => 'Stalker Free / Description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'transaction_subject' => 'Stalker Free / Description and pricing details here.',
  'payment_gross' => '0.01',
  'ipn_track_id' => '63084e07b7b0e',
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Jan 30, 2012 4:30:17 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `subscr_payment|recurring_payment` ).',
    4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
    5 => 'Awake. It\'s Mon Jan 30, 2012 4:30:22 am UTC. s2Member `txn_type` identified as ( `subscr_payment|recurring_payment` ).',
    6 => 'Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.',
    7 => 'Re-generating. This IPN will go into a Transient Queue; and be re-processed during registration.',
  ),
  'subscr_gateway' => 'paypal',
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '****',
)

PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 24.88 MB :: Real Memory 26.00 MB :: Peak Memory 25.07 MB :: Real Peak Memory 26.00 MB
stalkerguardian.info/login/?s2member_paypal_notify=1
User-Agent:
array (
  'txn_type' => 'subscr_signup',
  'subscr_id' => 'I-DGW055G81XTY',
  'last_name' => '****',
  'option_selection1' => 'stalkerguardian.info',
  'option_selection2' => '****',
  'residence_country' => 'US',
  'mc_currency' => 'USD',
  'item_name' => 'Stalker Free / Description and pricing details here.',
  'business' => '****@yahoo.com',
  'amount3' => '0.01',
  'recurring' => '0.01',
  'verify_sign' => 'Ar4I1kVQdpgncSOIr9gXbTs6zUJDAhQwd.8BsOQLgOSahUtmKO4JAst6',
  'payer_status' => 'unverified',
  'payer_email' => '****@gmail.com',
  'first_name' => '****',
  'receiver_email' => '****@yahoo.com',
  'option_name1' => 'Originating Domain',
  'payer_id' => 'PEN24AWY4LV5N',
  'invoice' => '4f261ca4c96c8~****',
  'option_name2' => 'Customer IP Address',
  'reattempt' => '1',
  'item_number' => '1',
  'payer_business_name' => 'Remote Programmer',
  'subscr_date' => '20:31:19 Jan 29, 2012 PST',
  'custom' => 'stalkerguardian.info',
  'charset' => 'windows-1252',
  'notify_version' => '3.4',
  'period3' => '1 M',
  'mc_amount3' => '0.01',
  'ipn_track_id' => '9a35ad9be19e8',
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Jan 30, 2012 4:30:29 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "**** ****" <****@gmail.com>.',
    6 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
  ),
  'subscr_gateway' => 'paypal',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '****',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'initial_term' => '0 D',
  'initial' => '0.01',
  'regular' => '0.01',
  'regular_term' => '1 M',
)

PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 24.91 MB :: Real Memory 26.00 MB :: Peak Memory 25.10 MB :: Real Peak Memory 26.00 MB
stalkerguardian.info/login/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.50',
  'invoice' => '4f261d625d0af~****',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => '****',
  'tax' => '0.00',
  'payment_date' => '20:34:17 Jan 29, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => '****',
  'option_selection1' => 'stalkerguardian.info',
  'option_selection2' => '****',
  'mc_fee' => '0.08',
  'notify_version' => '3.4',
  'custom' => 'stalkerguardian.info',
  'payer_status' => 'unverified',
  'business' => 'tomanderson137@yahoo.com',
  'quantity' => '1',
  'verify_sign' => 'AiLf5RLT8C5N2fQs2enjabwS1JvIATkZqqiV0m8u5b2tDsDCZ0.rzYkZ',
  'payer_email' => '****@gmail.com',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '****',
  'payment_type' => 'instant',
  'payer_business_name' => 'Remote Programmer',
  'last_name' => '****',
  'receiver_email' => 'tomanderson137@yahoo.com',
  'payment_fee' => '0.08',
  'receiver_id' => 'KDDGZJWMSAPS8',
  'txn_type' => 'web_accept',
  'item_name' => 'Stalker Free / description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'handling_amount' => '0.00',
  'transaction_subject' => 'stalkerguardian.info',
  'payment_gross' => '0.50',
  'shipping' => '0.00',
  'ipn_track_id' => 'e44e647857bf4',
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Jan 30, 2012 4:33:09 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "**** ****" <****@gmail.com>.',
    6 => 'Storing `payment` for Subscription via ( `web_accept` ).',
    7 => 'Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.',
    8 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
  ),
  'subscr_gateway' => 'paypal',
  'subscr_id' => '9295768402048893K',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '****',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 L',
  'mc_amount3' => '0.50',
  'initial_term' => '0 D',
  'initial' => '0.50',
  'regular' => '0.50',
  'regular_term' => '1 L',
  'recurring' => '0',
)

PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 24.89 MB :: Real Memory 25.75 MB :: Peak Memory 25.08 MB :: Real Peak Memory 25.75 MB
stalkerguardian.info/login/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.50',
  'invoice' => '4f261e7ed2bec~****',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'PEN24AWY4LV5N',
  'tax' => '0.00',
  'payment_date' => '20:38:54 Jan 29, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => '****',
  'option_selection1' => 'stalkerguardian.info',
  'option_selection2' => '****',
  'mc_fee' => '0.08',
  'notify_version' => '3.4',
  'custom' => 'stalkerguardian.info',
  'payer_status' => 'unverified',
  'business' => 'tomanderson137@yahoo.com',
  'quantity' => '1',
  'verify_sign' => 'AR3Bnd85qDAG2ivRgEH-F3bq0tH3AhasnWamoNBmdj9-iCbGqryNhnU-',
  'payer_email' => '****@gmail.com',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '11P98593PV769942F',
  'payment_type' => 'instant',
  'payer_business_name' => 'Remote Programmer',
  'last_name' => '****',
  'receiver_email' => 'tomanderson137@yahoo.com',
  'payment_fee' => '0.08',
  'receiver_id' => 'KDDGZJWMSAPS8',
  'txn_type' => 'web_accept',
  'item_name' => 'Stalker Free / description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'handling_amount' => '0.00',
  'transaction_subject' => 'stalkerguardian.info',
  'payment_gross' => '0.50',
  'shipping' => '0.00',
  'ipn_track_id' => 'bec6e814dfd20',
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Jan 30, 2012 4:37:46 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "**** ****" <****@gmail.com>.',
    6 => 'Storing `payment` for Subscription via ( `web_accept` ).',
    7 => 'Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.',
    8 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
  ),
  'subscr_gateway' => 'paypal',
  'subscr_id' => '11P98593PV769942F',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '****',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 L',
  'mc_amount3' => '0.50',
  'initial_term' => '0 D',
  'initial' => '0.50',
  'regular' => '0.50',
  'regular_term' => '1 L',
  'recurring' => '0',
)

PHP v5.3.9 :: WordPress® v3.3.1 :: s2Member® v111220
Memory 24.89 MB :: Real Memory 25.75 MB :: Peak Memory 25.08 MB :: Real Peak Memory 25.75 MB
stalkerguardian.info/login/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.50',
  'invoice' => '4f262616aae31~****',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'PEN24AWY4LV5N',
  'tax' => '0.00',
  'payment_date' => '21:13:13 Jan 29, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => '****',
  'option_selection1' => 'stalkerguardian.info',
  'option_selection2' => '****',
  'mc_fee' => '0.08',
  'notify_version' => '3.4',
  'custom' => 'stalkerguardian.info',
  'payer_status' => 'unverified',
  'business' => 'tomanderson137@yahoo.com',
  'quantity' => '1',
  'verify_sign' => 'AgXsP2MAb7ZqE92Q72NeN-mMl2ASAFQKPoGH9u9jv1Rx90IFSdNn1tKC',
  'payer_email' => '****@gmail.com',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '5DH75330B2487512N',
  'payment_type' => 'instant',
  'payer_business_name' => 'Remote Programmer',
  'last_name' => '****',
  'receiver_email' => 'tomanderson137@yahoo.com',
  'payment_fee' => '0.08',
  'receiver_id' => 'KDDGZJWMSAPS8',
  'txn_type' => 'web_accept',
  'item_name' => 'Stalker Free / description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'handling_amount' => '0.00',
  'transaction_subject' => 'stalkerguardian.info',
  'payment_gross' => '0.50',
  'shipping' => '0.00',
  'ipn_track_id' => 'c479c99b0ea4',
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Jan 30, 2012 5:12:04 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "**** ****" <****@gmail.com>.',
    6 => 'Storing `payment` for Subscription via ( `web_accept` ).',
    7 => 'Creating an IPN response for `subscr_payment`. This will go into a Transient Queue; and be processed during registration.',
    8 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
  ),
  'subscr_gateway' => 'paypal',
  'subscr_id' => '5DH75330B2487512N',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '****',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 L',
  'mc_amount3' => '0.50',
  'initial_term' => '0 D',
  'initial' => '0.50',
  'regular' => '0.50',
  'regular_term' => '1 L',
  'recurring' => '0',
)


Re: Ideal Server Configuration for s2Member

PostPosted: January 30th, 2012, 3:44 pm
by Jason Caldwell
It looks like your IPNs are coming through fine. However, I see an error there, related to s2Member's Auto-Return/PDT handler. It appears from your failed log entry that you may not have Auto-Return and PDT enabled in your PayPal account. I suggest going back over this section in your Dashboard carefully please. See: s2Member -> PayPal Options -> Auto-Return/PDT Integration.