How can Paypal automatically call a website after a succeeded payment?

TimeFreezer
Contributor
Contributor

I want to be informed thru a website that somebody payed, not only an email. How can I do this and where?

Login to Me Too
5 REPLIES 5

Gabriel_PP
Moderator
Moderator

Hi @TimeFreezer 

 

Do you mean redirecting your buyers to a "thank you for your purchase" page after the payment?

You could try to set up the Auto-return feature on your account in here

More information on how to set it up in here.

 

I hope this helps out.

Thanks,

Login to Me Too

TimeFreezer
Contributor
Contributor

Hi Gabriel_PP

I am sorry to say, but your solution is actually useless. One of your links leads to nothing relevant and the other to nothin (blocked).

I do not only want to program a link to say "thank you". I want the link to be active and passing data to my website, so that I can immediately and without touching it manually deliver the product that somebody buys.

concrete: At the end of the successful payment Paypal should call a link like this:

 

http://<website from me written in php>?transaction-number=xxx&&name-of-the-customer=nnn&email-of-the-customer=yyy&name-of-the-product=zzz
In fact I need the informations that I get per email in this link. Email is too slow, the customers want immediate delivery. They don't want to wait for me being active.

How can I do that?

 

Best regards,

 

Marc_L

Login to Me Too

Gabriel_PP
Moderator
Moderator

Hi Marc,

 

I appreciate your feedback. Apologies regarding the previous links, there was an issue with the form.

 

Here are the links: How to set up an  Auto Return feature:

https://developer.paypal.com/docs/classic/admin/checkout-settings/#auto-return-the-buyer-to-your-web...

 

You should be able to enable it in here: https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-website-payments

(You have to login to your PayPal account)

 

In order to obtain part of the details of the transactions within the URL, you need to set up the feature PDT.

You can see the variables returned by PDT in here: https://developer.paypal.com/docs/ipn/integration-guide/IPNandPDTVariables/

(At the end)

 

Please note that the reference to the "thank you page"; it's just to customize the page of the destination of your Return URL + PDT variables.

 

I hope this helps,

 

Thanks,

Login to Me Too

TimeFreezer
Contributor
Contributor

ok. that looks better. I tried to catch data from pdt with sandbox and php but nothing came in return.

 

Do I need a business account for that?

 

Here is my test reply address: http://timefreezer.net/paypal/thankyou.php

 

 

Login to Me Too

PayPal_Olivia
Moderator
Moderator

Hi @TimeFreezer,

 

Thank you for your posts! For more detailed information about IPN and PDT, you may want to post your question in the Merchant Integration Technical Support Community

 

I hope this helps!

 

Olivia

 

If this post or any other was helpful, please enrich the Community by giving kudos to its author, accepting it as a solution, and/or coming back to assist others. Members make this Community great!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.