OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



PayPal "Return" Link After Purchase Completed

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

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

PayPal "Return" Link After Purchase Completed

Postby ozcelik » Mon Sep 24, 2007 5:06 pm

Hi,

First, thank you guys for creating such a wonderful software. I have a quick question about Paypal plugin.

After an author pays for the conference registration fee through Paypal, an orange button linking to ".../payment/plugin/Paypal/return" appears. If the user clicks on this button, it goes to that page where there appears only one word, "RETURN". I figured out that it has something to do with the file "...\plugins\paymethod\paypal\PayPalPlugin.inc.php". Is there a way to redirect the registrant to the main page of the OCS, instead of this blankish page by changing a couple of lines on this file? A line of code to achieve this will be greatly appreciated.

Regards,

Jason
ozcelik
 
Posts: 26
Joined: Sun Sep 23, 2007 9:25 pm

Re: PayPal "Return" Link After Purchase Completed

Postby ozcelik » Wed Sep 26, 2007 7:38 am

Any suggestions on this issue?

Regards,

Jason
ozcelik
 
Posts: 26
Joined: Sun Sep 23, 2007 9:25 pm

Re: PayPal "Return" Link After Purchase Completed

Postby asmecher » Wed Sep 26, 2007 11:08 am

Hi Jason,

Oops! That's a debugging message that was temporarily added and should not have been included with the release. See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3010 for information on the bug and how to fix it. The fix should send a returning user to the conference homepage.

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

Re: PayPal "Return" Link After Purchase Completed

Postby ale » Wed Oct 24, 2007 4:09 am

I just updated this to work as Alex showed, but it still doesn't give reassurance to the user that paypal is now payed and they've registered. What's the best way to do this?

Yours reassuringly,

Ale
ale
 
Posts: 15
Joined: Tue Aug 14, 2007 4:47 am

Re: PayPal "Return" Link After Purchase Completed

Postby asmecher » Wed Oct 24, 2007 9:52 am

Hi Ale,

If you like, the line of code that was changed in the patch file can be removed, and code to display a generic "your payment has been received" message can be added instead. You can grep the PHP code for something referring to message.tpl for a quick example.

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


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests