razorpay / razorpay-woocommerce-subscriptions

Razorpay WooCommerce Subscriptions Plugin
GNU General Public License v2.0
6 stars 7 forks source link

Renewal payments not updating the woocommerce order status #47

Open santhoshd1508 opened 2 years ago

santhoshd1508 commented 2 years ago

The plugin works great in capturing and updating the order status to completed for the first payment only. But the successful renewal payment in Razorpay is not automatically updating the woocommerce order status from pending to completed. As a result, the woocommerce subscription's status becomes on-hold and the Razorpay subscription's status becomes "paused". It looks like Razorpay cannot communicate with woocommerce. Fyi, I've enabled the necessary webhooks in the Razorpay dashboard and also whitelisted all the Razorpay IP addresses on Cloudflare and also turned off Cloudflare's bot fight mode. I've also deactivated all plugins (except woocommerce, woocommerce subscriptions, razorpay & razorpay subscriptions) but still, the problem persists. Kindly check whether the issue happens to you too and update me regarding the same.