@@ -22,13 +22,13 @@ |
||
22 | 22 | if ($this->app->runningInConsole()) { |
23 | 23 | //publish the config files |
24 | 24 | $this->publishes([ |
25 | - __DIR__.'/../config/chpter.php' => config_path('chpter.php'), |
|
26 | - ], 'chpter-config'); |
|
25 | + __DIR__.'/../config/chpter.php' => config_path('chpter.php'), |
|
26 | + ], 'chpter-config'); |
|
27 | 27 | |
28 | 28 | // Register commands |
29 | 29 | $this->commands([ |
30 | 30 | InstallChpter::class, |
31 | - ]); |
|
31 | + ]); |
|
32 | 32 | } |
33 | 33 | } |
34 | 34 |
@@ -16,8 +16,8 @@ |
||
16 | 16 | $this->info('Publishing Configuration...'); |
17 | 17 | |
18 | 18 | $this->call('vendor:publish', [ |
19 | - '--provider' => "KiplingKelvin\ChpterLaravelSdk\ChpterServiceProvider", |
|
20 | - '--tag' => "chpter-config" |
|
19 | + '--provider' => "KiplingKelvin\ChpterLaravelSdk\ChpterServiceProvider", |
|
20 | + '--tag' => "chpter-config" |
|
21 | 21 | ]); |
22 | 22 | |
23 | 23 | $this->info('Installed Chpter for Laravel'); |
@@ -30,15 +30,15 @@ |
||
30 | 30 | public function __construct() |
31 | 31 | { |
32 | 32 | //Base URL for the API endpoints. This is basically the 'common' part of the API endpoints |
33 | - $this->chpter_payment_url = config('chpter.payment_url'); |
|
34 | - $this->chpter_hosted_redirect_payment_url = config('chpter.hosted_redirect_payment_url'); |
|
35 | - $this->chpter_express_redirect_payment_url = config('chpter.express_redirect_payment_url'); |
|
33 | + $this->chpter_payment_url = config('chpter.payment_url'); |
|
34 | + $this->chpter_hosted_redirect_payment_url = config('chpter.hosted_redirect_payment_url'); |
|
35 | + $this->chpter_express_redirect_payment_url = config('chpter.express_redirect_payment_url'); |
|
36 | 36 | |
37 | - $this->chpter_accounts_token_renewal_url = config('chpter.accounts_token_renewal_url'); |
|
37 | + $this->chpter_accounts_token_renewal_url = config('chpter.accounts_token_renewal_url'); |
|
38 | 38 | |
39 | 39 | |
40 | - $this->token = config('chpter.chpter_token'); |
|
41 | - $this->domain =config('chpter.domain'); |
|
40 | + $this->token = config('chpter.chpter_token'); |
|
41 | + $this->domain =config('chpter.domain'); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 |
@@ -27,12 +27,12 @@ |
||
27 | 27 | public function __construct() |
28 | 28 | { |
29 | 29 | //Base URL for the API endpoints. This is basically the 'common' part of the API endpoints |
30 | - $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | - $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | - $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | - $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | - $this->token = config('chpter.chpter_token'); |
|
35 | - $this->domain =config('chpter.domain'); |
|
30 | + $this->mobile_payout_destination_url = config('chpter.mobile_payout_destination_url'); |
|
31 | + $this->bank_payout_destination_url = config('chpter.bank_payout_destination_url'); |
|
32 | + $this->mobile_payout_url = config('chpter.mobile_payout_url'); |
|
33 | + $this->bank_payout_url = config('chpter.bank_payout_url'); |
|
34 | + $this->token = config('chpter.chpter_token'); |
|
35 | + $this->domain =config('chpter.domain'); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public static function createMobilePayoutDestination($type, $phone_number) |