Page 1 of 1

Members not being added after paying

PostPosted: May 10th, 2011, 12:26 pm
by dskallman
Hi,

I have a couple of sites I support that use the s2member plugin, since the update to 3.1 we have had issues not reading the payments from PayPal. I have searched through the forums and made changes I saw and rechecked settings and we are still having to manually add members. Are there any known reasons why it isn't reading the information from PayPal? I have all info needed in the account details, plus the Enable Logging Routines is on. I have the IMP set, but PayPal keeps sending me notification stating that URL is failing, so I've changed it to the main one. And the PDT settings are on with the appropriate code from PayPal. Please advice, as we cannot sustain the website like this.

Thanks,

Dana

Re: Members not being added after paying

PostPosted: May 10th, 2011, 12:36 pm
by rossagrant
Hey Dana, what is the IPN URL that you see in the backend of S2Member?

Go to Paypal Options --> Paypal IPN Integration

Does this match the URL that you have inputted over at Paypal?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 12:46 pm
by dskallman
Yes it did, until today. I changed it since I kept getting the same message from PayPal over and over again and it was: http://myurl.org/?s2member_paypal_notify=1, but not I just made it http://myurl.org. I made changes and checked several times before I contacted anyone here to make sure I didn't miss anything. I am still having to put members in manually and was still getting those messages about the URL not being correct from PayPal.

Any thoughts on why?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 1:22 pm
by rossagrant
Hmm. as long as the URL matches what you have in the backend with what you input at paypal then it should be able to communicate.

Seems a little odd.

I think it's one for Jason to look at as it's the second time I've come across this issue on the forum in the last 2 days.

Cristian, can you chip in here?

I'd probably fill in the contact form and get a message over to Jason if Cristian cannot shed any light here.

http://www.s2member.com/contact/

Sorry I can't help further.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 1:34 pm
by Cristián Lávaque
Thanks Ross.

Dana, you have to use that IPN URL because it's the one that'll handle the IPN connections properly, others will just cause you to get an email from PayPal saying the URL is wrong.

Check that this is not being part of the problem, please viewtopic.php?f=36&t=1066

Could you post some of the IPN log entries for the transactions giving you trouble? (x out any private information, please)

WP 3.1 was a full of changes, for sure. Did you follow these s2Member update instructions? viewtopic.php?f=36&t=247

What do you mean by IMP?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 1:44 pm
by dskallman
That was a typo, it was supposed to be IPN.

I just changed the URL back on PayPal and will see if more messages come. I have done everything I've read and search through the forums. I don't know what else it could be. How can I send you the logs, where do I get that from?

Any other thoughts on why that may be happening?

Thanks for your quick response too.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 2:17 pm
by Cristián Lávaque
No problem. :)

Good, thanks for changing the IPN URL back.

You can find the IPN log here /wp-content/plugins/s2member-logs/.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 3:24 pm
by dskallman
When you say no personal info on the log, is it just emails and names, or the PayPal IDs too?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 3:31 pm
by Cristián Lávaque
You can remove those too.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 4:42 pm
by dskallman
Quick question, what is the custom= mean? I ask since the other site I have this issue is in on a multisite and uses domain mapping, could that be why the issue is?

I send file via email.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 4:53 pm
by Cristián Lávaque
Thanks for the file. :)

Code: Select all
    2 => 'Unable to verify _SERVER[HTTP_HOST]. Please check the `custom` value in your Button Code. It MUST start with your domain name.',


custom is one of the shortcode attributes and it must start with your domain. WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes (Explained)

Could you post the s2Member shortcode you're using for the button/form you're using to sell?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 7:31 pm
by dskallman
That was the error, it was .com instead of .org, happened due to site transfer.

How would this apply to multisite if they are using domain mapping?

Thanks for your help Christian!

Re: Members not being added after paying

PostPosted: May 10th, 2011, 7:35 pm
by Cristián Lávaque
Hey! I'm glad you found the issue. :)

It's the same, each blog in the multisite network will have its domain (can be a subdomain) and the shortcode they use must be correct. In multisite each blog has its own instance of s2Member, independent of the others, so each will have its PayPal settings as any separate WP installation with s2Member does.

Are they all sites you manage in the network or are you letting users of your main blog get child blogs with you?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 7:41 pm
by dskallman
It's both, they can use sub-directory URL or have their own domain, whichever they prefer. The shortcode generator would always be correct, right?

Re: Members not being added after paying

PostPosted: May 10th, 2011, 7:44 pm
by Cristián Lávaque
Yeah, the generator would be correct if thy use the shortcode in the blog they generated it from.

I understand you're giving blogs to others, in that case it's really important that you add this line to your /wp-config.php file:

Code: Select all
define('MULTISITE_FARM'true);  


That will add a default layer of security to all blogs within your network, with respect to s2Member.

Re: Members not being added after paying

PostPosted: May 10th, 2011, 8:05 pm
by dskallman
Yes that code is in the wp-config.php file.

Thanks for all your help, I am glad I can stop hitting my head on the wall. :)

Re: Members not being added after paying

PostPosted: May 10th, 2011, 8:12 pm
by Cristián Lávaque
You're very welcome. Let us know if you need help with anything else. :)