pay-per-view v.s. individual subscription

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
yhan
Posts: 30
Joined: Thu Mar 08, 2012 1:57 pm

pay-per-view v.s. individual subscription

Postby yhan » Mon Apr 23, 2012 2:58 pm

Could anyone educate me how OJS handles pay-per-view v.s. individual subscription?

I understand that OJS has a built-in feature to activate pay-per-view (i.e "Purchase Article" in "Fee Payment Options"). But the user still has to register and the subscription type does not have "pay-per-view". How can OJS ensure that the user who paid for article A does not have access to other articles?

michael
Posts: 409
Joined: Thu Mar 29, 2007 2:09 pm
Contact:

Re: pay-per-view v.s. individual subscription

Postby michael » Mon Apr 23, 2012 5:55 pm

Hi yhan,

The purchase article option allows readers to buy individual articles. This is useful for readers who don't have a subscription, but wish to access some of the subscription protected content.

In contrast, an individual subscription will give a reader access to all published articles.

Cheers,
Michael

yhan
Posts: 30
Joined: Thu Mar 08, 2012 1:57 pm

Re: pay-per-view v.s. individual subscription

Postby yhan » Tue Apr 24, 2012 9:26 am

Michael,

Thank you for explanation. I understand the difference. My question is how OJS handles them differently.

What is the individual's status in the system? From what I found, the person who purchased an article still need a status of "active", but then an "active" person can read all the articles.

I am trying to understand the technical side.

Thanks much,

michael
Posts: 409
Joined: Thu Mar 29, 2007 2:09 pm
Contact:

Re: pay-per-view v.s. individual subscription

Postby michael » Tue Apr 24, 2012 5:36 pm

Hi yhan,

A reader only needs to have an OJS user account in order to purchase an article. They do not need an active subscription record. Article purchases and subscriptions are stored separately in the database in different tables.

Cheers,
Michael

yhan
Posts: 30
Joined: Thu Mar 08, 2012 1:57 pm

Re: pay-per-view v.s. individual subscription

Postby yhan » Wed Apr 25, 2012 1:53 pm

Michael,

This helps a lot. Could you tell me which tables storing "user purchasing an article"?

I assume that users info are in table "users", paidPurchaseArticle stores "userId" and "articleId" in another table?

michael
Posts: 409
Joined: Thu Mar 29, 2007 2:09 pm
Contact:

Re: pay-per-view v.s. individual subscription

Postby michael » Wed Apr 25, 2012 4:52 pm

Hi yhan,

You'll find purchased articles in the completed_payments table.

Please see OJSCompletedPaymentDAO::hasPaidPurchaseArticle in classes/payment/ojs/OJSCompletedPaymentDAO.inc.php for more information.

Cheers,
Michael

yhan
Posts: 30
Joined: Thu Mar 08, 2012 1:57 pm

Re: pay-per-view v.s. individual subscription

Postby yhan » Fri Apr 27, 2012 4:22 pm

Michael,

Thanks much!


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests