Hey there @tayfunkazanci !
The function wc_stripe_remove_order_locks, Removes order locks that have expired so the options table does not get cluttered with transients.
This function shouldn’t ideally create any issues on your site. Could you let us know what issues you are facing on your site with Stripe payments so that we can help you with that?
Thanks.
Thread Starter
Tayfun
(@tayfunkazanci)
The problem I encountered is inconsistency in order taking. I never know what happened, and I think it’s doing a damage to the database tables.
Please don’t take this as an annoyance. There is an inconsistency and I’m trying to understand
I have leveraged the plugin so much your plugin is not loaded on my site and i still see something about stripe somewhere
My customers cannot create an order on my website, but I don’t understand why, when I turn off the server and turn it on, it sometimes gets better and I get 3 or 4 orders instantly.
Hi @tayfunkazanci,
The function of wc_stripe_remove_order_locks
is not originating from the WooCommerce Stripe Payment Gateway plugin. Below is a search from the entire codebase of the WooCommerce Stripe Payment Gateway which contains no such code function.
https://github.com/woocommerce/woocommerce-gateway-stripe/search?q=wc_stripe_remove_order_locks
After researching that code function it’s originating from a third party Stripe plugin called Stripe For WooCommerce created by a developer called PaymentPlugins.
You can find the referenced function of wc_stripe_remove_order_locks
within the Stripe For WooCommerce plugin’s documentation below.
https://docs.paymentplugins.com/wc-stripe/api/source-function-wc_stripe_remove_order_locks.html#1273-1291
For any questions related to this function and that third party Stripe For WooCommerce plugin, you can find the official support forum for that referenced below.
https://wordpress.org/support/plugin/woo-stripe-payment/
Hey there @tayfunkazanci,
Please check the previous response.
Thread Starter
Tayfun
(@tayfunkazanci)
Thank you for your interest, I’m sorry to make you busy