Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Calendar Help Desk Mark Forums Read

Reply
 
Thread Tools
Old 10-17-2008, 07:14 AM   #1
Warrior Member
 
Join Date: Oct 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Lightbulb E-book delivery after payment confirmed

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
TheXproducts is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 03:56 PM   #2
HyperActive Warrior
 
jonhel's Avatar
 
Join Date: Oct 2008
Location: Adelaide, South Australia
Posts: 206
Thanks: 3
Thanked 13 Times in 13 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jonhel
Default Re: E-book delivery after payment confirmed

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

Quality Website help - troubleshooting, installs, web development
Jono's Jottings blog - Words of wisdom and rants of a web developer
Follow me on Twitter
jonhel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 04:40 PM   #3
HyperActive Warrior
 
Rob Ferrall's Avatar
 
Join Date: Jan 2008
Location: Michigan, USA
Posts: 447
Thanks: 13
Thanked 8 Times in 8 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: E-book delivery after payment confirmed

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).

Rob Ferrall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 05:15 PM   #4
Warrior Member
 
Join Date: Oct 2008
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: E-book delivery after payment confirmed

Thank you for your response to my questions. The answers were very helpful !!
Thank you,
TheXproducts
TheXproducts is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 08:04 PM   #5
HyperActive Warrior
 
jonhel's Avatar
 
Join Date: Oct 2008
Location: Adelaide, South Australia
Posts: 206
Thanks: 3
Thanked 13 Times in 13 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jonhel
Default Re: E-book delivery after payment confirmed

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.

Quality Website help - troubleshooting, installs, web development
Jono's Jottings blog - Words of wisdom and rants of a web developer
Follow me on Twitter

Last edited by jonhel; 10-17-2008 at 08:04 PM. Reason: grammar
jonhel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 08:34 PM   #6
HyperActive Warrior
 
Rob Ferrall's Avatar
 
Join Date: Jan 2008
Location: Michigan, USA
Posts: 447
Thanks: 13
Thanked 8 Times in 8 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: E-book delivery after payment confirmed

Quote:
Originally Posted by jonhel View Post
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.
Well, if the payment is an echeck, it forwards to the return_url as well as when it is 'instant' and 'completed'. If you do not make the payment, PayPal will send you to the cancel page (if it's specified).

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.

Rob Ferrall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-17-2008, 09:41 PM   #7
HyperActive Warrior
 
jonhel's Avatar
 
Join Date: Oct 2008
Location: Adelaide, South Australia
Posts: 206
Thanks: 3
Thanked 13 Times in 13 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to jonhel
Default Re: E-book delivery after payment confirmed

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

Quality Website help - troubleshooting, installs, web development
Jono's Jottings blog - Words of wisdom and rants of a web developer
Follow me on Twitter
jonhel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-21-2008, 08:52 AM   #8
Web Marketing Techie
 
Join Date: Jul 2004
Location: , , .
Posts: 274
Thanks: 6
Thanked 5 Times in 5 Posts
Social Networking View Member's Twitter Profile 
Default Re: E-book delivery after payment confirmed

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...

kidino is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
confirmed, delivery, ebook, payment

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 09:58 AM.