Closed shirshak55 closed 4 years ago
Secret key is saved in your .env, not the HTML form
@kingflamez see read me last section there is written env("SECRET KEY") like that
@kingflamez
see this in readme
<input type="hidden" name="key" value="{{ config('paystack.secretKey') }}"> {{-- required --}}
I guess its major security issue and should be patched soon.
Uncomment that line. The payment still works without it.
@kingflamez see read me last section there is written env("SECRET KEY") like that
remove the input form field for secretKey and everything will still work fine.
It seems in example you are writing secret key inside form html. Am i wrong but i think secret key is only for server not for user side right?????????????