• Resolved vinodnaik1989

    (@vinodnaik1989)


    Hi,

    The payment is done in stripe. Once the payment done from customer, when i try to change order status from pending to completed it changed from completed to Failed. I got an error as “Unable to capture charge! Charge ch_1Fxxxxx cannot be captured because the charge has expired (a charge must be captured within 7 days). You will need to create a new charge to retry the payment. Order status changed from Completed to Failed.”

    Even i have enabled the option capture in payment settings, still no luck.

    But the payment is success in stripe, Only issue is not able to change the status to complete.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hello there!

    I’d like to understand more about your setup.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.

    Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.

    Once you do that, you can paste the Gist link here in your reply.

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    Please find the below link for the status report.

    https://gist.github.com/vinodnaik1989/8c4656b3b818cbcb7ce52821fe1801c7

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    Thank you for the System Status Report!

    I see this:

    Secure connection (HTTPS): ?
    Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.

    A valid SSL certificate is required for Stripe plugin to work so you may want to reach out to your host and make sure your site has a valid SSL certificate.

    I wasn’t able to replicate the behaviour you’ve reported on my test site so it looks like it is isolated to your WordPress/WooCommerce install.

    In case adding a valid SSL certificate doesn’t help – you may want to perform a full plugin/theme conflict test:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    I hope this helps!

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    The data which i have share is the test environment even for production environment i am facing the same issue, please check again the same url which i have shared, updated with production status.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey there @vinodnaik1989,

    Thanks for the updated the Gist. We think the issue you are facing is possibly due to a conflict. We see that you are also using another Stripe plugin i.e Stripe Payment Form: by CrossLeaf Web Eng – 1.0. You would want to start conflict testing by disabling that plugin and see if the issue persists.

    Elaborate instructions on conflict testing are here for reference.

    Do keep us posted on how this troubleshooting works out for you.

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    Yes, I have disabled the plugin WooCommerce Stripe Gateway, It works now. What will be solution for this conflict.

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    Please check below the error log of stripe status
    https://gist.github.com/vinodnaik1989/24aafa476f646610c3998c4f479909b8

    Plugin Support lionel.a11n

    (@lioneldaniel)

    Hello @vinodnaik1989,

    Thanks for that information!

    Did you also try leaving WooCommerce Stripe Gateway enabled and disabling Stripe Payment Form: by CrossLeaf Web Eng – 1.0? If that also resolves the issue, we would recommend contacting the author of that plugin to identify the conflict, as this plugin isn’t intended for use with other Stripe plugins.

    If you find that the issue is reproducible with only WooCommerce and Stripe enabled on a default theme, then we can work towards a solution here.

    Please let us know what you find!

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    Yes i have activated default theme and deactivated stripe plugin then it works if i activate stripe plugin it will not work. I tried even activating the stripe payment form it work when stripe plugin deactivated. Only it will not work if stripe plugin activated.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey @vinodnaik1989 !

    Could you confirm you are deactivating Stripe Payment Form: by CrossLeaf Web Eng – 1.0 and only WooCommerce Stripe payment gateway is active and you are seeing this error? If you are doing this, could you share with us a fresh status report and the error log so that we can verify this?

    We think having two stripe plugins is the issue here.

    Look forward to your status report and logs.

    Thread Starter vinodnaik1989

    (@vinodnaik1989)

    Yes, Activated WooCommerce and Stripe payment gateway and deactivated Stripe payment form it is not working.
    Activated WooCommerce and deactivated all plugins it is working.
    Activated WooCommerce and Stripe payment form it is working.
    It is not working when Stripe payment gateway is active.
    The report is same which i have Shared there is no difference in that.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @vinodnaik1989

    We would like to look at your site and do a deeper troubleshooting, could you please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Plugin Author Automattic

    (@automattic)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Order status changed from Completed to Failed’ is closed to new replies.