From 9a79a9992fb6a914e62d0002025c34f21243969d Mon Sep 17 00:00:00 2001 From: luizdalcicoapisys Date: Thu, 14 Jan 2021 13:32:26 -0300 Subject: [PATCH] Update class-vindi-webhook-handler.php --- includes/class-vindi-webhook-handler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-vindi-webhook-handler.php b/includes/class-vindi-webhook-handler.php index ddcc4ec..e13d499 100644 --- a/includes/class-vindi-webhook-handler.php +++ b/includes/class-vindi-webhook-handler.php @@ -129,6 +129,7 @@ private function bill_created($data) if (!$this->subscription_has_order_in_cycle($renew_infos['vindi_subscription_id'] , $renew_infos['cycle'])) { $this->subscription_renew($renew_infos); + $this->update_next_payment($data); } }