• Resolved Anne-Laure

    (@dionysiaque)


    Hi ????,

    A few weeks ago, I tested payments with Stripe Credit Cards on my online shop for a few days and everything was working perfectly.

    Then, I disabled this method to enable “Cash on delivery” in order to test other features of my website without having to enter payment informations each time.

    Now that I have made a lot of changes on it and that it was almost finished, I tried to test credit cards payment again before launching it for good.

    Unfortunately, each time I try to enable this payment method by clicking on the switch, and then click on the “Save changes” button, it is still disabled. Everything seems to be ok in the settings tabs and the connection with Stripe is working.

    Improving security was part of the changes I have made by installing Hide My Word Press Ghost plugin and Malware Plugin, and editing some files like wp-config.php and .htaccess. I suspect the security changes are what’s preventing the payment feature from working properly, but I can’t figure out how to fix the issue.

    Thanks for your help ????

Viewing 4 replies - 1 through 4 (of 4 total)
  • @dionysiaque did you figure out yourself the issue? What version of Stripe are you using?

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thread Starter Anne-Laure

    (@dionysiaque)

    Hello,

    Sorry for the delay of my answer, I’m just back from holidays.

    Actually, as I have been working on the website every day for about 2 months, I always update each plugin or theme quite early, so I have the latest version.

    I had a strategy I thought was quite smart to figure out what was triggering the issue and maybe how to solve it but it failed.

    I loaded backup .wpress files I have generated with the All-In-One WP Migration plugin, by applying the principle of the binary search algorithm in order to find the last version of the website that was working and the first version that was not. Each time I checked Stripe for each version I loaded, I marked this local .wpress file with a green tag if it was working and a red tag if it was not. And it worked ! I found the last version of the website of which the Stripe credit card switch would simply turn on instead of opening the settings page without turning on the switch. As I also use Timemator to track everything that I do on my Mac, I was able to know what I was doing at that time.

    Then I loaded every backups since the day of creation of that backup file, to make sure it was the real last one that was working. After the checking process, I was sure it was the last one. So I wanted to load this version again in order get some files I suspected to trigger the issue like .htaccess, and compare them with the ones of the latest version I had of which Stripe was not working… and as soon as I loaded that last good version and check Stripe agin… it was not working. It was supposed to work, I found it previously, checked Stripe, the file had a green tag. I then check all the versions that had been created before, that I loaded, checked and marked with a green tag during the search process… not a single one was working anymore, even the very first backup. I don’t understand why when loading a backup file once, the Stripe credit card feature is working, and when loading the same backup later, it is not working anymore.

    And now I can’t even load a good version in order to work from it, trying to catch up and avoid that issue again.

    • This reply was modified 1 year, 7 months ago by Anne-Laure.
    • This reply was modified 1 year, 7 months ago by Anne-Laure.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @dionysiaque

    From what I understand, you’re experiencing an issue with the Stripe credit card switch not functioning as expected after restoring from a backup using the All-In-One WP Migration plugin. It’s indeed puzzling that the backups that previously worked are now not functioning as expected.

    Often, these types of issues could be related to the web browser you’re using. A good first step to troubleshooting this would be to try clearing your browser’s cache. This can often help in resolving general site loading or performance issues.

    You can follow our detailed guide on clearing browser cache here: https://wordpress.com/support/browser-issues/#clearing-your-browser-cache

    If this doesn’t work, let’s try to troubleshoot this issue step by step:

    • WooCommerce and Stripe Plugin Version: Ensure that you’re using the latest versions of WooCommerce and the Stripe Payment Gateway plugin.
    • Plugin Conflict: Sometimes, issues arise due to conflicts between different plugins. I recommend deactivating all other plugins except WooCommerce and Stripe to see if the issue persists. If the issue is resolved, you can reactivate the other plugins one by one to identify the conflicting plugin.
    • Theme Conflict: Similarly, the issue could be due to a conflict with your theme. Try switching to a default theme like Storefront and see if the issue persists. You can find a more detailed explanation of conducting a conflict test here.
    • Browser Console: Check your browser console for any JavaScript errors when the issue occurs.
    • Server Environment: Check your server error logs for any relevant errors. If you’re unsure how to do this, your hosting provider should be able to assist.

    Please let us know the results of these tests so we can further assist you. If none of these steps resolves the issue, we might need to take a closer look at your setup. In this case, please can you share a copy of the following:

    • System Status Report: navigate to WooCommerce → Status. Select Get system report and then Copy for support.
    • Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here. This will help us investigate further and provide you with a more accurate solution.

    We appreciate your patience and look forward to resolving this issue for you.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to activate Stripe credit card payment method’ is closed to new replies.