We apologize for the interruption. However, seabreezecomputers.com has been offering free tools and downloads for many years. Unfortunately, server expenses are now starting to exceed revenue earned. If you appreciate the free tools and downloads at seabreezcomputers.com please consider making a donation.
This script does the following with one php file, without any other scripts needed:
1. Request token from paypal 2. Create a payment by sending payment json object to paypal 3. Redirect user to Paypal with returned 'approval_url'. Paypal will redirect back to this file after payment. 4. Execute payment with paypal 5. Create encrypted download link that expires 6. When user clicks link, send download file to customer
Paypal requires TLS v. 1.2 which requires OpenSSL 1.0.1c. For more information see: https://github.com/paypal/TLS-update#php
Or download the script to setup and test for a donation: dlc_b
Downloaded 0 times.
Please make a donation to reveal the download link.
10/21/2019 - Version 1.2 - This month Paypal started rejecting the payment request with http code 415 (Unsupported Media Type) because something changed on Paypal's servers in detecting Content-Tpye of "application/json" header. Found out it was because the header was previously with a space between Content-Type and the colon. Changed it to 'Content-Type: application/json' throughout the code and now it works again.
12/18/2018 - Version 1.1 - Added support for a download countdown to auto start download and changed the download method from using readfile() to using fopen() with file chunks for better support at downloading larger files on servers with limits.
8/25/2017 - Version 1.0 - Paypal Digital Download Script Created
Last updated on October 21, 2019