From fb042252fc24faca07b14b424f257f6b1c7d8d49 Mon Sep 17 00:00:00 2001 From: Laurent Timothy Tandika <114920778+laurenttandika@users.noreply.github.com> Date: Fri, 16 Jan 2026 20:21:22 +0300 Subject: [PATCH] Update Flutterwave config keys in initializeCredentials the current config keys are referenced from [config('services.flutterwave.*')] but when we do the initial install of the package and publish the config, the keys are located in [config('flutterwave.*')], this causes error of invalid $clientId when user wants to initialize payments. i have tested it using livewire UI components --- src/Concerns/InitializesCredentials.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Concerns/InitializesCredentials.php b/src/Concerns/InitializesCredentials.php index 73d634d..3f3f866 100644 --- a/src/Concerns/InitializesCredentials.php +++ b/src/Concerns/InitializesCredentials.php @@ -14,8 +14,8 @@ trait InitializesCredentials public function initializeCredentials(): void { - $this->clientId = config('services.flutterwave.client_id'); - $this->clientSecret = config('services.flutterwave.client_secret'); - $this->environment = config('services.flutterwave.environment'); + $this->clientId = config('flutterwave.client_id'); + $this->clientSecret = config('flutterwave.client_secret'); + $this->environment = config('flutterwave.environment'); } }