Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8d808e2
Update composer.lock (#259)
parsagholipour Oct 5, 2022
f1a0867
fix Local driver bug (#263)
hos3ein Dec 25, 2022
fadb14a
update config tag name (#266)
devman1917 Dec 31, 2022
b6db6f7
Use str_replace instead of Str::replace (#268)
hos3ein Jan 3, 2023
c10c99e
Bump dependencies for Laravel 10 (#269)
laravel-shift Feb 27, 2023
299e2d9
Update composer.json (#273)
ariaieboy Feb 27, 2023
869df15
fixed bug in loading view file `redirectForm.blade.php` (#270)
mohamadtsn Mar 5, 2023
bc76357
Added phpdoc to Payment facade class for IDE auto completion (#274)
alikhosravidev Mar 15, 2023
14b1864
Add Star History (#279)
amirsadeghi1 May 30, 2023
6cb5683
Merge default config with user config (#284)
bahramsadin Jun 25, 2023
e436c6c
Update dock block (#287)
AmirRezaM75 Jul 8, 2023
0c47925
update readme (#296)
bahramsadin Dec 6, 2023
0b43987
Update README.md
hamog Dec 13, 2023
f7bf61a
Update README-FA.md
hamog Dec 13, 2023
59dea1b
Update README-ZH.md
hamog Dec 13, 2023
3e8728d
Update README-FA.md
hamog Dec 13, 2023
672a2c5
Fixed imports (#297)
alikhosravidev Jan 12, 2024
7aa5c2d
added jibit gateway (#298)
shdehnavi Feb 3, 2024
9b210d4
remove composer.lock (#300)
bahramsadin Feb 25, 2024
fd1c77e
Bump dependencies for Laravel 11 (#302)
laravel-shift Mar 7, 2024
969534e
add composer.lock to .gitignore (#301)
bahramsadin Mar 7, 2024
fb3b132
remove $ from package installation command in readme (#317)
bahramsadin Sep 13, 2024
d23e366
Update README.md (#326)
matinkiani Nov 26, 2024
7bc8fbf
Upgrade to PHP 8.0 (#312)
Rayiumir Feb 20, 2025
fc8f6b6
Update composer.json (#336)
hadikhanian Feb 26, 2025
eb79353
[feat] Laravel 12.x Compatibility (#338)
alissn Mar 1, 2025
4e46632
fix: laravel 12.x compatibility (#339)
mostafaznv Mar 3, 2025
62e9338
update php version and other dependencies (#333)
bahramsadin Apr 17, 2025
2bcdaac
support laravel 12 (#341)
bahramsadin Apr 18, 2025
da6001a
set min version for shetabit/multipay to 2.4
khanzadimahdi Jul 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ Temporary Items

# Vendor directory
vendor/

# Composer.lock file
composer.lock

.phpunit.result.cache
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: php
php:
- '7.2'
- '7.3'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
before_script: composer install
46 changes: 30 additions & 16 deletions README-FA.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,42 @@

# درایورهای موجود

- [اسان پرداخت](https://asanpardakht.ir/) :heavy_check_mark:
- [آتی‌پی](https://www.atipay.net/) :heavy_check_mark:
- [به‌پرداخت (mellat)](http://www.behpardakht.com/) :heavy_check_mark:
- [دیجی پی](https://www.mydigipay.com/) :heavy_check_mark:
- [ایدی پی](https://idpay.ir/) :heavy_check_mark:
- [ایرانکیش](http://irankish.com/) :heavy_check_mark:
- [نکست پی](https://nextpay.ir/) :heavy_check_mark:
- [آقای پرداخت](https://aqayepardakht.ir/) :heavy_check_mark:
- [ازکی‌وام (پرداخت اقساطی)](https://www.azkivam.com/) :heavy_check_mark:
- [آسان‌پرداخت](https://asanpardakht.ir/) :heavy_check_mark:
- [اعتبارینو (پرداخت اقساطی)](https://etebarino.com/) :heavy_check_mark:
- [امیدپی](https://omidpayment.ir/) :heavy_check_mark:
- [آی‌دی‌پی](https://idpay.ir/) :heavy_check_mark:
- [ایران‌کیش](http://irankish.com/) :heavy_check_mark:
- [به‌پرداخت (ملت)](http://www.behpardakht.com/) :heavy_check_mark:
- [بیت‌پی](https://bitpay.ir/) :heavy_check_mark:
- [دیجی‌پی](https://www.mydigipay.com/) :heavy_check_mark:
- [فن‌آوا‌کارت](https://www.fanava.com/) :heavy_check_mark:
- [لوکال](#local-driver) :heavy_check_mark:
- [جیبیت](https://jibit.ir/) :heavy_check_mark:
- [نکست‌پی](https://nextpay.ir/) :heavy_check_mark:
- [پارسیان](https://www.pec.ir/) :heavy_check_mark:
- [پاسارگاد](https://www.bpi.ir/) :heavy_check_mark:
- [پی آی ار](https://pay.ir/) :heavy_check_mark:
- [پی پال](http://www.paypal.com/) (به زودی در ورژن بعدی اضافه میشود)
- [پی پینگ](https://www.payping.ir/) :heavy_check_mark:
- [پی استار](http://paystar.ir/) :heavy_check_mark:
- [پاسارگاد](https://bpi.ir/) :heavy_check_mark:
- [پی‌آی‌آر](https://pay.ir/) :heavy_check_mark:
- [پی‌فا](https://payfa.com/) :heavy_check_mark:
- [پی‌پال](http://www.paypal.com/) (به زودی در ورژن بعدی اضافه می‌شود)
- [پی‌پینگ](https://www.payping.ir/) :heavy_check_mark:
- [پی‌استار](http://paystar.ir/) :heavy_check_mark:
- [پولام](https://poolam.ir/) :heavy_check_mark:
- [سداد (بانک ملی)](https://sadadpsp.ir/) :heavy_check_mark:
- [رایان‌پی](https://rayanpay.com/) :heavy_check_mark:
- [سداد (ملی)](https://sadadpsp.ir/) :heavy_check_mark:
- [سامان](https://www.sep.ir) :heavy_check_mark:
- [سپ (درگاه الکترونیک سامان) کشاورزی و صادرات](https://www.sep.ir) :heavy_check_mark:
- [سپهر (صادرات)](https://www.sepehrpay.com/) :heavy_check_mark:
- [یک پی](https://yekpay.com/) :heavy_check_mark:
- [زرین پال](https://www.zarinpal.com/) :heavy_check_mark:
- [زیبال](https://www.zibal.ir/) :heavy_check_mark:
- [سپرده](https://sepordeh.com/) :heavy_check_mark:
- [سیزپی](https://www.sizpay.ir/) :heavy_check_mark:
- [تومن](https://tomanpay.net/) :heavy_check_mark:
- [وندار](https://vandar.io/) :heavy_check_mark:
- [والتا](https://walleta.ir/) :heavy_check_mark:
- [یک‌پی](https://yekpay.com/) :heavy_check_mark:
- [زرین‌پال](https://www.zarinpal.com/) :heavy_check_mark:
- [زیبال](https://www.zibal.ir/) :heavy_check_mark:

- درایورهای دیگر ساخته خواهند شد یا اینکه بسازید و درخواست `merge` بدید.

Expand All @@ -87,7 +101,7 @@
</div>

``` bash
$ composer require shetabit/payment
composer require shetabit/payment
```

<div dir="rtl">
Expand Down
19 changes: 17 additions & 2 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,41 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
# 可用驱动列表

- [asanpardakht](https://asanpardakht.ir/) :heavy_check_mark:
- [aqayepardakht](https://aqayepardakht.ir/) :heavy_check_mark:
- [atipay](https://www.atipay.net/) :heavy_check_mark:
- [azkiVam (Installment payment)](https://www.azkivam.com/) :heavy_check_mark:
- [behpardakht (mellat)](http://www.behpardakht.com/) :heavy_check_mark:
- [bitpay](https://bitpay.ir/) :heavy_check_mark:
- [digipay](https://www.mydigipay.com/) :heavy_check_mark:
- [etebarino (Installment payment)](https://etebarino.com/) :heavy_check_mark:
- [fanavacard](https://www.fanava.com/) :heavy_check_mark:
- [idpay](https://idpay.ir/) :heavy_check_mark:
- [irankish](http://irankish.com/) :heavy_check_mark:
- [local](#local-driver) :heavy_check_mark:
- [jibit](https://jibit.ir/) :heavy_check_mark:
- [nextpay](https://nextpay.ir/) :heavy_check_mark:
- [omidpay](https://omidpayment.ir/) :heavy_check_mark:
- [parsian](https://www.pec.ir/) :heavy_check_mark:
- [pasargad](https://bpi.ir/) :heavy_check_mark:
- [payir](https://pay.ir/) :heavy_check_mark:
- [payfa](https://payfa.com/) :heavy_check_mark:
- [paypal](http://www.paypal.com/) (在下一个版本中很快就支持了)
- [payping](https://www.payping.ir/) :heavy_check_mark:
- [paystar](http://paystar.ir/) :heavy_check_mark:
- [poolam](https://poolam.ir/) :heavy_check_mark:
- [rayanpay](https://rayanpay.com/) :heavy_check_mark:
- [sadad (melli)](https://sadadpsp.ir/) :heavy_check_mark:
- [saman](https://www.sep.ir) :heavy_check_mark:
- [sep (saman electronic payment) Keshavarzi & Saderat](https://www.sep.ir) :heavy_check_mark:
- [sepehr (saderat)](https://www.sepehrpay.com/) :heavy_check_mark:
- [sepordeh](https://sepordeh.com/) :heavy_check_mark:
- [sizpay](https://www.sizpay.ir/) :heavy_check_mark:
- [toman](https://tomanpay.net/) :heavy_check_mark:
- [vandar](https://vandar.io/) :heavy_check_mark:
- [walleta (Installment payment)](https://walleta.ir/) :heavy_check_mark:
- [yekpay](https://yekpay.com/) :heavy_check_mark:
- [zarinpal](https://www.zarinpal.com/) :heavy_check_mark:
- [zibal](https://www.zibal.ir/) :heavy_check_mark:
- [sepordeh](https://sepordeh.com/) :heavy_check_mark:
- 其他正在进行中

**您可以通过`pull requests` 帮助我创建更多的网关**
Expand All @@ -91,7 +106,7 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
通过 Composer

``` bash
$ composer require shetabit/payment
composer require shetabit/payment
```

## 配置
Expand Down
41 changes: 33 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,38 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
# List of available drivers

- [asanpardakht](https://asanpardakht.ir/) :heavy_check_mark:
- [aqayepardakht](https://aqayepardakht.ir/) :heavy_check_mark:
- [atipay](https://www.atipay.net/) :heavy_check_mark:
- [azkiVam (Installment payment)](https://www.azkivam.com/) :heavy_check_mark:
- [behpardakht (mellat)](http://www.behpardakht.com/) :heavy_check_mark:
- [bitpay](https://bitpay.ir/) :heavy_check_mark:
- [digipay](https://www.mydigipay.com/) :heavy_check_mark:
- [idpay](https://idpay.ir/) :heavy_check_mark:
- [etebarino (Installment payment)](https://etebarino.com/) :heavy_check_mark:
- [fanavacard](https://www.fanava.com/) :heavy_check_mark:
- [irankish](http://irankish.com/) :heavy_check_mark:
- [local](#local-driver) :heavy_check_mark:
- [jibit](https://jibit.ir/) :heavy_check_mark:
- [nextpay](https://nextpay.ir/) :heavy_check_mark:
- [omidpay](https://omidpayment.ir/) :heavy_check_mark:
- [parsian](https://www.pec.ir/) :heavy_check_mark:
- [pasargad](https://bpi.ir/) :heavy_check_mark:
- [payir](https://pay.ir/) :heavy_check_mark:
- [payfa](https://payfa.com/) :heavy_check_mark:
- [paypal](http://www.paypal.com/) (will be added soon in next version)
- [payping](https://www.payping.ir/) :heavy_check_mark:
- [paystar](http://paystar.ir/) :heavy_check_mark:
- [poolam](https://poolam.ir/) :heavy_check_mark:
- [rayanpay](https://rayanpay.com/) :heavy_check_mark:
- [sadad (melli)](https://sadadpsp.ir/) :heavy_check_mark:
- [saman](https://www.sep.ir) :heavy_check_mark:
- [sep (saman electronic payment) Keshavarzi & Saderat](https://www.sep.ir) :heavy_check_mark:
- [sepehr (saderat)](https://www.sepehrpay.com/) :heavy_check_mark:
- [sepordeh](https://sepordeh.com/) :heavy_check_mark:
- [sizpay](https://www.sizpay.ir/) :heavy_check_mark:
- [toman](https://tomanpay.net/) :heavy_check_mark:
- [vandar](https://vandar.io/) :heavy_check_mark:
- [yekpay](https://yekpay.com/) :heavy_check_mark:
- [zarinpal](https://www.zarinpal.com/) :heavy_check_mark:
- [zibal](https://www.zibal.ir/) :heavy_check_mark:
- [sepordeh](https://sepordeh.com/) :heavy_check_mark:
- [sizpay](https://www.sizpay.ir/) :heavy_check_mark:
- Others are under way.

**Help me to add the gateways below by creating `pull requests`**
Expand All @@ -92,7 +103,19 @@ For PHP integration you can use [shetabit/multipay](https://github.com/shetabit/
Via Composer

``` bash
$ composer require shetabit/payment
composer require shetabit/payment
```

## Publish Vendor Files

- **publish configuration files:**
``` bash
php artisan vendor:publish --tag=payment-config
```

- **publish views for customization:**
``` bash
php artisan vendor:publish --tag=payment-views
```

## Configure
Expand All @@ -115,9 +138,7 @@ a. In your `config/app.php` file add these two lines.
],
```

b. then run `php artisan vendor:publish` to publish `config/payment.php` file in your config directory.

In the config file you can set the `default driver` to use for all your payments. But you can also change the driver at runtime.
b. In the config file you can set the `default driver` to use for all your payments. But you can also change the driver at runtime.

Choose what gateway you would like to use in your application. Then make that as default driver so that you don't have to specify that everywhere. But, you can also use multiple gateways in a project.

Expand Down Expand Up @@ -507,3 +528,7 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
[link-code-quality]: https://scrutinizer-ci.com/g/shetabit/payment
[link-author]: https://github.com/khanzadimahdi
[link-contributors]: ../../contributors

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=shetabit/payment&type=Date)](https://star-history.com/#shetabit/payment&Date)
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@
}
],
"require": {
"php": ">=7.2",
"illuminate/broadcasting": "^5.0|^6.0|^7.0|^8.0|^9.0",
"illuminate/support": "^5.0|^6.0|^7.0|^8.0|^9.0",
"shetabit/multipay": "^1.0"
"php": "^8.0",
"illuminate/broadcasting": "^8.0|^9.0|^10.0|^11.0|^12.0",
"illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0",
"shetabit/multipay": "^2.4"
},
"suggest": {
"ext-soap": "Needed to support some drivers that required SOAP"
},
"require-dev": {
"orchestra/testbench": "^3.0|^4.0|^5.0|^6.0|^7.0",
"phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0",
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
"phpunit/phpunit": ">=9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down
Loading