1
|
|
|
<?php |
2
|
|
|
function chpter_renew_account_token() |
3
|
|
|
{ |
4
|
|
|
return Kipling\ChpterPhpSdk\Chpter::accountsTokenRenewal(); |
|
|
|
|
5
|
|
|
} |
6
|
|
|
|
7
|
|
|
function chpter_mpesa_payment($customer, $products, $amount, $callback_details) |
8
|
|
|
{ |
9
|
|
|
return KiplingKelvin\ChpterLaravelSdk\Chpter::mpesaPayment($customer, $products, $amount, $callback_details); |
|
|
|
|
10
|
|
|
} |
11
|
|
|
|
12
|
|
|
function chpter_card_payment($customer, $products, $amount,$card_details, $callback_details) |
13
|
|
|
{ |
14
|
|
|
return KiplingKelvin\ChpterLaravelSdk\Chpter::cardPayment($customer, $products, $amount,$card_details, $callback_details); |
|
|
|
|
15
|
|
|
} |
16
|
|
|
function chpter_hosted_redirect_payment($customer, $amount, $redirect_urls) |
17
|
|
|
{ |
18
|
|
|
return Kipling\ChpterPhpSdk\Chpter::hostedRedirectPayment($customer, $amount, $redirect_urls); |
19
|
|
|
} |
20
|
|
|
|
21
|
|
|
function chpter_express_redirect_payment($transaction_data, $redirect_urls) |
22
|
|
|
{ |
23
|
|
|
return Kipling\ChpterPhpSdk\Chpter::expressRedirectPayment($transaction_data, $redirect_urls); |
24
|
|
|
} |
25
|
|
|
function chpter_mobile_payout_destination($type, $phone_number) |
26
|
|
|
{ |
27
|
|
|
return Kipling\ChpterPhpSdk\Payouts::createMobilePayoutDestination($type, $phone_number); |
|
|
|
|
28
|
|
|
} |
29
|
|
|
|
30
|
|
|
function chpter_bank_payout_destination($bank_name, $bank_account_name, $bank_account_number) |
31
|
|
|
{ |
32
|
|
|
return Kipling\ChpterPhpSdk\Payouts::createBankPayoutDestination($bank_name, $bank_account_name, $bank_account_number); |
33
|
|
|
} |
34
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths