Hi,
I’m trying to determine where the following bug is. Prior to switching to bricks, I had no issues with the WooCommerce order system. I am using WooCommerce 7.8.1.
Issue: When I perform a purchase of a virtual + downloadable product, the order transitions to “processing” state but does not go to the order “completed” state. I see the new entry in the woo orders table, but the downloadable_product_permissions table doesn’t get updated.
If I manually complete the order within WooCommerce, the auto-email is sent but the permissions table is not updated, so the customer still doesn’t get a link to download the file
I talked to my hosting site (rocket.net) and they see no issues on the server side. I uninstalled woocommerce and reinstalled to no effect. I even installed a a helper plugin Autocomplete WooCommerce Orders – WordPress plugin | WordPress.org and that didn’t force it to transition to completed either. Something is obviously blocking the transition and the table write.
I have no idea what is blocking this in woocommerce. I am hoping this is a bricks issue.
Thanks for all of your help @itchycode! Your detective work was great in figuring out that it was a perfmatters issue. Really appreciate it.
Speaking of perfmatters, their team is great as well. Not sure how they figured it out, but to get the variable virtual + downloadable product to automatically register as purchased in the database and allow the user to download the purchased files, they excluded defer on the following scripts: