Page 1 of 1

s2Member w/CCBill account activation Email not being sent

PostPosted: April 1st, 2011, 3:43 pm
by pr0zac
Hi! I recently got s2member set up with CCBill on my site and everything appears to go well. I can sign up and the pricing is as I set it up within the s2member admin section. So far so good.

However, after I get the CCBill Email confirmation telling me that my transaction has been processed, I never get the followup Email telling the new user how to activate his account.

One thing I did notice was that on my CCBill join form I have the username + password fields displayed. So the user will naturally enter these values, but I thought s2member would ignore these. Would this necessarily cause problems with the activation Email being sent though?

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 1st, 2011, 7:18 pm
by Cristián Lávaque
Let me see if I can help.

One thing to test first is: can your server send mail using PHP's mail() function? If not, that is your problem.

Do you have logging enabled? WP Admin -> s2Member -> ccBill Options -> ccBill Account Details -> Enable Logging Routines. Check your logs to see if you can spot there what's wrong.

Make sure IPN reporting is ON in your ccBill account and use the URL found at WP Admin -> s2Member -> ccBill Options -> ccBill IPN / Bg Post Integration for it.

I would also suggest opening your IPN URL in a web browser. You should get a white screen. Nothing, nada, just an empty page. If you get something other than an empty page, please report back.

If nothing works, try disabling other plugins, until you find the culprit. Something in your installation could be causing the URL to be invalid.

Or you have PHP errors somewhere in another plugin perhaps? Check your error logs too.

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 1st, 2011, 8:17 pm
by pr0zac
Hi, thanks for the reply! I checked the basics first to see if the PHP mail() function is working and indeed it is. So next I made sure my CCBill IPN/Bg Post Integration fields were set correctly within my CCBill control panel and they also are correct.

Next I checked to make sure logging was turned on. It wasn't, so I went ahead and turned it on and saved changes (I had to chmod my logs directory to 777 apparently). After the changes were saved, I went ahead and created a test signup, expecting to see something in the /s2member-logs directory but nothing appeared. The directory is still empty.

I'm kind of at a loss for explanation at this point. I guess I'll start going in and disabling plugins and see if something else is the culprit.

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 1st, 2011, 9:26 pm
by pr0zac
I do get Email notifications when people make blog comments, so I know that part of Email notifications work at least :)

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 3rd, 2011, 2:00 am
by Jason Caldwell
Here are some things I would take a look at:

1. Is User Management turned OFF in your ccBill account?
*Important* User Management needs to be turned off in your ccBill® account. s2Member's integration with ccBill® does NOT require ccBill® to manage Usernames/Passwords. Instead, s2Member needs to be given exclusive permission to handle this for you. In your ccBill® account, see: Account Admin -> User Management. Turn this off, and choose: Do NOT collect Usernames/Passwords. You will also want to remove Username/Password references in the APPROVAL Email Receipt configured in your ccBill® account. In your ccBill® account, see: Account Admin -> Custom Emails.

SNAG-0006.jpg


2. IMPORTANT. Did you setup "ccBill® Background Post Integration"?
See: s2Member -> ccBill Options -> ccBill® Background Post Integration
SNAG-0005.jpg


3. Is s2Member's logging functionality for ccBill enabled?
SNAG-0007.jpg

If your log files do not report anything, this would indicate that Background Post Integration is not working properly. I would go back over your Background Post Integration for ccBill until you have activity in your logs. s2Member's log files can only report back to you about its communication with ccBill. If there is no communication taking place, there is nothing for it to report.

Please let us know if you continue to have trouble. You may also consider using the "Live Chat" functionality inside your ccBill Client Account, as they might be able to help you identify potential problems in the configuration of your ccBill Client account.

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 3rd, 2011, 9:49 pm
by pr0zac
RESOLVED! What was happening was that I had accidentally copy/pasted my Approval/Denial URLs into the IPN/Bg post integration fields. They looked so similar! Anyway, I now get Email confirmations on new user joins. Thanks guys!!!!

Re: s2Member w/CCBill account activation Email not being sen

PostPosted: April 3rd, 2011, 11:12 pm
by Cristián Lávaque
Thanks for reporting back! Well done for finding what the problem was and solving it! :)