Subscription Stripe Error

Posted in: Newspaper
Post count: 12

Hi,
I wanted to make use of the Subscription plugin and Stripe. I added the Api Keys and received this error:

{ “type”: “AJAX ERROR”, “message”: “Invalid reply from server endpoint.”, “debug_data”: { “request”: { “readyState”: 4, “responseText”: “{\”code\”:\”internal_server_error\”,\”message\”:\”<p>There has been a critical error on this website.<\\/p><p>Learn more about troubleshooting WordPress.<\\/a><\\/p>\”,\”data\”:{\”status\”:500},\”additional_errors\”:[]}”, “responseJSON”: { “code”: “internal_server_error”, “message”: “<p>There has been a critical error on this website.</p><p>Learn more about troubleshooting WordPress.</p>”, “data”: { “status”: 500 }, “additional_errors”: [] }, “status”: 500, “statusText”: “Internal Server Error” } } }

Also this error shows up in the log
2023-07-12T19:18:54+00:00 CRITICAL Cannot declare class Stripe\Stripe, because the name is already in use in //public_html/wp-content/plugins/td-subscription/includes/vendor/stripe/lib/Stripe.php on line 8

2023-07-12T19:19:54+00:00 CRITICAL Cannot declare class Stripe\Stripe, because the name is already in use in //public_html/wp-content/plugins/td-subscription/includes/vendor/stripe/lib/Stripe.php on line 8

2023-07-12T19:20:08+00:00 CRITICAL Cannot declare class Stripe\Stripe, because the name is already in use in //public_html/wp-content/plugins/td-subscription/includes/vendor/stripe/lib/Stripe.php on line 8

2023-07-12T19:21:33+00:00 CRITICAL Cannot declare class Stripe\Stripe, because the name is already in use in/public_html/wp-content/plugins/td-subscription/includes/vendor/stripe/lib/Stripe.php on line 8

2023-07-12T19:21:49+00:00 CRITICAL Cannot declare class Stripe\Stripe, because the name is already in use in //public_html/wp-content/plugins/td-subscription/includes/vendor/stripe/lib/Stripe.php on line 8

What can be done about it?

Post count: 35449

Hi,
What I recommend is to disable and delete the opt-in plugin and reinstall the plugin from Newspaper > plugins, if the problem still persists, then please contact us via email at contact@tagdiv.com and provide temporary wp-admin access to investigate this problem.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.