Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I have built a website in which I sell an item and receive payment via PayPal. So I have downloaded the button code and inserted it into my html page. When someone clicks an image it shows him the PayPal site where he can pay.

If he chooses to pay, I will get the money but he won't get the file that he should. I googled it and I realized that I haven't written any code for the download part. I can't find how to do it either.

What do I have to do so when someone clicks that image and he pays me via paypal, so that he can automatically download the file? I appreciate your help!
Posted
Updated 6-Mar-12 6:04am
v2

I have worked with PayPal myself - everything your looking for is in the PayPal developer guide - presumably your using a Buy Now button (or similar) so look at the documentation for that. I'll admit it's not easy, in fact it's an absolute pain trying to understand their stuff, but really (and unfortunately) there's nothing better and it is far too much/too complex to put into just one answer. This link ought to help get you started:


Website Payments Standard Integration Guide[^]


Hope this helps,
Ed
 
Share this answer
 
i think i have found what i was looking for.Phpacademy.org helped me a lot.There video tutorials on youtube too.At this point now i can configure if the buyer paid or not.The last thing to do now is to let the buyer download the file that he paid for. How do i do that ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900