Page 1 of 1

Using s2member on 2 different websites?

PostPosted: November 1st, 2010, 5:52 pm
by chelle
I would like to use s2member on a second website/domain that is not related at all to my first website.

I have the s2member pro plugin developers version, but I do not want to use PayPal Pro, just Website Payments Standard with Express checkout.

All of the settings in PayPal for things like auto return url/identity token/ipn notifications etc. are all setup for my first website - and there are no options in there for setting them up for a second. So if I install s2member on a different domain, all of those things like the auto return url and ipn notifications probably won't work - not to mention they will show my business name as the wrong website.

I called PayPal, they said that I am not allowed to have 2 paypal accounts (so much for the easy solution!) - and while it is possible to do what I want to do, it is too complicated for them to explain. :)

Any ideas or suggestions? How do I set it up with Web Payments Standard for two different domains? Anyone else try this before?

Thanks,
Chelle

Re: Using s2member on 2 different websites?

PostPosted: November 7th, 2010, 9:18 pm
by justawizard
Chelle is asking the exact same question I have; anyone know the answer to her question?

Thanks!
David

Re: Using s2member on 2 different websites?

PostPosted: November 15th, 2010, 4:39 pm
by crushthenet
Just found this in the plugin options area.....

*Quick Tip* In addition to your default PayPal® account configuration, the Auto-Return URL is also set on a per-transaction basis from within the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that's OK. s2Member dynamically sets the Auto-Return URL for each transaction. The result is that the Auto-Return URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis.

*Quick Tip* In addition to the default IPN Settings inside your PayPal® account, the IPN URL is also set on a per-transaction basis by the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that's OK. s2Member dynamically sets the IPN URL for each transaction. The result is that the IPN URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis. In fact, PayPal® recently updated their system to support IPN URL preservation. One PayPal® account can handle multiple sites, all using different IPN URLs.

Hope that helps,
Cal :mrgreen:

Re: Using s2member on 2 different websites?

PostPosted: November 17th, 2010, 3:22 pm
by chelle
I managed to get it to work on two sites - all I did was setup a different email with paypal to use for that site - the only downfall to it really is paypal does not let you specify more than one business name :( Something I thought about to get around that is create a custom check out page with a blank image header or the various logos for multiple websites...

Re: Using s2member on 2 different websites?

PostPosted: December 10th, 2010, 3:21 am
by shaunamae
Hey Cal,
Thanks for that info. Do you know if that means that if I set up the auto-return url... that only gets triggered by s2member special code for that 1 website.... so when I use my paypal account for my other ebooks and programs, it doesn't affect it at all. I haven't set up the autoreturn bc of that reason. I was thinking I would need to set up a new paypal account per website... but thanks to your post, looks like I don't have to.
Shauna

Re: Using s2member on 2 different websites?

PostPosted: December 11th, 2010, 12:33 am
by slw081066
Can anyone explain to me, as if I am completely stupid, which I sort of am when it comes to some terms. I am completely self taught in using wordpress so I'm dangerous, but I really want to use this plug in on several of my niche sites.

I ran into the problem once I went to the 2nd site, and realized that you can't enter more than one um I think it's called IPN address into paypal. Can anyone just give me step by step what I need to do differently when I plan to use this plug in on more than one site (namely about 10 or more).

I do plan to upgrade to pro / developer. I build wordpress sites for non profits (usually free) as well as my own affiliate niche sites so I feel this is best for me but I want to make sure I can get it to do what i want and that I can understand it first. Thanks .

Sincerely,

Stephanie

Re: Using s2member on 2 different websites?

PostPosted: December 13th, 2010, 2:04 am
by chelle
I am self taught and dangerous too :)

You don't need to worry about changing anything in Paypal for the second site, only the first one.

So, here are some vague but hopefully useful step by step instructions:

1. Set up a second email address in your paypal account for the additional site
2. Go through s2member Paypal options and enter the second email address, skip paypal ipn section, and then paste your identity token (can use same one for more than 1 website) in the auto return integration section
3. Configure other options as necesarry

Hope that helps clear up the confusion!

Re: Using s2member on 2 different websites?

PostPosted: January 6th, 2011, 4:36 am
by shaunamae
Thanks Chelle. Sorry it has taken me so long to get back to the site to thank you ! I will try that and see if it works! Shauna

Re: Using s2member on 2 different websites?

PostPosted: January 10th, 2011, 6:30 pm
by tlemmonds
Thanks Chelle,

This solution worked for me.

In sandbox testing...

1) setup two business accounts (email1 and email2)
2) setup two s2member installation (blog1 and blog2)
3) In the s2member settings, I setup email1 with blog1 and email2 with blog2 in paypal options
4) Turned on IPN and Auto Return in Paypal and entered the security key from paypal into Auto Return settings for S2Member
5) At that point both worked when running a test purchase

Hope this helps someone else that has been banging their head against the wall... :roll:

Re: Using s2member on 2 different websites?

PostPosted: March 8th, 2011, 9:58 pm
by slw081066
YAY Thank you!!!! I'm so stupid that I couldn't find this board and am thankful I got an email with notification!

I'm going to go try this this weekend!

Thanks!

Re: Using s2member on 2 different websites?

PostPosted: March 9th, 2011, 12:04 am
by Cristián Lávaque
> Chelle and tlemmonds

Thanks a lot for sharing that tip! It's very useful to know. :)

Did you not have to use the auto-return and IPN URLs in the button code as crushthenet mentioned earlier to make this work?

Re: Using s2member on 2 different websites?

PostPosted: March 29th, 2011, 8:37 pm
by cassel
OK, i followed those instructions because i also had the issue of 2 different sites/shopping carts. Now, i am just a bit anxious as i am worried i might have messed up what was set up for the first store.

- i set up a second email in Paypal
- i went to Website Payment Preference, and entered the Auto-Return URL that s2Member gave me
- i saved the changes
- was given one of those looooooooooooong codes, that i entered in the PDT Identity Token
- but from the Tip given above (and in the s2Member) it says that s2Member will overwrite as a per-transaction basis. However, should i reset the Auto-Return URL to what it was BEFORE i put the one s2Member provided and let s2Member overwrite when it is going through a transaction, while leaving the first store as the default? Can i go back and re-enter the previous URL for my first store while it would recover the exact same Identity Token or will i have to mess up with something else now?

I am really concerned that i MIGHT have messed up something that WAS working fine.

Re: Using s2member on 2 different websites?

PostPosted: March 29th, 2011, 9:10 pm
by cassel
Just a little update. I re-entered the initial Auto-Return URL that was there from my first site, after i entered the second one and got the Identity Token. I was afraid i would get yet another Identity token and would have to figure out where to put it in the first store installation (was zencart so everything was set up automatically). But no, it just gave me a message that my preferences were reset. No code, nothing that looks like it needs to be entered anywhere, so i am hopeful it is working.

I am not yet ready to test the s2Member, but i hope to get sales on my zencart this week to see if THAT is still working as it was before.

Re: Using s2member on 2 different websites?

PostPosted: March 29th, 2011, 9:52 pm
by Cristián Lávaque
cassel wrote:I hope to get sales on my zencart this week to see if THAT is still working as it was before.


You could make a test purchase in your ZenCart store, but if you also want to check that the PayPal configuration looks right with the data you have in your PayPal account, go to ZenCart's Admin -> Modules -> Payment -> PayPal.

Re: Using s2member on 2 different websites?

PostPosted: March 31st, 2011, 6:12 am
by Jason Caldwell
Thanks for bringing this thread to my attention Cristián.

chelle wrote:I called PayPal, they said that I am not allowed to have 2 paypal accounts (so much for the easy solution!) - and while it is possible to do what I want to do, it is too complicated for them to explain. :)

Any ideas or suggestions? How do I set it up with Web Payments Standard for two different domains? Anyone else try this before?

PayPal® IPN/PDT Services / Multiple Site Configurations

PayPal IPN Service:
*Quick Tip* In addition to the default IPN settings inside your PayPal® account, the IPN URL is also set on a per-transaction basis by the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that's OK. s2Member dynamically sets the IPN URL for each transaction. The result is that the IPN URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis. In fact, PayPal® recently updated their system to support IPN URL preservation. One PayPal® account can handle multiple sites, all using different IPN URLs.

*NOT True w/ PayPal® Pro* With PayPal® Pro integration you absolutely MUST set an IPN URL inside your PayPal® account. PayPal® Pro integration does NOT allow the IPN location to be overridden on a per-transaction basis. If you're using a single PayPal® Pro account for multiple cross-domain installations, and you need to receive IPN notifications for each of your domains; you'll want to create a central IPN processing script that scans variables in each IPN response, forking itself out to each of your individual domains. In rare cases when this is necessary, you'll find two variables in all IPN responses for s2Member. The originating domain name ( i.e. localhost ) will always be included somewhere within, either: custom and/or rp_invoice_id; depending on the type of transaction. These variables can be used to test incoming IPNs, and fork to the proper installation. For your convenience, an example script has been provided inside: /s2m-pro-extras/paypal-central-ipn.php.

You can download all Extras here: s2m-pro-extras.zip.


PayPal® Auto-Return/PDT Service:
*Quick Tip* In addition to the default Auto-Return/PDT configuration inside your PayPal® account, the Auto-Return URL is also set on a per-transaction basis from within the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that's OK. s2Member dynamically sets the Auto-Return URL for each transaction. The result is that the Auto-Return URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis.

*PayPal® Pro Tip* The tip above, is ALSO true for PayPal® Pro integration. There are no conflicts with Auto-Return/PDT.