Question:

How do I make my costumers get redirected to a download link after they pay?

by  |  earlier

0 LIKES UnLike

Hi I am planning to sell some eBooks and I planning to use Ccbill as my merchants I am really bothered how I am going to sell it.

Example:

A costumer visit my site and decided to buy my eBook so he click the buy button after a costumer click the buy button on my website they enter their Credit cards and so on and then they manage to pay.

My question is:

How do I make that costumer get redirected to my eBook download link? After they pay using credit cards or any payment they like, how do I make them get redirected to a download link where my eBook is so that they can download it right away after paying? I hope you will help me guys or give me an example or a tutorial to understand this even more I would love to tackle this problem

Thank you guys.

 Tags:

   Report

1 ANSWERS


  1. I guess it depends on you level of coding competency and level of involvement in website development.

    One possible route would be to, once a customer pays, set a cookie such as "paid=true" and check that cookie using some simple PHP code, then making use of a meta refresh tag to send them elsewhere or to generate the download page via PHP if the cookie is set.

    Use Google to look into setting cookies, using basic PHP in web pages and maybe the meta refresh tag.

    Hope this helps.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions