My paypal problem

hi dears
i activate paypal plug in and set my custom setting on distribution menu
then i add a payment type for user Author Fees
also add Subscription Policies details

but when a submission go to Copyediting step and create task for author and author click on payment link, see white page

in error log show this error

PHP Fatal error:  Interface 'Symfony\Component\EventDispatcher\EventSubscriberInterface' not found in /home/ajffpir/public_html/plugins/paymethod/paypal/vendor/guzzle/guzzle/src/Guzzle/Http/RedirectPlugin.php on line 20

can you help me for this?

thanks

Hi @amirhosein,

What version of OJS are you using? (Please include this in your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

3.1.0.1

Hi @amirhosein,

See Paypal plugin has undeclared dependency · Issue #2996 · pkp/pkp-lib · GitHub for details and a resolution.

Regards,
Alec Smecher
Public Knowledge Project Team

hi @asmecher
i patched your changing on both composer.lock and composer.json files
but i still see white page with same error

what’s your solution?

regards

Hi @amirhosein,

You need to run the Composer tool after patching the composer.json file.

Regards,
Alec Smecher
Public Knowledge Project Team