From d66d0f47b8a1239e78486f1ff0a6727aca3d7e7c Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Wed, 12 May 2021 20:51:48 +0300 Subject: [PATCH] Fixed the broken price key --- src/Plan.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Plan.php b/src/Plan.php index d3ebc9b..434cdd4 100644 --- a/src/Plan.php +++ b/src/Plan.php @@ -115,6 +115,7 @@ public function toArray() 'yearlyId' => $this->getYearlyId(), 'name' => $this->getName(), 'description' => $this->getDescription(), + 'price' => $this->getMonthlyPrice(), 'monthly_price' => $this->getMonthlyPrice(), 'yearly_price' => $this->getYearlyPrice(), 'currency' => $this->getCurrency(),