@@ -102,12 +102,11 @@ discard block |
||
102 | 102 | |
103 | 103 | |
104 | 104 | /** |
105 | - |
|
106 | - * Initiate a payment request to Paystack |
|
107 | - * Included the option to pass the payload to this method for situations |
|
108 | - * when the payload is built on the fly (not passed to the controller from a view) |
|
109 | - * @return Paystack |
|
110 | - */ |
|
105 | + * Initiate a payment request to Paystack |
|
106 | + * Included the option to pass the payload to this method for situations |
|
107 | + * when the payload is built on the fly (not passed to the controller from a view) |
|
108 | + * @return Paystack |
|
109 | + */ |
|
111 | 110 | |
112 | 111 | public function makePaymentRequest( $data = null) |
113 | 112 | { |
@@ -189,11 +188,11 @@ discard block |
||
189 | 188 | } |
190 | 189 | |
191 | 190 | /** |
192 | - * Get the authorization callback response |
|
193 | - * In situations where Laravel serves as an backend for a detached UI, the api cannot redirect |
|
194 | - * and might need to take different actions based on the success or not of the transaction |
|
195 | - * @return array |
|
196 | - */ |
|
191 | + * Get the authorization callback response |
|
192 | + * In situations where Laravel serves as an backend for a detached UI, the api cannot redirect |
|
193 | + * and might need to take different actions based on the success or not of the transaction |
|
194 | + * @return array |
|
195 | + */ |
|
197 | 196 | public function getAuthorizationResponse($data) |
198 | 197 | { |
199 | 198 | $this->makePaymentRequest($data); |
@@ -597,10 +596,10 @@ discard block |
||
597 | 596 | } |
598 | 597 | |
599 | 598 | /** |
600 | - * Creates a subaccount to be used for split payments . Required params are business_name , settlement_bank , account_number , percentage_charge |
|
601 | - * |
|
602 | - * @return array |
|
603 | - */ |
|
599 | + * Creates a subaccount to be used for split payments . Required params are business_name , settlement_bank , account_number , percentage_charge |
|
600 | + * |
|
601 | + * @return array |
|
602 | + */ |
|
604 | 603 | |
605 | 604 | public function createSubAccount(){ |
606 | 605 | $data = [ |
@@ -621,10 +620,10 @@ discard block |
||
621 | 620 | } |
622 | 621 | |
623 | 622 | /** |
624 | - * Fetches details of a subaccount |
|
625 | - * @param subaccount code |
|
626 | - * @return array |
|
627 | - */ |
|
623 | + * Fetches details of a subaccount |
|
624 | + * @param subaccount code |
|
625 | + * @return array |
|
626 | + */ |
|
628 | 627 | public function fetchSubAccount($subaccount_code){ |
629 | 628 | |
630 | 629 | $this->setRequestOptions(); |
@@ -633,10 +632,10 @@ discard block |
||
633 | 632 | } |
634 | 633 | |
635 | 634 | /** |
636 | - * Lists all the subaccounts associated with the account |
|
637 | - * @param $per_page - Specifies how many records to retrieve per page , $page - SPecifies exactly what page to retrieve |
|
638 | - * @return array |
|
639 | - */ |
|
635 | + * Lists all the subaccounts associated with the account |
|
636 | + * @param $per_page - Specifies how many records to retrieve per page , $page - SPecifies exactly what page to retrieve |
|
637 | + * @return array |
|
638 | + */ |
|
640 | 639 | public function listSubAccounts($per_page,$page){ |
641 | 640 | |
642 | 641 | $this->setRequestOptions(); |