diff --git a/composer.json b/composer.json index 0dbacf1..f1b1fb7 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "require-dev": { "ext-json": "*", - "andrey-helldar/cashier": "^1.9", + "andrey-helldar/cashier": "^1.12", "andrey-helldar/support": "^4.1", "illuminate/database": "^6.0|^7.0|^8.0", "orchestra/testbench": "^4.0|^5.0|^6.0", diff --git a/src/Exceptions/Manager.php b/src/Exceptions/Manager.php index 8c3c960..8358275 100644 --- a/src/Exceptions/Manager.php +++ b/src/Exceptions/Manager.php @@ -20,6 +20,7 @@ use Helldar\Cashier\Exceptions\Http\BankInternalErrorException; use Helldar\Cashier\Exceptions\Http\BuyerNotFoundClientException; use Helldar\Cashier\Exceptions\Http\ContactTheSellerClientException; +use Helldar\Cashier\Exceptions\Http\PaymentTypeNotAvailableException; use Helldar\Cashier\Exceptions\Http\TryAgainLaterClientException; use Helldar\Cashier\Exceptions\Manager as ExceptionManager; @@ -48,6 +49,8 @@ class Manager extends ExceptionManager 1091 => TryAgainLaterClientException::class, 1096 => TryAgainLaterClientException::class, + 3001 => PaymentTypeNotAvailableException::class, + 9999 => BankInternalErrorException::class, ];