Skip to content

Commit

Permalink
Formatting and support Laravel 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
isrugeek committed May 22, 2023
1 parent c522d33 commit 34462ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 1 addition & 6 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,5 @@
*/
'secretKey' => env('CHAPA_SECRET_KEY'),

/**
* Secret for webhook
*
*/
'secretKey' => env('CHAPA_WEBHOOK_SECRET')


];
2 changes: 0 additions & 2 deletions src/Chapa.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ class Chapa

protected $secretKey;
protected $baseUrl;
protected $secretHash;


function __construct()
{

$this->secretKey = env('CHAPA_SECRET_KEY');
$this->secretHash = env('CHAPA_WEBHOOK_SECRET');
$this->baseUrl = 'https://api.chapa.co/v1';

}
Expand Down

0 comments on commit 34462ac

Please sign in to comment.