Paypal IPN notification urls


https://forum.kartris.com/Topic84.aspx
Print Topic | Close Window

By mike - Fri 20 Aug 2010
Hello again,
just a quick question regarding setting up Paypal to work with Kartris. What notification url should I be using to set up IPN in Paypal, so that Kartris will receive notification of refunds etc?

Thanks,
Mike
By Paul - Sun 22 Aug 2010
On the Kartris side, in the paypal settings in the back end, you need to set up your account email address.

For dummy transactions use this for URL:

https://www.sandbox.paypal.com/cgi-bin/webscr

For live ones, use:

https://www.paypal.com/cgi-bin/webscr

Then, within the paypal account panel, make sure you have the 'instant payment notification' preference turned on in. Also set auto return on, and point it to this URL:

http://www.mysiteaddress.xyz/CheckoutComplete.aspx

Redirecting back to this page will run google analytics ecommerce tracking if that is setup on your store. This is client-side javascript so cannot be run by the callback itself (which displays to PP), so we try to run it as soon as the user returns from the payment gateway. Unfortunately PP makes this is less reliable by having a 5 second delay after payment before returning to the store. There is a chance some customers close out at this point so their orders aren't tracking by Google analytics. But there is no way around this sadly, until PP can allow you to configure zero delay.