PHPackages                             aotearoait/laravel-paytm-wallet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. aotearoait/laravel-paytm-wallet

ActiveLibrary[Payment Processing](/categories/payments)

aotearoait/laravel-paytm-wallet
===============================

Integrate paytm wallet easily with this package. This package uses official Paytm PHP SDK's and includes Subscription Service

v1.0.30(7y ago)0499MITPHPPHP &gt;=5.4.0

Since Nov 16Pushed 7y agoCompare

[ Source](https://github.com/aotearoait/laravel-paytm-wallet)[ Packagist](https://packagist.org/packages/aotearoait/laravel-paytm-wallet)[ RSS](/packages/aotearoait-laravel-paytm-wallet/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (29)Used By (0)

Laravel Paytm Wallet With Scheduled Payment Option
==================================================

[](#laravel-paytm-wallet-with-scheduled-payment-option)

[![Latest Stable Version](https://camo.githubusercontent.com/bae48e912d48d2c4296ddaed8542e896d9be069f3b64586dedec8181537d9501/68747470733a2f2f706f7365722e707567782e6f72672f616f746561726f6169742f6c61726176656c2d706179746d2d77616c6c65742f762f737461626c65)](https://packagist.org/packages/aotearoait/laravel-paytm-wallet)[![Total Downloads](https://camo.githubusercontent.com/f5af7f5c4e3619650136d48b928a4d0c567b86c65b1158e2ab7ff5ec65f9d786/68747470733a2f2f706f7365722e707567782e6f72672f616f746561726f6169742f6c61726176656c2d706179746d2d77616c6c65742f646f776e6c6f616473)](https://packagist.org/packages/aotearoait/laravel-paytm-wallet)[![License](https://camo.githubusercontent.com/d9cdce9ff00ca374a6f7ad8a043158620470c5c5bd0f1bc950f71338d8c491b3/68747470733a2f2f706f7365722e707567782e6f72672f616f746561726f6169742f6c61726176656c2d706179746d2d77616c6c65742f6c6963656e7365)](https://packagist.org/packages/aotearoait/laravel-paytm-wallet)[![Join the chat at https://gitter.im/laravel-paytm-wallet/Lobby](https://camo.githubusercontent.com/e1ed960bed5e728f3fd1b3a1ae335e8e35ddf1f7308247845d6c35b3621b8149/68747470733a2f2f6261646765732e6769747465722e696d2f6c61726176656c2d706179746d2d77616c6c65742f4c6f6262792e737667)](https://gitter.im/laravel-paytm-wallet/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

For Laravel 5.0 and above

Introduction
------------

[](#introduction)

This branch has been privaltely modified to allow scheduled transactions. This can not be done unless PayTM approve a Scheduled Payment Account which is not part of their normal accounts. Integrate paytm wallet in your laravel application easily with this package. This package uses official Paytm PHP SDK's.

License
-------

[](#license)

Laravel Paytm Wallet open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

Getting Started
---------------

[](#getting-started)

To get started add the following package to your `composer.json` file using this command.

```
composer require aotearoait/laravel-paytm-wallet

```

Configuring
-----------

[](#configuring)

**Note: For Laravel 5.5 and above auto-discovery takes care of below configuration.**

When composer installs Laravel Paytm Wallet library successfully, register the `Anand\LaravelPaytmWallet\PaytmWalletServiceProvider` in your `config/app.php` configuration file.

```
'providers' => [
    // Other service providers...
    Anand\LaravelPaytmWallet\PaytmWalletServiceProvider::class,
],
```

Also, add the `PaytmWallet` facade to the `aliases` array in your `app` configuration file:

```
'aliases' => [
    // Other aliases
    'PaytmWallet' => Anand\LaravelPaytmWallet\Facades\PaytmWallet::class,
],
```

#### One more step to go....

[](#one-more-step-to-go)

On your `config/services.php` add the following configuration

```
'paytm-wallet' => [
    'env' => 'production', // values : (local | production)
    'merchant_id' => 'YOUR_MERCHANT_ID',
    'merchant_key' => 'YOUR_MERCHANT_KEY',
    'merchant_website' => 'YOUR_WEBSITE',
    'channel' => 'YOUR_CHANNEL',
    'industry_type' => 'YOUR_INDUSTRY_TYPE',
    'SUBS_SERVICE_ID' => 'YOUR SUBSCRIPTION ID',
    'SUBS_AMOUNT_TYPE' => 'SUBSCRIPTION TYPE',
    'SUBS_FREQUENCY _UNIT' => 'SUBSCRIPTION FREQUENCY',
    'SUBS_ENABLE_RETRY' => 'ALLOW RETRY',
    'SUBS_EXPIRY_DATE' => 'SUBSCRIPTION EXPIRES ON',
    'SUBS_MAX_AMOUNT' => 'MAX AMOUNT CHARGE PER TRANSACTION',
    'SUBS_START_DATE' => 'START DATE',
    'SUBS_GRACE_DAYS' => 'GRACE PERIOD DAYS'
],
```

Note : All the credentials mentioned are provided by Paytm after signing up as merchant.

Usage
-----

[](#usage)

### Making a transaction

[](#making-a-transaction)

```
