Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README-FA.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
- [ازکی‌وام (پرداخت اقساطی)](https://www.azkivam.com/) :heavy_check_mark:
- [به‌پرداخت (ملت)](http://www.behpardakht.com/) :heavy_check_mark:
- [بیت‌پی](https://bitpay.ir/) :heavy_check_mark:
- [دیجیفای](https://digify.shop/) :heavy_check_mark:
- [دیجی‌پی](https://www.mydigipay.com/) :heavy_check_mark:
- [اعتبارینو (پرداخت اقساطی)](https://etebarino.com/) :heavy_check_mark:
- [فن‌آوا‌کارت](https://www.fanava.com/) :heavy_check_mark:
Expand Down
1 change: 1 addition & 0 deletions README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ For **Laravel** integration you can use [shetabit/payment](https://github.com/sh
- [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:
- [digify](https://digify.shop/) :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:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ For **Laravel** integration you can use [shetabit/payment](https://github.com/sh
- [behpardakht (mellat)](http://www.behpardakht.com/) :heavy_check_mark:
- [bitpay](https://bitpay.ir/) :heavy_check_mark:
- [daracard](https://daracard.co/) :heavy_check_mark:
- [digify](https://digify.shop/) :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:
Expand Down
12 changes: 11 additions & 1 deletion config/payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@
'currency' => 'T', //Can be R, T (Rial, Toman)
'cumulativeDynamicPayStatus' => false,
],
'digify' => [
'apiPaymentUrl' => 'https://bwdk-backend.digify.shop/orders/api/v1/create-order/',
'apiVerificationUrl' => 'https://bwdk-backend.digify.shop/orders/api/v1/manager/{orderUuid}/verify/',
'username' => '',
'password' => '',
'client_id' => '',
'client_secret' => '',
'callbackUrl' => 'http://yoursite.com/path/to',
'currency' => 'T', //Can be R, T (Rial, Toman)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

این کانفیگ رو کجای درایور استفاده کردی؟ نمیتونم ببینمش. حس میکنم فقط کپی پیست کردی کانفیگ رو و با دقت اونو طبق درایور خودت نذاشتیش. مثلا توی درایور نمیبینم که از apiPaymentUrl استفاده کرده باشی و بجاش از ‍callback_url استفاده کردی که با کانفیگ تطبیق نداره. لطفا کانفیگ رو دقیق تر بررسی کن و طبق چیزی که درایور مورد نظرت نیاز داره اینجا ست کنش

],
'digipay' => [
'apiPaymentUrl' => 'https://api.mydigipay.com', // with out '/' at the end
'username' => 'username',
Expand Down Expand Up @@ -581,6 +591,6 @@
'stripe' => \Shetabit\Multipay\Drivers\Stripe\Stripe::class,
'torobpay' =>\Shetabit\Multipay\Drivers\TorobPay\TorobPay::class,
'xendit' => \Shetabit\Multipay\Drivers\Xendit\Xendit::class,

'digify' => \Shetabit\Multipay\Drivers\Digify\Digify::class,
]
];
2 changes: 1 addition & 1 deletion src/Drivers/Digify/Digify.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Shetabit\Multipay\Receipt;
use Shetabit\Multipay\RedirectionForm;

class Digikala extends Driver
class Digify extends Driver
{
protected string $baseUrl;
protected string $apiKey;
Expand Down