Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Two site, One Paypal account??

Two site, One Paypal account??

Locked

Views: 3,331

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Sep 2007, 7:57 PM
#1
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Two site, One Paypal account??

I have two websites and one paypal account. How do I setup my two sites with one paypal account??

I called paypal and they said to modify my notify_url on the the second site to return back to my second site.

The current code for this is:

'notify_url' => zen_href_link('ipn_main_handler.php', '', 'SSL',false,false,true),

Which is line #211 in file **/includes/modules/payment/paypal.php

**What I want to know is if I modify this line will it mess up Paypal module. How do I modify it so that it correctly comes back to:

http://photographicbattery.com/index.php?main_page=checkout_process

I understand that even though I will be using a modified notiy_url command to come back to my site 2 I will still be collecting fund under site 1's paypal account.

17 Sep 2007, 8:00 PM
#2
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Two site, One Paypal account??

Just an after thought I believe this is the correct way to modify it, am I correct??

'notify_url' => zen_href_link('index.php?main_page=checkout_process', '', 'SSL',false,false,true),

17 Sep 2007, 8:41 PM
#3
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Two site, One Paypal account??

Hi,
You do not need to adjust any files.
Zen cart gives the correct return URL to PayPal, everything automagickly.
The only configuring to be done is in the Zen Cart admin panel.
You can create, in the PayPal website, different templates for your payment pages.
I have 6 sites working with PayPal and i am using only one account.:smartalec:

Ronald.

ps You can try thing out on the paypal sandbox site

17 Sep 2007, 8:58 PM
#4
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Two site, One Paypal account??

How does it work for you??

You have main account/site in paypal and then five others that work of the same account using the same info for the main site??explain to me in a little more detail how you have your setup and working , please. I appreciate it.

17 Sep 2007, 9:27 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Two site, One Paypal account??

batteryman:

How does it work for you??

You have main account/site in paypal and then five others that work of the same account using the same info for the main site??explain to me in a little more detail how you have your setup and working , please. I appreciate it.

It's simple:

  1. create a ZC site, and set up PayPal.
  2. create another ZC site, and set up PayPal, using same account.
  3. create another ZC site. and setup Paypal, using same account.
  4. etc

They all work independently, but share the same account.

If you're confused about PayPal offering only one IPN-return-address in your profile, don't be. They only need the feature "activated". Zen Cart overrides whatever you enter there anyway.

17 Sep 2007, 9:28 PM
#6
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Two site, One Paypal account??

Hi,

I created new business id in PayPal website (create just new email addresses) for each website like [email protected] and so on and use these in zen admin panel in the paypal setup as Business ID.
I select the page style that i wish to use and have created at the paypal website and thats about it.
When Zencart connects with paypal it gives the correct return url so PayPal knows to which website it needs to return to.
I hope this makes a little sense. My english is not as good as i would like.:lookaroun
Ronald.

17 Sep 2007, 9:29 PM
#7
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Location:
Koh Samui
Posts:
120
Plugin Contributions:
0

Re: Two site, One Paypal account??

DrByte:

It's simple:

  1. create a ZC site, and set up PayPal.
  2. create another ZC site, and set up PayPal, using same account.
  3. create another ZC site. and setup Paypal, using same account.
  4. etc

They all work independently, but share the same account.

If you're confused about PayPal offering only one IPN-return-address in your profile, don't be. They only need the feature "activated". Zen Cart overrides whatever you enter there anyway.

Just do what the doctor subscribes:smile:

Ronald

17 Sep 2007, 9:38 PM
#8
batteryman avatar

batteryman

Zen Follower

Join Date:
Jul 2004
Location:
Las Vegas
Posts:
327
Plugin Contributions:
0

Re: Two site, One Paypal account??

Hello,

Ok thank you, sorry I was so confused on this. Just didnt want to make any mistakes.

Avel

4 Feb 2008, 12:54 PM
#9
nedward2007 avatar

nedward2007

New Zenner

Join Date:
May 2007
Posts:
7
Plugin Contributions:
0

Re: Two site, One Paypal account??

I too was wondering about this.
Thanks Dr Byte for your answer above. :smile:
2nd zencart here I come

Steven