Zen Cart Logo
Forums / PayPal Express Checkout support / PayPal Express on 2 websites both with ZenCart

PayPal Express on 2 websites both with ZenCart

Views: 2,941

Results 1 to 12 of 12
3 Feb 2011, 4:28 AM
#1
staradmire avatar

staradmire

New Zenner

Join Date:
Jan 2011
Posts:
9
Plugin Contributions:
0

PayPal Express on 2 websites both with ZenCart

Ho do I go about using 2 even 3 different Zen Cart websites using Paypal Express. I use the IPN_Url return but it cant be used on all the sites. How do I do this?

I read in the forum on paypal as I couldn't find anything here. 2 ways to do it. I really need help with this if someone could.. thank you

here was suggestion given to other people

1 Option -within your button code or API calls you just need to include the notify_url parameter and add the URL to the IPN script you'd like that button/call to work with. So for 1 site you might have domain.com/paypal/ipn.php and another site might have domain.com/ipn/ipn.php or whatever. Just fill in notify_url accordingly for each site's buttons and API calls.

2-option With regards to the return and IPN URLs, you can override your profile settings by using "return" and "notify_url" respectively in the code that your second website will submit to PayPal as shown in the example below:

<input type="hidden" name="return" value="http://yoursite.com/return.php"> <input type="hidden" name="return" value="http://yoursite.com/ipn.php">
3 Feb 2011, 5:05 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

I think I am correct in saying that you just need to select ONE "site return" configuration at paypal. So if you have 2 or 3 sites using the same paypal account, then select any one of them for the "site return" URL.

Zencart and Paypal are clever enough to know where to return people, so if a customer buys off site "A" and pays at paypal, then they will be returned to site "A" - even if you have configured your paypal site-return URL as being that of site "B" .

DrByte is probably the person to confirm this.

3 Feb 2011, 5:28 AM
#3
staradmire avatar

staradmire

New Zenner

Join Date:
Jan 2011
Posts:
9
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

Well I did try this but what happened was it made them a customer at both sites that I have right now. They shopped at site A... the IPN_Url is for site B... The order is on site A. but now they are a customer at site B as well.

3 Feb 2011, 5:54 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

Send DrByte a PM about this...

3 Feb 2011, 9:04 AM
#5
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

You would have to create more than one Paypal merchant account to be able to do this correctly.

When an e-check payment is made using paypal, the payment may be held for a couple of days before paypal will release the payment. Your initial reply from paypal will be "Payment Status: Pending (echeck)" When the payment is validated paypal will automatically update your site with the following "PayPal status: Completed @ [date] [time]"

This last update happens automatically. No customer or admin action required. Paypal WILL HAVE TO KNOW which site URL to use if this is going to work correctly at all.

3 Feb 2011, 10:34 PM
#6
staradmire avatar

staradmire

New Zenner

Join Date:
Jan 2011
Posts:
9
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

It is against paypal rules to have more than one business account. I would rather stay within the rules. I know there has to be a way to do this, i just dont know how.

4 Feb 2011, 2:10 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: PayPal Express on 2 websites both with ZenCart

Louis:

You would have to create more than one Paypal merchant account to be able to do this correctly.Not necessarily.
Louis:

When an e-check payment is made using paypal, the payment may be held for a couple of days before paypal will release the payment. Your initial reply from paypal will be "Payment Status: Pending (echeck)" When the payment is validated paypal will automatically update your site with the following "PayPal status: Completed @ [date] [time]"

This last update happens automatically. No customer or admin action required. Paypal WILL HAVE TO KNOW which site URL to use if this is going to work correctly at all.
I'm not sure how that is relevant to this present discussion.

4 Feb 2011, 2:11 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: PayPal Express on 2 websites both with ZenCart

staradmire:

It is against paypal rules to have more than one business account. I would rather stay within the rules. I know there has to be a way to do this, i just dont know how.
Actually you can have multiple PayPal Business Accounts, but each requires its own separate Tax ID number (TIN) and its own separate bank account.

4 Feb 2011, 2:12 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal Express on 2 websites both with ZenCart

staradmire:

Well I did try this but what happened was it made them a customer at both sites that I have right now. They shopped at site A... the IPN_Url is for site B... The order is on site A. but now they are a customer at site B as well.

Um, if both sites are running Zen Cart, then it would not do that.

The correct way to use one PayPal account with multiple stores is explained here: https://www.zen-cart.com/tutorials/index.php?article=229

4 Feb 2011, 5:36 AM
#10
staradmire avatar

staradmire

New Zenner

Join Date:
Jan 2011
Posts:
9
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

Thank you for the information.. It did happen.. I am wondering if its because the sites are so similar as the same name.. one is ,net and the other is ,com Both are almost identical to each other. When I looked in admin it had the customer on both sites.

4 Feb 2011, 8:45 AM
#11
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: PayPal Express on 2 websites both with ZenCart

staradmire:

Thank you for the information.. It did happen.. I am wondering if its because the sites are so similar as the same name.. one is ,net and the other is ,com Both are almost identical to each other. When I looked in admin it had the customer on both sites.

Check and see if the signups are identical?
As the website names are so similar they may have been confused and signed up at both sites at different times

4 Feb 2011, 8:40 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: PayPal Express on 2 websites both with ZenCart

staradmire:

Thank you for the information.. It did happen.. I am wondering if its because the sites are so similar as the same name.. one is ,net and the other is ,com Both are almost identical to each other. When I looked in admin it had the customer on both sites.
Also, have you tested your theory yourself by making sure there's no customer record in either store for you, and then creating an order on one site and checking whether suddenly you have a customer record for yourself in both sites?

I suspect gilby is correct.