Closed fawzanm closed 4 years ago
I still believe that the configurations should be loaded from the .env
file. Below is a snippet I extracted from the socialite documentation. It makes more sense to extract the configs to the `.env1 file because we have multiple environments ion the paytm sdk itself.
'github' => [ 'client_id' => env('GITHUB_CLIENT_ID'), 'client_secret' => env('GITHUB_CLIENT_SECRET'), 'redirect' => 'http://your-callback-url', ],
Okay! I think merging this should not break the existing config managed by devs currently using it.
I won't recommend this change for README.md since it doesn't make sense this package follows the structure of laravel's socialite package. Please create a pull request only for
lib/encdec_paytm.php
Thanks,