Confirm order after paypal payment

November 2, 2007

The last time I did a site with payment via paypal was in 2005, and because of paypal’s flow at the time most orders were unconfirmed. It goes like this – user puts stuff in cart, clicks checkout, goes to paypal, pays, and then sees a screen saying “Your payment is complete. Click here to return to merchant’s site”. Most people don’t bother to make that final click, so I couldn’t confirm that the order had been paid for.

Maybe I missed this back in 2005, but I was doing another site yesterday and came across a parameter called “notify_url” you pass in the POST vars to paypal. It’s a url that paypal calls when the payment goes through, so I was able to use that to confirm the order had been paid for, without the user having to return to the merchant’s site after payment. Very handy

Advertisements

One Response to “Confirm order after paypal payment”

  1. sandrar Says:

    Hi! I was surfing and found your blog post… nice! I love your blog. 🙂 Cheers! Sandra. R.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: