Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For digital products, a download link is included in the emailed receipt. I use the Dropbox API to create a temporary download link that is active for 4 hours. I don't expose the Dropbox link though. Instead, the customer clicks a Snappy Checkout link and I redirect them to the Dropbox link.

That extra step is in there because I check the customer's IP address to ensure it's the same on every download attempt. If the IP address changes, I send the customer a new download link via email.

I know it's not possible to stop sharing files across the Internet. I think this process does a good job of preventing it -- without adding too much grief.

When purchasing a product that is shipped, shipping fields will appear below the credit card information fields.



> That extra step is in there because I check the customer's IP address to ensure it's the same on every download attempt. If the IP address changes, I send the customer a new download link via email.

That is a very clever solution to a very difficult problem. I love it!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: