I've had a look at allowing access to nodes and I have a good idea how to implement the access part IF I can get an idea how to populate a "paid for" table with (uid,nid,expiry_date).
A few questions:
1) Would I have to create a product for each node or is there a way I can get away with only 1 product. What I have in mind is adding a link to the view (eg. Add this CV to your cart). What would the appropriate function be to call with this link? Could I store some extra data (the nid) with this function to use when the payment is made?
2) I assume I can implement a hook that will be called when a specific line item goes through the right step. What is this hook? Where would I get my nid from step 1 then?
Is this a good approach to take?
With that info I could prob throw something together as a quick proof of concept.
Thanx a 2^20
Anton


Joined: 05/09/2008