• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Protect Download Till Credit Card Clears

Hello. I'd rather not reveal my inexperience, but after looking at 1255 responses, I have to just ask for help!
I want to offer an item for sale (ebook in pdf or zip file), take a credit card, when it clears allow them to download the file (pdf or zipped file). I've got the shopping cart stuff started, but more importantly, how would I provide a password protected item that only works when the credit card clears?
Sounds crazy? It seems impossible to me. I can use javascript - I'm using Dreamweaver MX. I don't have exp in ASP or PHP but am willing to learn. Any help appreciated.
1 Solution
Most shopping carts give you the ability to redirect the user to an "authorized" or "rejected" page based on whether the CC is authorized or rejected. If not, you can build your own logic to do so based on the response you get from the CC clearing company.

The most basic way to deal with this is to add the link to the appropriate PDF file to the "authorized" page.

You might want to use and check a session variable to make sure the user doesn't give a link to the "authorized" page to another user.

CoffeeCup Software ( http://www.coffeecup.com )have a password wizard program, which will allow you to create multiple user names and passwords for any number of web pages.  You could place your file on your site with no direct link and password its access.  When the credit card has cleared you could set up a user name for your customer on that page and e-mail the url, user name and password allowing them access.  I know of some sites that use this method and allow you a certain time limit to download before the user name gets deleted.  May not be an ideal solution, but it should work.

This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

If the user does not know how to close the question, the options are here:


I never got any feedback from the user, so I figured she had found her solution.

webweavergirlAuthor Commented:
Thanks for your suggestions and solutions. I'm sorry I had forgotten about this question. I liked the answer from music man because in my case, I haven't had enough experience with shopping carts to buy one yet. Also found out that Paypal offers somewhat of a solution, but must investigate further.

This place is the best!

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now