diff --git a/README-FA.md b/README-FA.md index 5f6cb8c..0574080 100644 --- a/README-FA.md +++ b/README-FA.md @@ -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: diff --git a/README-ZH.md b/README-ZH.md index a39a1fc..360cea5 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -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: diff --git a/README.md b/README.md index f3b3f0a..98f5575 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/config/payment.php b/config/payment.php index ee01415..86c54c7 100755 --- a/config/payment.php +++ b/config/payment.php @@ -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) + ], 'digipay' => [ 'apiPaymentUrl' => 'https://api.mydigipay.com', // with out '/' at the end 'username' => 'username', @@ -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, ] ]; diff --git a/src/Drivers/Digify/Digify.php b/src/Drivers/Digify/Digify.php index 375de67..cf7d2a2 100644 --- a/src/Drivers/Digify/Digify.php +++ b/src/Drivers/Digify/Digify.php @@ -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;