My wife’s website Sue Horowitz Modern Jewish Music sells sheet music as PDFs. These are being sold by simple hosted PayPal buttons. Sometimes we go away so I thought it would be nice to automate the process. After searching for a bit, I found a very helpful PHP script here emanueleferonato.com. This script allows you to receive information from the PayPal IPN (Instant Payment Notification) system. The free PHPMailer script allows you to easily send emails via PHP with appropriate headers and attachments. By combining these two scripts, I was able to create my own little automation of digital goods sales.
Let me know in the stream below if you have managed the sales of digital goods and how you did it!