Post by LIBERTY_GUY » Fri Jan 10, 2014 7:04 pm

Hi. I took an order on an OpenCart powered site earlier this week - Yippee! Problem is, I only knew about it from the PayPal email as my OpenCart dashboard was showing no sales at all.

Having a quick browse on the forum, one of the reasons for this, was stated as possibly being IPN was switched off on the PayPal console. Had a quick check and it was. But here lies a fresh problem. PayPal IPN only allows you to specify one IPN return URL, which would suggest it is not possible to have more than one Opencart site. A couple of postings on PayPal's own forum has also highlighted the fact that you can only have one return URL.

I only use PayPal for my online payments, as I am only interested in a transactional charging system. I use PayPal std as opposed to PayPal Express, as I know many customers don't like the concept of 'opening their wallet' before they know what the bill is.

Does anyone have any practical suggestions as to how I can have more than one Opencart powered site, whilst still staying with PayPal as the payment processor?

New member

Posts

Joined
Fri Jun 21, 2013 5:14 pm

Post by bango » Fri Jan 10, 2014 7:56 pm

you can use the PayPal payments standard or running multi store with some .htaccess manipulation
with PayPal std you have no limit to use it, even 1000 website

the issue with order douse not registered may come from domains that not actually pointed to server else just configure in hosts file..

hope I'm understand you.

Newbie

Posts

Joined
Thu Jan 09, 2014 1:56 am

Post by LIBERTY_GUY » Fri Jan 10, 2014 8:50 pm

Nope let me put it another way. You have two separate shops, each on its own domain. Shop A and shop B.

If you set up the IPN return url in the PayPal console to site A, it will (should) show any sales on the dashboard of site A. If however you make a sale on site B, there is no way for PayPal to update the database on site B as the IPN settings on the PayPal site server are pointing to site A. Remember PayPal only has the facility to allow you to specify ONE IPN return url. You cannot return to multiple sites as that facility is simply not available on the PayPal system..

.

New member

Posts

Joined
Fri Jun 21, 2013 5:14 pm

Post by grgr » Sat Jan 11, 2014 12:27 am

The return/IPN address is sent along with the payment information. You need to fill something in as far as I am aware, but it matters little what it is.

A snippet of the payment form (it is all hidden so you don't see any of this):

Code: Select all

<input type="hidden" value="http://www.domain.co.uk/index.php?route=checkout/success" name="return">
<input type="hidden" value="http://www.domain.co.uk/index.php?route=payment/pp_standard/callback" name="notify_url">
<input type="hidden" value="http://www.domain.co.uk/checkout" name="cancel_return">

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by Qphoria » Sat Jan 11, 2014 12:38 am

LIBERTY_GUY wrote:Hi. I took an order on an OpenCart powered site earlier this week - Yippee! Problem is, I only knew about it from the PayPal email as my OpenCart dashboard was showing no sales at all.

Having a quick browse on the forum, one of the reasons for this, was stated as possibly being IPN was switched off on the PayPal console. Had a quick check and it was. But here lies a fresh problem. PayPal IPN only allows you to specify one IPN return URL, which would suggest it is not possible to have more than one Opencart site. A couple of postings on PayPal's own forum has also highlighted the fact that you can only have one return URL.

I only use PayPal for my online payments, as I am only interested in a transactional charging system. I use PayPal std as opposed to PayPal Express, as I know many customers don't like the concept of 'opening their wallet' before they know what the bill is.

Does anyone have any practical suggestions as to how I can have more than one Opencart powered site, whilst still staying with PayPal as the payment processor?

Read the last 2 sentences here:
http://forum.opencart.com/viewtopic.php?f=136&t=30716
If using Paypal Standard so you don"t need to worry.

However if using Paypal Express, Advanced, or a few other ones that do not support notify_url override, your question is a real problem. ZenCart handles this by offering a common "ipn" callback script that sits in the root of the cart next to index.php... and routes ALL ipn traffic through there by setting that file hardcoded in your ipn url in your paypal account. Then lets that do the intelligent routing to the correct location. So we may need to do something like that.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by grgr » Sat Jan 11, 2014 4:16 am

Qphoria wrote: However if using Paypal Express, Advanced, or a few other ones that do not support notify_url override, your question is a real problem.
I thought PayPal Express did have an override "PAYMENTREQUEST_0_NOTIFYURL" ?

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by LIBERTY_GUY » Sat Jan 11, 2014 6:35 am

Thanks for your replies and help guys. It is much appreciated.

I tried the called routine you suggested in the quoted thread Qphoria and I do indeed get a blank page rather than an error message.

Nice to know that Opencart overwrites the return URL, as I want to start work on a second Opencart site soon. Much of the confusion comes from PayPal's poor documentation and lack of support on the PayPal forums, where folks have asked about multiple IPN's but got zilch response from PayPal.. As many folks have commented before, PayPal is real good at quickly charging fees, but not so keen in other arenas.


Thanks again guys. Am all sorted now. :)
.

New member

Posts

Joined
Fri Jun 21, 2013 5:14 pm

Post by Qphoria » Fri Jan 17, 2014 12:05 am

grgr wrote:
Qphoria wrote: However if using Paypal Express, Advanced, or a few other ones that do not support notify_url override, your question is a real problem.
I thought PayPal Express did have an override "PAYMENTREQUEST_0_NOTIFYURL" ?
I'll have to look more into that, but I don't see that in their guides here:
https://developer.paypal.com/docs/class ... ngStarted/

But now I see it here:
https://developer.paypal.com/docs/class ... APIFields/

OpenCart has been criticized for not having enough documentation..
But Paypal has 15 guides for the a single API and they all have different information so its easy to get lost

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: Majestic-12 [Bot] and 79 guests