PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

In stock only code snippet conflict with Stripe

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, I have exactly the same issue as another person who recently posted here.

I used to have this snippet in my child functions.php file:

add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}

and I finally found out it is this snippet that has been causing me endless errors of payments via Stripe. I now removed it and the filter again shows out of stock products, even if"in stock only" is ticked in settings.

I now have enabled the"in stock" box for now, but it is bad user experience and I want to get rid of it. It is also the 2nd time your snippet to functions file is causing problems, the last time I suddenly couldn't edit my woocommerce products anymore, it creates a conflict.

Please help me solve this for once.

thanks

Hello

Ok!  Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and  FTP+wp-admin access to  your  test site - https://c2n.me/42BAoj4.png