PDA

View Full Version : Delavo Paypal Integration


Nick Lyttle
11-21-2010, 12:52 PM
Hello

I have a Delavo system installed on a third party website (say www.example.com/cart) where I have created a cart. The cart URL is something like www.example.com/cart/ab5.

The cart itself works fine. However, in Paypal I have set a Return URL. According to our Delavo consultant, I have put the return URL as www.example.com/cart. He said we should put that as Return URL because we may have multiple carts and Delavo expects the Return URL that way.

But after Paypal (payments work fine), when you click the Return URL to return to the cart, the URL becomes www.example.com/cart?user_id=0 and the page itself says that there was some error in your paypal payment. Could not complete.

Can anyone please help me on this one.

Warm regards,

Nick

Donna Walsh
11-22-2010, 06:39 PM
Hi Nick

That is not the way that the return url should be entered at Paypal.

Did you look at the Payment Processor manual I have written?

If you do, you wiil see that the automatic return is to be:
example.com

Do not include www. or /cart

You want ONLY the domain where you Delavo is installed, nothing that is
part of the link.

Donna

Nick Lyttle
11-25-2010, 09:38 PM
Hi Donna,

I could not see my reply and the forum asked me to log in again to submit the post. Apologies for any duplication.

Here's my original reply.

My message was not quite correct - force of habit. The autoreturn for website payments url in Paypal is as per your instructions. http://mysite.com
and IPN is
http://mysite/cart
The final url presented in the browser after clicking return to site upon successful Paypal transaction is this.
http://mysites.com/cart/order/return.html?sale_id=0
This does not happen when the packages are used, only the cart.

We are using custom templates based on ones developed by an angel but this aspect was never tested fully prior to changing the css on the templates given. However when a test cart using test product and existing Delavo templates are used, the same problem occurs with the same message exactly.
http://mysite.com/cart/order/return.html?sale_id=0,
so this is not a problem created by my tech team with any alterations to the htnl code in the processing templates.

Cheers,

Nick

PLEASE NOTE: URL cahnaged to MYSite as you cannot post your actual URL.
Donna

Donna Walsh
11-26-2010, 08:06 PM
Nick

That is incorrect!

You do not use the http:// part only mysite.com

Also for IPN, it should be http://mysite.com/ only.

mysite is where you have Delavo installed.

Donna

Nick Lyttle
11-27-2010, 05:13 PM
Hi Donna,

I've made the changes as above, but stilll I get the error. However there are two new steps in the process so the behaviour at Paypal is different.

1. A second confirmation of purchase window displays - from Paypal with a notice that the page will re-direct and to click on the link if it doesn't.
2. Then a security window alert pops up - all fine. Once accepted then the error page displays. Again.
http://getnetsystems.com/cart/order/return.html?sale_id=0

This is still using the test shopping cart with standard Delavo templates.

Cheers,

Nick

Donna Walsh
11-28-2010, 11:33 AM
Nick

I am not sure why this is not working for you and without testing your
setup, I don't know what to tell you!

Perhaps you should hire an Angel to take a look at how you have things
setup.

Donna