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.

About: Gray Ayer

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
confirmation email not sending

By:  Gray Ayer in: Community Forum

voices: 3
replies: 8

3 years, 7 months ago  Bruce

e-mails not sent & ccbill-dl-ipn.log failed

By:  Gray Ayer in: Community Forum

voices: 3
replies: 6

3 years, 10 months ago  Jason (Lead Developer)

Registration email not sent with ccBill

By:  Gray Ayer in: Community Forum

voices: 5
replies: 18

4 years, 1 month ago  Gray Ayer

Viewing 3 topics - 1 through 3 (of 3 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
confirmation email not sending

By:  Gray Ayer in: Community Forum

voices: 3
replies: 8

3 years, 7 months ago  Bruce

e-mails not sent & ccbill-dl-ipn.log failed

By:  Gray Ayer in: Community Forum

voices: 3
replies: 6

3 years, 10 months ago  Jason (Lead Developer)

Registration email not sent with ccBill

By:  Gray Ayer in: Community Forum

voices: 5
replies: 18

4 years, 1 month ago  Gray Ayer

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 15 replies - 1 through 15 (of 15 total)
Author Replies
Author Replies
Posted: Friday Jun 7th, 2013 at 11:58 am #51617

oh, I think my major flaw here then would be that I haven’t actually been using the short codes to output links on our join page (http://beautifulobscene.com/join/). I’m taking your suggestion to use the URL output shortcut option, I just to make sure that I’m doing things right, whereas before for my $19.99 “button” I was using:

<a href="https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=945076&amp;clientSubacc=0000&amp;formName=146cc&amp;formPrice=19.95&amp;formPeriod=30&amp;formRecurringPrice=19.95&amp;formRecurringPeriod=30&amp;formRebills=99&amp;currencyCode=840&amp;s2_p1=1+M&amp;s2_p3=1+M&amp;s2_desc=Monthly+%2F+description+and+pricing+details+here.&amp;s2_invoice=3&amp;s2_custom=beautifulobscene.com&amp;s2_customer_ip=24.21.155.248&amp;s2_referencing=7&amp;formDigest=78bbfb52e83f4c2e04a88bc006214600"><label> $19.99 - 1 Month* <span>(recurring)</span></label></a>

Utilizing the proper short code, it would look like this:

<a href="[s2Member-Pro-ccBill-Button level="1" ccaps="" desc="Annual / description and pricing details here." cc="USD" custom="beautifulobscene.com" ta="0" tp="0" tt="D" ra="19.95" rp="1" rt="M" rr="1" image="default" output="url" /]
"><label> $19.99 - 1 Month* <span>(recurring)</span></label></a>

Right?

Thanks for all your guidance and help here, s2Member has an incredible amount of configurations and a bit of a learning curve.

Posted: Thursday Jun 6th, 2013 at 12:11 pm #51536

We are using both Cloudflare and W3 Total Cache on the site.

In regards to the shortcodes, that sounds about right. I don’t want to use the styling of the shortcodes, which are displayed here: http://mysite.com/s2member-shortcodes/ because it doesn’t look as graceful as the way I’ve styled them for our proper “join page”
http://mysite.com/tour/

if this isn’t a way that it’s going to work, how do I go about styling the buttons differently so they appear more like I’ve got on the http://mysite.com/tour/ page?

Posted: Wednesday Jun 5th, 2013 at 12:43 am #51389

I got another one today:

array (
    0 => 'IPN received on: Wed Jun 5, 2013 2:33:21 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/ update vars.',
    5 => 'Unable to modify Subscription. The existing User ID is associated with an Administrator. Stopping here. Otherwise, an Administrator could lose access.',
  ),

The last time that I was signed in was two days ago. I don’t recall if I logged out or not. Does this mean that if I’m working live on the site and signed and then no customers can sign up during that time automatically without me having to manually add their info as new users?

When I do you create a user manually, I insert the “Paid Subscr. ID” and the “registration IP” but is there anything else I need to include for S2member to disable someone’s account once their term is up and they haven’t renewed?

And as a side note (totally outside the realm of expected customer service), I love how the sign-in link on your website opens up a modal box for that. Great UI. Any leads on how I might implement something like that

Posted: Monday Feb 11th, 2013 at 5:40 pm #41422

Hi Jason, sorry about the long wait in response, life got busy….

When I was speaking about the “email log”, i mean that S2member membership approval e-mails are not logged by your recommended plugin to do this.

Continuously, our customers are complaining that they are not receiving the confirmation e-mails that allow them to create a new user account once they have paid. I have followed all of your instructions to set up the e-mail log plug-in, and I can see that e-mails from WordPress itself are being sent out, such as contact form messages, and e-mail from other plug-ins.

In fact, when testing out the registration and purchase process with a test account given to me from CCBill, I received the correct confirmation message in my inbox, but it wasn’t logged. As suggested, I’m using the plug-in WP-Mail-SMTP in order to reconfigures the wp_mail() function to use SMTP instead of mail(). I just changed the option to ” Use the PHP mail() function to send emails”, in my test account confirmation message is still sent out, but not logged.

I’m trying to figure out whether customers are not getting these e-mails at all, or simply whether they are getting sent out that end up in the spam box.

Posted: Sunday Jan 27th, 2013 at 6:15 pm #39737

My hosting company also made this change:

“The fix we put in place was to add a host entry to the hosts file. The s2member code was attempting to make an http request back to itself and was failing because it was using the public IP instead of the server’s private IP. The fix is still in place.”

Is there a way to avoid having s2member do this?

Posted: Friday Jan 25th, 2013 at 8:26 pm #39578

Actually, after my 2nd insistence to my hosting company (constant.com) that they disable cUrl, it now seems to be working. I got the proper “Congratulations! ( your membership has been approved )” email to the test account. But the recommended plugin, Email Log, didn’t seem to log this. Any idea why?

Posted: Tuesday Nov 20th, 2012 at 8:48 pm #32178

Awesome. thanks guys. I’ll give those a try and let you know of my results.

Posted: Tuesday Nov 20th, 2012 at 11:07 am #32106

Through reading the error message within paypal-ipn.log

5 => 'Unable to modify Subscription. The existing User ID is associated with an Administrator. Stopping here. Otherwise, an Administrator could lose access.',

I also realized that one cannot do a test purchase transaction while signed in, or if the purchaser’s email address is already affiliated with another account. Just fyi as a suggestion to future clients.

Posted: Tuesday Nov 20th, 2012 at 9:46 am #32098

a ha! Finally it came through. Since the logs insisted that

5 => 'Signup Confirmation Email sent to: "NewJoinButton FakeGray" <fakegray@gmail.com>.',

I just checked my spam box and it was in there. Any suggestions on how to get gmail to avoid spamming this?

Posted: Tuesday Nov 20th, 2012 at 9:38 am #32096

Hi Christian,
Yup, I fixed those shortcodes, deleted the logs so they could be more clear when i just ran a new test transaction. I don’t see any errors in those logs.

Here they are:
ccbill-ipn.log

PHP v5.3.18 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 30.41 MB :: Real Memory 30.50 MB :: Peak Memory 30.47 MB :: Real Peak Memory 30.50 MB
beautifulobscene.com/?s2member_pro_ccbill_notify=1
User-Agent: 
array (
  'customer_fname' => 'NewJoinButton',
  'customer_lname' => 'FakeGray',
  'email' => 'fakegray@gmail.com',
  'username' => '',
  'password' => '',
  'productDesc' => '',
  'price' => '&#36;2.95 for 365 days',
  'subscription_id' => '0212325202000000051',
  'denialId' => '',
  'clientAccnum' => '945076',
  'clientSubacc' => '0000',
  'address1' => '6203 se boise',
  'city' => 'portland',
  'state' => '',
  'country' => 'US',
  'phone_number' => '',
  'zipcode' => '97206',
  'start_date' => '2012-11-20 07:17:05',
  'referer' => '',
  'ccbill_referer' => '',
  'affiliate' => '',
  'reservationId' => '',
  'referringUrl' => 'http://beautifulobscene.com/new-join/',
  'reasonForDecline' => '',
  'reasonForDeclineCode' => '',
  'formName' => '146cc',
  'cardType' => 'MASTERCARD',
  'responseDigest' => '0bdd453349a623f147253c3d883daec2',
  's2_desc' => 'Annual / description and pricing details here.',
  's2_customer_ip' => '174.100.140.186',
  's2_invoice' => '1::1 Y',
  's2_custom' => 'beautifulobscene.com',
  's2_p1' => '0 D',
  's2_p3' => '1 Y',
  'typeId' => '0',
  'initialPrice' => '2.95',
  'initialPeriod' => '365',
  'recurringPrice' => '0',
  'recurringPeriod' => '0',
  'rebills' => '0',
  'initialFormattedPrice' => '&#36;2.95',
  'recurringFormattedPrice' => '&#36;0.00',
  'ip_address' => '174.100.140.186',
  's2member_log' => 
  array (
    0 => 'IPN received on: Tue Nov 20, 2012 2:17:14 pm UTC',
    1 => 's2Member POST vars verified with ccBill®.',
    2 => 'ccBill® transaction identified as ( `NON-RECURRING/BUY-NOW` ).',
    3 => 'IPN reformulated. Piping through s2Member\'s core/standard PayPal® processor as `txn_type` ( `web_accept` ).',
    4 => 'Please check PayPal® IPN logs for further processing details.',
  ),
)

and the paypal-ipn.log

PHP v5.3.18 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 37.08 MB :: Real Memory 38.00 MB :: Peak Memory 37.22 MB :: Real Peak Memory 38.00 MB
beautifulobscene.com/?s2member_paypal_notify=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails&s2member_paypal_proxy_verification=ac85b703bce62062497df87dc091e1e5
User-Agent: WordPress/3.4.2; http://beautifulobscene.com
array (
  'txn_type' => 'web_accept',
  'txn_id' => '0212325202000000051',
  'custom' => 'beautifulobscene.com',
  'mc_gross' => '2.95',
  'mc_currency' => 'USD',
  'tax' => '0.00',
  'payer_email' => 'fakegray@gmail.com',
  'first_name' => 'NewJoinButton',
  'last_name' => 'FakeGray',
  'option_name1' => 'Originating Domain',
  'option_selection1' => 'beautifulobscene.com',
  'option_name2' => 'Customer IP Address',
  'option_selection2' => '174.100.140.186',
  'item_number' => '1::1 Y',
  'item_name' => 'Annual / description and pricing details here.',
  'proxy_verified' => 'ccbill',
  's2member_log' => 
  array (
    0 => 'IPN received on: Tue Nov 20, 2012 2:17:15 pm 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: "NewJoinButton FakeGray" <fakegray@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' => 'ccbill',
  'subscr_id' => '0212325202000000051',
  'eotper' => '1 Y',
  'ccaps' => '',
  'level' => '1',
  'ip' => '174.100.140.186',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 Y',
  'mc_amount3' => '2.95',
  'initial_term' => '0 D',
  'initial' => '2.95',
  'regular' => '2.95',
  'regular_term' => '1 Y',
  'recurring' => '0',
  's2member_paypal_proxy' => 'ccbill',
  's2member_paypal_proxy_use' => 'standard-emails',
  's2member_paypal_proxy_verification' => 'ac85b703bce62062497df87dc091e1e5',
)
Posted: Monday Nov 19th, 2012 at 5:58 pm #32020

nope. that didn’t work either. I even created a new button at http://beautifulobscene.com/new-join/ to test that.
Perhaps i can create a test user for ccbill for you to test out the entire process, as this back and forth isn’t helping anyone I feel.

Do you have any answers for me as to the log file errors?

Posted: Friday Nov 16th, 2012 at 10:01 pm #31860

Raam,

You got two things wrong here.
1. my name is Gray. Like the color. Not Gary. No hard feelings. It’s pretty common.
2. If you read the first paragraph of my post that started this thread:
” I ran your server check scripts, and revealed a few missing modules, but those have subsequently been installed. You can see for yourself at http://beautifulobscene.com/s2member-server-check-120703.php&#8221;
So everything was fine with that as of last wednesday.

any other suggestions?

Posted: Friday Nov 16th, 2012 at 3:35 pm #31815

I’ve sent the corrected password information. In the meantime, how does one go about testing that my “server is able to connect/communicate with your Payment Gateway over an HTTPS connection.” since this seems to be one of the error messages I’m getting from the logs.

I’m trying to address the www or not situation but it takes some cooperation from ccbill and godaddy (who issued the security certificate).

Posted: Thursday Nov 15th, 2012 at 1:01 pm #31705

also could you direct me to some instructions on how I might

….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.’,

Posted: Thursday Nov 15th, 2012 at 12:59 pm #31704

ok. Before deactivating any of the other plug-ins or switching themes, I checked the log files again. Now it looks like those IPN logs have been created. paypal-ipn.log was created about 2 1/2 hours after the last membership sign-up transaction and paypal-ipn.log was created a full four hours afterwards.
I did try deactivating all of the other plug-ins, and the main modified theme we are using, Super Skeleton. To no avail.

I have checked and cURL is definitely enabled. Could this be up problem with my security certificate?

I sent to a secure private message as you requested with the required WordPress username and FTP info. Hopefully we can get something worked out their websites can start making money instead of losing it.

this is the text from paypal-ipn.log:

PHP v5.3.18 :: WordPress® v4748 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 35.38 MB :: Real Memory 35.50 MB :: Peak Memory 35.44 MB :: Real Peak Memory 35.50 MB
beautifulobscene.com/?s2member_paypal_notify=1&s2member_paypal_proxy=ccbill&s2member_paypal_proxy_use=standard-emails,subscr-signup-as-subscr-payment&s2member_paypal_proxy_verification=33d0aeef0f4617c0458b0def536905ea
User-Agent: WordPress/3.4.2; http://beautifulobscene.com
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\',
  \'s2member_paypal_proxy\' => \'ccbill\',
  \'s2member_paypal_proxy_use\' => \'standard-emails,subscr-signup-as-subscr-payment\',
  \'s2member_paypal_proxy_verification\' => \'33d0aeef0f4617c0458b0def536905ea\',
  \'txn_type\' => \'subscr_signup\',
  \'subscr_id\' => \'0112319302000000118\',
  \'recurring\' => \'1\',
  \'txn_id\' => \'0112319302000000118\',
  \'custom\' => \'www.beautifulobscene.com\',
  \'period1\' => \'1 M\',
  \'period3\' => \'1 M\',
  \'mc_amount1\' => \'19.95\',
  \'mc_amount3\' => \'19.95\',
  \'mc_gross\' => \'19.95\',
  \'mc_currency\' => \'USD\',
  \'tax\' => \'0.00\',
  \'payer_email\' => \'gray@ilikegray.com\',
  \'first_name\' => \'ThirdTimeUrlChange\',
  \'last_name\' => \'Basic\',
  \'option_name1\' => \'Originating Domain\',
  \'option_selection1\' => \'www.beautifulobscene.com\',
  \'option_name2\' => \'Customer IP Address\',
  \'option_selection2\' => \'24.21.191.187\',
  \'item_number\' => \'3\',
  \'item_name\' => \'Monthly / description and pricing details here.\',
)',
  ),
  's2member_paypal_proxy' => 'ccbill',
  's2member_paypal_proxy_use' => 'standard-emails,subscr-signup-as-subscr-payment',
  's2member_paypal_proxy_verification' => '33d0aeef0f4617c0458b0def536905ea',
)

and from ccbill-ipn.log :

PHP v5.3.18 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 30.98 MB :: Real Memory 31.25 MB :: Peak Memory 31.05 MB :: Real Peak Memory 31.25 MB
www.beautifulobscene.com/?s2member_pro_ccbill_notify=1
User-Agent: 
array (
  'customer_fname' => 'ThirdTimeUrlChange',
  'customer_lname' => 'Basic',
  'email' => 'gray@ilikegray.com',
  'username' => '',
  'password' => '',
  'productDesc' => '',
  'price' => '&#36;19.95 for 30 days ** &#36;19.95 recurring every 30 days **',
  'subscription_id' => '0112319302000000118',
  'denialId' => '',
  'clientAccnum' => '945076',
  'clientSubacc' => '0000',
  'address1' => '555 SW Gimp',
  'city' => 'pdx',
  'state' => '',
  'country' => 'US',
  'phone_number' => '',
  'zipcode' => '97206',
  'start_date' => '2012-11-14 16:21:53',
  'referer' => '',
  'ccbill_referer' => '',
  'affiliate' => '',
  'reservationId' => '',
  'referringUrl' => 'http://beautifulobscene.com/join/',
  'reasonForDecline' => '',
  'reasonForDeclineCode' => '',
  'formName' => '146cc',
  'cardType' => 'MASTERCARD',
  'responseDigest' => '8273f380eaaf2f537d2737ca9910afa4',
  's2_desc' => 'Monthly / description and pricing details here.',
  's2_customer_ip' => '24.21.191.187',
  's2_invoice' => '3',
  's2_custom' => 'www.beautifulobscene.com',
  's2_p1' => '1 M',
  's2_p3' => '1 M',
  'typeId' => '0',
  'initialPrice' => '19.95',
  'initialPeriod' => '30',
  'recurringPrice' => '19.95',
  'recurringPeriod' => '30',
  'rebills' => '99',
  'initialFormattedPrice' => '&#36;19.95',
  'recurringFormattedPrice' => '&#36;19.95',
  'ip_address' => '24.21.191.187',
  's2member_log' => 
  array (
    0 => 'IPN received on: Wed Nov 14, 2012 11:22:00 pm 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.',
  ),
)
Viewing 15 replies - 1 through 15 (of 15 total)

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.