OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Plugin PayBox

OCS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page. While these are OJS-specific, the OCS codebase is similar enough to OJS they should be of help. There is also an [url=http://pkp.sfu.ca/ocs_documentation[/url]OCS Documentation[/url] page with some more general documentation that might also be of interest.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a technical support question, try the OCS Technical Support subforum.

Plugin PayBox

Postby crihou2 » Mon May 26, 2008 2:55 am

Hi

I have witten and test a plugin for paybox payment method.
How can i deliver this in a zip file ?

Regards
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby asmecher » Mon May 26, 2008 8:08 am

Hi crihou2,

Excellent work! You can reach us at pkp-support@sfu.ca; we can review the code and consider it for inclusion in a future release, if you're willing. If there are any modifications to the core code, those would be best delivered as a unified diff (diff -u). Additional payment support is a tricky task, and your contribution would be much appreciated!

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Plugin PayBox

Postby crihou2 » Wed Jun 04, 2008 2:22 am

Sent the May 27, 2008 12:07 am

Regards.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby crihou2 » Wed Jun 04, 2008 3:41 am

Hi,

To avoid this message : PHP Fatal error: Cannot redeclare class payboxplugin in .../plugins/paymethod/paybox/PayBoxPlugin.inc.php on line 18

Apply this mini patch :
Code: Select all
OCS2.1.0.1/plugins/paymethod/paybox/index.php
line 5
before : require     ('PayBoxPlugin.inc.php');
after  : require_once('PayBoxPlugin.inc.php');


Regards.
Last edited by crihou2 on Fri Jun 06, 2008 11:28 am, edited 1 time in total.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby crihou2 » Fri Jun 06, 2008 11:26 am

Hi,

Since OCS2.1 I have a small difficulty witch make this message :
PHP Warning: Missing argument 1 for gettitle() in ..../classes/schedConf/SchedConf.inc.php on line 82, referer: http://www.lille.iufm.fr/colloques/inde ... f/register
PHP Warning: Cannot modify header information - headers already sent by (output started at ...../plugins/paymethod/paybox/PayBoxPlugin.inc.php:175) in /mnt/nfs_www/exp/colloques/classes/core/Request.inc.php on line 41, referer: http://www.lille.iufm.fr/colloques/inde ... f/register

You have to correct code like this :
Code: Select all
OCS2.1/plugins/paymethod/paybox/PayBoxPlugin.inc.php
line  80
before : 'PBX_CMD' => $schedConf->getTitle()    ." Id=".$queuedPaymentId
after  : 'PBX_CMD' => $schedConf->getFullTitle()." Id=".$queuedPaymentId
line  155
before :  $PBX_CMD        = $schedConf->getTitle()    .' Id='.$queuedPaymentId ;
after  :  $PBX_CMD        = $schedConf->getFullTitle().' Id='.$queuedPaymentId ;


Regards.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby crihou2 » Fri Jun 06, 2008 1:42 pm

Hi

I made a syntax error in locale fr_FR file.

You have to correct code like this :
Code: Select all
OCS2.1/plugins/paymethod/paybox/locale/fr_FR/locale.xml
line  28
before : <message key="plugins.paymethod.paybox.settings.identifiant">Id d Identification<message>
after  : <message key="plugins.paymethod.paybox.settings.identifiant">Id d Identification</message>


Regards.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby crihou2 » Thu Jun 19, 2008 12:27 am

Hi

A released version sent the June 19, 2008 09:22 am

- Because of Paybox's difficulty with special characters I had to add a field (payboxschefconftitle) in settingsForm to define a sweep title usable by Paybox (see locale.xml for reasons)
- I complete the error body's mail to add the username and alter the PAYBOX_INVESTIGATE_PAYMENT prepared message like this :
Code: Select all
SUBJECT : PayBox OCS Assistance
BODY :
There was a problem during the Paybox treatment in conference :
"${schedConfName}"
and for user : "${username}"

Motive:
${additionalInfo}
 
Other information:
PostInfo:
${postInfo}

ServerVars
${serverVars}


Regards.
crihou2
 
Posts: 22
Joined: Fri May 02, 2008 5:37 am
Location: Lille, France

Re: Plugin PayBox

Postby asmecher » Tue Apr 20, 2010 8:44 am

Hi crihou2,

Would you like to post this plugin in the "Plugin Gallery" section of the forum in its newest version? See http://pkp.sfu.ca/support/forum/viewforum.php?f=28.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron