So I am using Woocommerce subscriptions plugin along with an AJAX side cart plugin. I don't face any issue when adding subscription product to cart for the first purchase. It's only when the customer decides to switch their subscription plan that all the discrepancies occur. The product is not being added to cart. It doesn't matter whether the AJAX call is made by the plugin or by woocommerce, the product is not getting added to cart.
I might have found the cause for it in this thread but I'm not 100% sure if the solution would actually work, so if anyone can guide a little noob out here, it would be of great help.
On a side note, I have posted another question on this site, asking for a more specific solution to this exact same problem. If someone would answer that question rather than this one, they're more than welcome.
Thanks in advance.