alijumaan / laravel-ecommerce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hard coded secret in code

skrskr opened this issue · comments

'Authorization' => 'Bearer sk_test_XKokBfNWv6FIYuTMg5sLPjhJ'

you need to add api_key and base url to .env file and create config file for example tap.php.
if base url and api key changed from testing to production it's easy to change it on .env file only not every where on code.