Skip to content

Commit

Permalink
updated to match kuda v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
e-Miracle committed May 26, 2023
1 parent c93e497 commit ba2a077
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion resources/config/kudaping.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@
/**
* kudaping cache key
*/
'cacheKey'=>env('KUDA_CACHE_KEY', 'kudaping_cache')
'cacheKey'=>env('KUDA_CACHE_KEY', 'kudaping_cache'),
/**
* Live url
*/
'liveUrl'=>env('KUDA_LIVE_URL', 'https://kuda-openapi.kuda.com/v2.1'),
/**
* Test url
*/
'testUrl'=>env('KUDA_TEST_URL', 'https://kuda-openapi-uat.kudabank.com/v2.1'),
];
4 changes: 2 additions & 2 deletions src/Kudaping.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public function __construct()
$this->apiKey = config('kudaping.apiKey');
$this->environment = config('kudaping.environment');
$this->transactionPrefix = config('kudaping.transactionPrefix');
$this->liveUrl = "https://kuda-openapi.kuda.com/v2";
$this->testUrl = "https://kuda-openapi-uat.kudabank.com/v2";
$this->liveUrl = config('kudaping.liveUrl');
$this->testUrl = config('kudaping.testUrl');
$this->cacheKey = config('kudaping.cacheKey');
}
}

0 comments on commit ba2a077

Please sign in to comment.