Stripe Recurring Payments: PHP SDK library file
-
Hello, I am posting about a plugin related issue here because there is no “create a new topic” link in the plugins section. I am an amateur to this work and have been trying to solve this problem for several days.
I have recently fixed a problem of WP Stripe donation button not working that was getting a “paymentintent” message that blocked payments. I activated “Enable Debug Logging” and got the message: “WARNING: Stripe PHP library conflict! Another Stripe PHP SDK library is being used. Please disable plugin or theme that provides it as it can cause issues during payment process.”
(/public_html/wp-content/plugins/recurring-payment-donation-through-stripe/vendor/stripe/stripe-php/lib/Stripe.php)
So I took a chance and deleted the Stripe.php file in my webhost’s file manager (in the ‘lib’ folder) – which shut down access to my website entirely! The deleted file was not retrievable from the trash folder on file manager – but I managed to get back into WordPress through my host, where I deactivated the Stripe plugin and reactivated it.
This gave me access back to my website – AND, the Stripe donation button worked thereafter. But it did not regenerate the deleted Stripe.php file.
What I found out after this little drama is that the code for regular long term payments [stripe-checkout-page] (plugin – “Recurring payment and donation through Stripe”) was deactivated by the reactivation of WP Stripe payments. When I go into WP plugins and reactivate the plugin, it gives this message:
“Warning: require (public_html/wp-content/plugins/recurring-payment-donation-through-stripe/vendor/stripe/stripe-php/lib/Stripe.php): failed to open stream: No such file or directory in /home2/esoteri9/public_html/wp-content/plugins/recurring-payment-donation-through-stripe/vendor/stripe/stripe-php/init.php on line 4.”
So it appears that this is clearly the problem. But if I copy and paste what I think may be the same Stripe.PHP file back into the ‘lib’ folder (from a higher-up Stripe subfolder), it will most likely bring back the “paymentintent” error I had in the first place for my Stripe donations button.
It appears that the “Stripe PHP SDK library” file is the problem. There needs to be an update file of Stripe PHP for this Lib folder? How do I resolve this to get my Stripe regular payments working again?
Thanks for your attention!
The page I need help with: [log in to see the link]
- The topic ‘Stripe Recurring Payments: PHP SDK library file’ is closed to new replies.