Sunday 03 September 2006 3:37:22 pm
I'd build my own module, which oversees the payment/download process as a whole: Download ----> redirect to PayPal site, which has a 'redirectURL' (I think) to redirect back to your site after the payment is complete--> (new view, verify the payment has been processed/validated) people get 1 token to download the file. You could download your own: /downloadfile/ (check the core ezpublihs php's, to do so).. and you can easily create something like:
if($token){
eZBinaryFileHandler::downloadFile("....");
} else {
//error
}
It's just suggestions, not really a good story.. but you have to be familiar to write a module that is as complex as the one you want.
Greetings, Clemens
|