PHPackages                             rvmehta745/payment-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. rvmehta745/payment-wallet

ActiveLibrary[Payment Processing](/categories/payments)

rvmehta745/payment-wallet
=========================

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

04PHP

Since Apr 5Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Paytm Wallet
====================

[](#laravel-paytm-wallet)

For Laravel 5.0 and above

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

[](#introduction)

Paytm wallet integrate in your laravel application using this package.

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 rvmehta745/payment-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 `rvmehta745\PaymentWallet\PaytmWalletServiceProvider` in your `config/app.php` configuration file.

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

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

```
'aliases' => [
    // Other aliases
    'PaytmWallet' => rvmehta745\PaymentWallet\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',
],
```

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

Usage
-----

[](#usage)

### Making a transaction

[](#making-a-transaction)

```
