paytm laravel code example

Example 1: anandsiddharth/laravel-paytm-wallet for laravel 7 github

For Laravel 5.0 use version ^1.0.0
For Laravel 6.0 use version ^1.0.0
For Laravel 7.0 use version ^1.0.0
For Laravel 8.0 use version ^2.0.0

Example 2: anandsiddharth/laravel-paytm-wallet paytm gateway integration

There is no seperate config file for paytm. All the configurations are stored
inside the `config/services.php` file, so you don't have to edit your env file.
you can link it to seperate config file by creating `config/paytm.php` and just
update paytm configurations inside the services.php file

'paytm-wallet' => [
  'env' => config('paytm.env'), // values : (local | production)
  'merchant_id' => config('paytm.m_id'),
  'merchant_key' => config('paytm.m_key'),
  'merchant_website' => config('paytm.website'),
  'channel' => config('paytm.channel_id'),
  'industry_type' => config('paytm.industry_type_id'),
],

And then inside `config/paytm.php` add that configurations.