OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



pay per article

General inquiries about the PKP.

Moderators: jmacgreg, btbell, michael, bdgregg, vgabler, barbarah, John

Forum rules
Feel free to post general inquiries about the PKP Here. We'll also post notes of interest from time to time. You may also want to check out the PKP blog.

Re: pay per article

Postby rorodio » Wed Apr 13, 2011 8:17 pm

Hi Michael,

We are testing the Paypal plugin for processing payments and noticed that we are having issues with "Pay Per Article".
Right now, using pay per article gives payee access to ALL Journal articles (Current or Archived), Open access or Subscription/Fee Access configured.
It is appearing as if the user is granted subscription access. Our installation is OJS version: ojs-2.3.3-3

I already checked this section : Home > User > Editor > Issues > [Issue #] > Issue Data
and Access Status is set to "Subscription"
and Open access date checkbox is checked and the date is a future date.

Is there any other setting we forgot?
Or can this be a bug?

Thanks,
Rachelle
rorodio
 
Posts: 5
Joined: Tue Mar 22, 2011 8:21 pm

Re: pay per article

Postby michael » Fri Apr 15, 2011 8:40 am

Hi Rachelle,

Are you using custom galley identifiers in place of the OJS defaults? There's a known bug with these and subscription authentication and you may need to patch your install if this applies.

The other thing to check is the actual table of contents for the issue. All of the articles that require subscription should be marked as 'Default'.

Cheers,
Michael
michael
 
Posts: 403
Joined: Thu Mar 29, 2007 2:09 pm

Re: pay per article

Postby rorodio » Tue Apr 19, 2011 4:42 pm

Hi Michael,

How do I check "custom galley identifiers" in this case? Most of the customization was done by Joanne and I only did the installation. :)
Also, upon checking the Table of Contents Access column, and all of the articles are set to "Default".
Can you point me to the patch and maybe i can try installing it?

Thanks,
Rachelle
rorodio
 
Posts: 5
Joined: Tue Mar 22, 2011 8:21 pm

Re: pay per article

Postby michael » Wed Apr 20, 2011 10:22 am

Hi Rachelle,

To check whether you're using custom galley ids you can (as Editor) select a published article in the ToC, go to editing, and then click on 'Edit' for one of your galleys. In essence, rather than using the OJS default galley id (a number) you can set custom galley ids (e.g. 'pdf or 'html') for each galley. The corresponding URLs for the galleys in your ToC change from e.g. .../view/1234/567 to .../view/1234/html

There's a patch attached to the above bug report.

Cheers,
Michael
michael
 
Posts: 403
Joined: Thu Mar 29, 2007 2:09 pm

Re: pay per article

Postby rorodio » Wed Apr 20, 2011 6:09 pm

Thanks Michael,

It seems that we are hitting that bug.
Some of the issues are using the default OJS ids while the current issues are using the customized public id.
Can you direct me patch for this bug and documentation on how to patch it up.
Appreciate your immediate response.
Happy Easter!

Cheers,
Rachelle
rorodio
 
Posts: 5
Joined: Tue Mar 22, 2011 8:21 pm

Re: pay per article

Postby michael » Sat Apr 23, 2011 9:21 am

Hi Rachelle,

Please see here and here.

Cheers,
Michael
michael
 
Posts: 403
Joined: Thu Mar 29, 2007 2:09 pm

Re: pay per article

Postby rorodio » Wed Apr 27, 2011 10:34 pm

Hi Michael,

Thanks for the information.
I have tried modifying the ArticleHandler.inc.php file as mentioned in the bug 6458 details, unfortunately after clicking on a PDF file to test whether the changes are successful, no page is displayed. It seems that the galley information is not picked up. In addition to this, I also noticed that Jo actually configured only the "Current Issues" to have a customized galley id, while the archived articles to have the default numeric galley id. Looking at the changes, I know it shouldn't matter since it accepts both integer and string.

I'm not sure what else I'm missing. Any suggestions?

Thanks,
Rachelle
rorodio
 
Posts: 5
Joined: Tue Mar 22, 2011 8:21 pm

Re: pay per article

Postby michael » Thu Apr 28, 2011 9:57 am

Hi Rachelle,

A blank page is often indicative of a PHP syntax error. Try checking your apache error log or perhaps open the file in an editor that will highlight syntax errors (eg Eclipse, Aptana).

Some additional info here:
http://pkp.sfu.ca/wiki/index.php/PKP_Fr ... do_I_do.3F

Cheers,
Michael
michael
 
Posts: 403
Joined: Thu Mar 29, 2007 2:09 pm

Re: pay per article

Postby davidhynn » Thu May 12, 2011 6:53 pm

Hi Micheal,

Hopes the below information is sufficient:

OJS Version: 2.2.2.0
general
installed On
registry_dir registry
session_cookie_name OJSSID
session_lifetime 30
scheduled_tasks On
disable_path_info On

Do let me know if you need any more information.

Thanks
davidhynn
 
Posts: 1
Joined: Thu May 12, 2011 6:51 pm

Re: pay per article

Postby michael » Fri May 13, 2011 12:57 pm

Hi David,

Can you please provide some context here? I'm not sure what this is in reference to.

Thanks,
Michael
michael
 
Posts: 403
Joined: Thu Mar 29, 2007 2:09 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest