treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Paypal

  • Hey.

    Does anyone know how to setup, for example, a video that you want to sell on a site. The payment is via paypal and once this payment is confirmed that the client would receive a unique url to the video that they could download.

    I was thinking of an automatised script that would change the url for each user or the url changes after the user has linked to it.

    Any suggestions or how i can approach this differently?

    Thanks

    B
  • There is a tutorial on NetTuts that would allow you to do this.

    http://net.tutsplus.com/tutorials/php/u ... -with-php/
  • If the idea is that the video is otherwise locked down and can only be downloaded by purchasers, you might want to look into something like FoxyCart or E-Junkie which offers digital delivery of files. Otherwise, software like aMember to lock down particular areas of a website only for paying members.