We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1150bf5 + 2f080b4 commit d741744Copy full SHA for d741744
src/Paystack.php
@@ -340,7 +340,7 @@ public function createPlan()
340
341
$this->setRequestOptions();
342
343
- $this->setHttpResponse("/plan", 'POST', $data);
+ return $this->setHttpResponse("/plan", 'POST', $data)->getResponse();
344
345
}
346
@@ -453,7 +453,7 @@ public function createSubscription()
453
];
454
455
456
- $this->setHttpResponse('/subscription', 'POST', $data);
+ return $this->setHttpResponse('/subscription', 'POST', $data)->getResponse();
457
458
459
/**
@@ -547,7 +547,7 @@ public function createPage()
547
548
549
550
- $this->setHttpResponse('/page', 'POST', $data);
+ return $this->setHttpResponse('/page', 'POST', $data)->getResponse();
551
552
553
0 commit comments