Ebook download

kbnmatt10
Contributor
Contributor

How do I get code to download my file?  And then what do I do with the code?

Login to Me Too
1 REPLY 1

skier
Advisor
Advisor

There's really no code provided.

 

Easiest method, use a 3rd party Digital Goods Delivery Service. For example, this one is great for folks who don't want to deal with coding their own stuff.

Next method for Digital Downloads is to enable the Auto Return feature in your Account Profile. After a successful transaction, the buyer is immediately sent back to a specific page where they could download the item. Note, using this method, the URL can be shared with others as it is not secure.

Another method would be to use PayPal's IPN feature. This method does require additional programming skills. After the payment is processed, PayPal posts the transaction details to your IPN script. At this point, you could have your IPN script either send out an email with the item as an attachment, or an email that has a link to a secure page where the item can be downloaded from.

 

 

 

"Auto Return" immediately brings your buyers back to your specified URL upon payment completion. This feature replaces the standard PayPal hosted "Payment Done" page with a page hosted on your website.

To set up Auto Return, you need to turn it on in your Account Profile and enter the return URL that will be used to redirect your buyers back to your site.

Log in to your Account
Select "Edit Profile"
Under "Selling Preferences"
Select "Website Payment Preferences"
Note first option - Select "On" - Auto Return for Website Payments
Enter the Return URL.
Click "Save."

The Return URL specified in your PayPal Account is good for all transactions however, you can override this by using the "return" variable in your individual item button code and direct the buyer to a different URL.

The example line below is for "clear text" item button code:

 

 

<input type="hidden" name="return" value="http://www.yourwebsite.com/successful.html">

 

 

 

 

 

 

How Auto Return it works:
* If the buyer pays with a PayPal account, they are automatically taken back to the site.

* If the buyer pays with the Credit Card Option, they are taken to the receipt page where PayPal gives them the chance to print out a receipt. This is a legal requirement. After that, the buyer must click on the "Return to Merchant" link in order to return to the site.

 

 

Regards,

 

 

skier

 

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.