PHPackages                             dizatech/transaction - 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. dizatech/transaction

ActiveLibrary[Payment Processing](/categories/payments)

dizatech/transaction
====================

v1.4.2(7mo ago)41872MITPHPPHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|^8.0.2

Since Jan 19Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/dizatech/transaction)[ Packagist](https://packagist.org/packages/dizatech/transaction)[ RSS](/packages/dizatech-transaction/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (20)Used By (0)

Laravel Payment Package For Iranian Bank Gateways
=================================================

[](#laravel-payment-package-for-iranian-bank-gateways)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0d1764d7fdbf8f0824241ac8eeb9eac106c21a0806116fcae1964c2b9c3494fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64697a61746563682f7472616e73616374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dizatech/transaction)[![GitHub issues](https://camo.githubusercontent.com/45f50488dce528f22fbb188c2fedd7337666d4618cabe97fab2c9e3a6bb89e8d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f64697a61746563682f7472616e73616374696f6e3f7374796c653d666c61742d737175617265)](https://github.com/dizatech/transaction/issues)[![GitHub stars](https://camo.githubusercontent.com/91ed8029338bc0bc46f61dad4ef19fb329f098633eda30b8b6b8e9aff9b6a4bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f64697a61746563682f7472616e73616374696f6e3f7374796c653d666c61742d737175617265)](https://github.com/dizatech/transaction/stargazers)[![GitHub forks](https://camo.githubusercontent.com/ddc67c0a47d387fdd08c333e5e19677863f6b2fdf7a0ccfb47a11b8fcf7a7e4d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f64697a61746563682f7472616e73616374696f6e3f7374796c653d666c61742d737175617265)](https://github.com/dizatech/transaction/network)[![Total Downloads](https://camo.githubusercontent.com/cf35bb40d174f78ddf1b2936dd41a6c70197018853048047334a93caec49c6c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64697a61746563682f7472616e73616374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dizatech/transaction)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ea442cfdb773e1fd3495860d4185297e51edcf47c395cec501ed86c56f29a754/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64697a61746563682f7472616e73616374696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dizatech/transaction/?branch=main)[![Build Status](https://camo.githubusercontent.com/c603cd959f8b7c94e1d421117d3e6dde1a9a37772fb1c818931b2fe402db143d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64697a61746563682f7472616e73616374696f6e2f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/dizatech/transaction/build-status/main)[![GitHub license](https://camo.githubusercontent.com/45e3c216cd8227d769f7b449ad34946613aff24d1a1aba5f21c258a9efceedfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f64697a61746563682f7472616e73616374696f6e3f7374796c653d666c61742d737175617265)](https://github.com/dizatech/transaction/blob/master/LICENSE)

This is a Laravel Package for Payment Gateway Integration.

💎 List of available drivers
---------------------------

[](#-list-of-available-drivers)

- [parsian](https://www.pec.ir/)
- [pasargad](https://bpi.ir/)
- [zarinpal](https://www.zarinpal.com/)
- [sadad](https://sadadpsp.ir/)

How to install and config [dizatech/transaction](https://github.com/dizatech/transaction) package?
--------------------------------------------------------------------------------------------------

[](#how-to-install-and-config-dizatechtransaction-package)

#### ⬇️ Installation

[](#️-installation)

```
composer require dizatech/transaction
```

#### Publish Config file

[](#publish-config-file)

```
php artisan vendor:publish --tag=dizatech_transaction
```

#### Migrate tables, to add transactions table to database

[](#migrate-tables-to-add-transactions-table-to-database)

```
php artisan migrate
```

#### 📖 How to use exists drivers from package

[](#-how-to-use-exists-drivers-from-package)

- Set the configs in /config/dizatech\_transaction.php
- Use this sample code for Request Payment

    ```
