PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

PayPal Pro on WP Multisites

s2Member Plugin. A Membership plugin for WordPress®.

PayPal Pro on WP Multisites

Postby ClementN » December 3rd, 2011, 3:12 pm

Hello all,

I didn't find the answer on search...

I like to know if the integration S2Member Pro - PayPal Pro and WP Multisite is in the short term RoadMap for S2Member Pro.

It will be a great option to have a return link (which is fixed on the PayPal Pro) to the main WP website and then have the S2M plugin redirect the user to the appropriate WP Website in the MultiSite installation.

Thank you very much,
User avatar
ClementN
Registered User
Registered User
 
Posts: 6
Joined: December 3, 2011

Re: PayPal Pro on WP Multisites

Postby Cristián Lávaque » December 4th, 2011, 2:24 am

You mean that after selling the user a level that'd let him have a site, after payment he'd be taken back to that site he now can have?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Pro on WP Multisites

Postby Jason Caldwell » December 4th, 2011, 3:23 am

Yea, so sorry. Can you please clarify just a bit for us?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: PayPal Pro on WP Multisites

Postby ClementN » December 4th, 2011, 5:25 am

Right .. Sorry I was not clear on the first topic.

The scenario is like that.

There are 3 wp (different) websites like that:

domain.com (main site)
siteA.domain.com
siteB.domain.com

All of them sells memberships on their own content (not related to each other).

It will be great if we can use PayPalPro on each one (same PayPalPro account for all of them).

My idea is to have something like https://domain.com/return.php set at PayPalPro ..

Then, when someone order access to http://siteA.domain.com to use the https://domain.com/return.php as return page then to be redirected to the http://siteA.domain.com .

In my logic now, that means probably we'll not be able to use the forms.


Another scenario can be to have the forms for all of the websites on https://domain.com and to be able to order a membership or page access for http://siteA.domain.com

At the end, I like to be able to use PayPalPro (including forms and coupons) on a WP Multisite for each website in the installation.

I am not sure this time I was much clear :)
User avatar
ClementN
Registered User
Registered User
 
Posts: 6
Joined: December 3, 2011

Re: PayPal Pro on WP Multisites

Postby Jason Caldwell » December 4th, 2011, 9:31 pm

Thanks for the follow-up.
At the end, I like to be able to use PayPalPro (including forms and coupons) on a WP Multisite for each website in the installation.
What you've described is certainly possible with s2Member Pro Forms for PayPal Pro. You can certainly use s2Member Pro Forms on each of these sites, and in combination with Custom Return URLs on Success, you can redirect a Customer to any page you choose after checkout is completely successfully.

Regarding the ability to sell Blogs too...
This is also possible, but in this case you would need to activate s2Member on the Main Site of a Multisite Network installation. All sales would be processed on your Main Site, and access to create a Child Blog on your Network can be granted after checkout is completed, via /wp-signup.php. You might place a link to this Blog Creation form on your Login Welcome Page of the Main Site.

For further details, please see this section of your Dashboard, on a Multisite Network installation of WordPress. See: s2Member -> Multisite (Config).
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: PayPal Pro on WP Multisites

Postby ClementN » December 5th, 2011, 3:56 am

I see .. I was confused by
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.


But in my scenarios, the websites uses different subdomains and not different domains.

I have to digg more to understand how to make the set-up ..

At this moment I am not sure what url to put at PayPal Pro as IPN URL.

Thank you very much for your help..
User avatar
ClementN
Registered User
Registered User
 
Posts: 6
Joined: December 3, 2011

Re: PayPal Pro on WP Multisites

Postby Jason Caldwell » December 5th, 2011, 4:15 am

Thanks for the follow-up.

s2Member will consider each sub-domain to be a different domain, and each of your sub-domains will be running a separate instance of s2Member within WordPress.

You will want to use the example script /paypal-central-ipn.php, modify it to suit your needs, and upload it to your site. Then, you'll set your IPN URL inside your PayPal account, to the location of this central IPN handler, which will fork each IPN it receives from PayPal, to the proper instance of s2Member ( i.e. a particular sub-domain ).

There is some additional detail inside this file:
paypal-central-ipn.zip
(2.04 KiB) Downloaded 9 times
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron