I am trying to:
I have a custom post "line-ad" that is sent to woo cart, this works fine, and when I complete multiple times it adds each to the cart correctly, and the woo process seems to complete as expected.
Link to a page where the issue can be seen:
I expected to see:
post status' update when order completes.
Instead, I got:
only one of the posts status is update to "pending review" as set in the post form after order is processed.
Hello,
The problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, and test again
2) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
3) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
Hi, I have been through the debugging that you have mentioned and fixed a couple of code errors but the issue persists with nothing showing in the logs.
Only plugins are Toolset, Woocommerce and stripe for Woocommerce.
I did have a quick look to see if I could find the hook you're using to update post status but it wasn't obvious to me.
It looks like either the hook was designed to old handle one post or something is causing an error (that I cant see) to exit the look.
When an order is completer only one post updates to "Private" and when the order is "Completed" the same field updates to "Pending" and the other still stays as the standard "Published"
Tomorrow I will package up the installation and send you a copy.
Please update here when your package file is ready:
you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL
Thanks