![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Warrior Member
Join Date: Oct 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
|
Can anybody tell me how to send an ebook that has been purchased from my website? I have a pay pal button on my website. I want the customer that buys the the e book to receive it after payment has been confirmed. How do I do this automatically?
Any Advise ??? Thanks, TheXproducts |
|
|
|
|
|
#2 |
|
HyperActive Warrior
War Room Member
Join Date: Oct 2008
Location: Perth, Western Australia
Posts: 226
Thanks: 3
Thanked 17 Times in 17 Posts
|
You do this by including the URL of your success page (i.e. the page to send the purchaser to after the payment is completed) in your Paypal configuration and there are two ways that you can do this:-
1) Login to your Paypal account and access your profile and go to the Website Payment Preferences section. 2) Add a line to the Paypal form code (sorry the forum won't let me include an example). You'll find all of this covered in Paypal's Website Payments Standard Integration Guide Hope this helps, Jonathan |
|
Warrior For Hire - troubleshooting, installs, web development
|
|
|
|
|
|
|
#3 |
|
HyperActive Warrior
Join Date: Jan 2008
Location: Michigan, USA
Posts: 442
Thanks: 13
Thanked 10 Times in 8 Posts
|
You could try a service like e-junkie:
E-junkie Shopping Cart for selling downloads & tangible goods This is great for the non-coders and those who don't want do deal with hiring somebody to write/tweak/install a script. PayPal has several code samples here: https://www.paypal.com/us/cgi-bin/we...es-pop-outside These codes deal with PayPal's IPN which will allow you to validate the payment and do pretty much whatever you want in terms of records keeping, product delivery, etc. If you're wanting product delivery only after confirmed payment, you'll need to avoid relying on PayPal's returl_url variable as that'll forward your buyers to that URL regardless of the payment's status (I am pretty sure, anyway). |
|
|
|
|
|
|
|
|
#4 |
|
Warrior Member
Join Date: Oct 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
|
Thank you for your response to my questions. The answers were very helpful !!
Thank you, TheXproducts |
|
|
|
|
|
#5 |
|
HyperActive Warrior
War Room Member
Join Date: Oct 2008
Location: Perth, Western Australia
Posts: 226
Thanks: 3
Thanked 17 Times in 17 Posts
|
I don't think that's quite right, it won't forward to the success page if the payment does not go through.
However, people can obviously share the URL of that page with their friends etc. so it's not secure in any way. You can also include a fail page, which they are directed to if their payment fails or they do not complete the transaction. |
|
Warrior For Hire - troubleshooting, installs, web development
Last edited by jonhel; 10-17-2008 at 09:04 PM. Reason: grammar |
|
|
|
|
|
|
#6 | |
|
HyperActive Warrior
Join Date: Jan 2008
Location: Michigan, USA
Posts: 442
Thanks: 13
Thanked 10 Times in 8 Posts
|
Quote:
As far as problematic payments, all I know is that PayPal passes along different statuses - like 'denied', 'expired', 'failed', etc. to your return URL - though I have never personally received those types of payments. It is possible that they just post this info to your return URL and send you someplace else - but I am just guessing that you are sent to the location where they post the data. It makes sense, but PayPal can post data to one page and send somebody someplace else - that's entirely possible. I should have reworded my response a bit differently as I know that echecks still forward to your return_url, but I'm not sure where the user is redirected when the payment is bad for some reason. | |
|
|
||
|
|
|
|
|
#7 |
|
HyperActive Warrior
War Room Member
Join Date: Oct 2008
Location: Perth, Western Australia
Posts: 226
Thanks: 3
Thanked 17 Times in 17 Posts
|
Good point - you can configure the Paypal settings also to block echecks which I have always done.
You're right IPN is safer because it has a backend component to it but it might be more advanced than was being asked. Jonathan |
|
Warrior For Hire - troubleshooting, installs, web development
|
|
|
|
|
|
|
#8 |
|
Web Marketing Techie
War Room Member
Join Date: Jul 2004
Location: , , .
Posts: 318
Thanks: 12
Thanked 14 Times in 9 Posts
|
Here's a quick Paypal IPN tutorial from my blog.
The Easy Way To Protect Your Digital Download With Paypal IPN -- MiniSiteGallery.com Hope this helps... |
|
|
|
|
|
|
![]() |
|
| Tags |
| confirmed, delivery, ebook, payment |
| Thread Tools | |
|
|
![]() |