Error 500 by Paypal paying OJS 3.1.1

Hello Crowd,

I need your help again. I arranged the PayPal Paying Method and get always an Error 500, if I want to pay an article. I don’t know why, because I transfer the API Credentials from my sandbox account to my the OJS-PlugIn.
Here is the Error:

GET http://XX/XX/article/view/15/11 500 (Internal Server Error)

Thanks for your help!

Hi @Felixmail2015,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

Hey @asmecher,

I get this error log:
PHP Fatal error: Interface ‘Symfony\Component\EventDispatcher\EventSubscriberInterface’ not found in /www/htdocs/w018207c/OJS2/plugins/paymethod/paypal/vendor/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php on line 20

Thanks for your Help.
Felix

Hi @Felixmail2015,

Are you sure you’re using OJS 3.1.1? This was an issue in OJS 3.1.0 but I think it’s been resolved in 3.1.1. In any case, there should be a resolution here: Paypal plugin has undeclared dependency · Issue #2996 · pkp/pkp-lib · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team

Hey @asmecher,

yes I’m realy sure. Oh I will try and give you a response. Thanks for your help.
Felix

Hey @asmecher,

thanks for your help but I haven’t a terminal access. How I can install the patch without a terminal? It’s possible? Sorry for asking.

Hi @Felixmail2015,

Unfortunately not – you’ll need secure shell access to install a patch.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks a lot! Paypal works now!

I have the same error with a fresh download (yesterday). Shouldn’t this have been fixed by now? Perhaps I have a different problem but got the same error. I’ll try applying the patch regardless.

Thanks, Alec! It also worked fine for me after running the patch.