Forums / Setup & design / Paid for content
Steve P
Tuesday 19 April 2005 6:36:20 am
Can someone point me to docs or examples for setting shop items as paid for content please [using ezPayPal]. I'm guessing workflows but a bit lost. Thanks
Łukasz Serwatka
Monday 25 April 2005 2:02:59 am
Hi Steve,
Workflow event on publish to assign user->special group. Setup the paypal payment as event.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
kracker (the)
Monday 25 April 2005 2:13:18 am
I wonder if anyone has done a "paid for template" type solution, paid to be allowed to used the member templates / section which simply uses different override templates on the same information?
seems kinda lame but then ... everybody else is doing it so why can't we?
//kracker
Member since: 2001.07.13 || http://ezpedia.se7enx.com/
Bård Farstad
Monday 25 April 2005 2:31:47 am
Kracker,
this is actually very easy to do. Since the view cache is unique pr user group combination you can just have a check in the template if a user is member of group x. Then you include the real template, if not include a template which shows a teaser/introduction or simply just a text telling him to log in or buy membership.
--bård
Documentation: http://ez.no/doc
Thursday 05 May 2005 5:08:44 am
Thanks for this. I have created a template that allows logged in users to see a file & offers the file to "non-members" as a paid for item.My actual problem is how to show the file for download after payment completion!
Tuesday 10 May 2005 5:30:34 am
Shame this seems to have died! I bet someone knows how to do this...
Tuesday 10 May 2005 5:50:54 am
Steve,
you need to create a workflow event (requires some PHP programming) which assigns the user doing the shopping to a specific user group, after payment. Then you create a role which grants which is a member of that user group permissions to download (read) the files you want to sell.
Maybe the event could even send the user an e-mail with a direct link to the download.