Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff4a185

Browse files
committed
return the newly created customer
1 parent d222619 commit ff4a185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Paystack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public function createCustomer()
369369
];
370370

371371
$this->setRequestOptions();
372-
$this->setHttpResponse('/customer', 'POST', $data);
372+
return $this->setHttpResponse('/customer', 'POST', $data)->getResponse();
373373
}
374374

375375
/**

0 commit comments

Comments
 (0)