diff --git a/src/Webpay/TransaccionCompleta/MallTransaction.php b/src/Webpay/TransaccionCompleta/MallTransaction.php index 43a3dc2f..bfe2445a 100644 --- a/src/Webpay/TransaccionCompleta/MallTransaction.php +++ b/src/Webpay/TransaccionCompleta/MallTransaction.php @@ -13,7 +13,7 @@ use Transbank\Webpay\TransaccionCompleta\Exceptions\MallTransactionCreateException; use Transbank\Webpay\TransaccionCompleta\Exceptions\MallTransactionRefundException; use Transbank\Webpay\TransaccionCompleta\Exceptions\MallTransactionStatusException; -use Transbank\Webpay\TransaccionCompleta\Exceptions\TransactionInstallmentsException; +use Transbank\Webpay\TransaccionCompleta\Exceptions\MallTransactionInstallmentsException; use Transbank\Webpay\TransaccionCompleta\Responses\MallTransactionCommitResponse; use Transbank\Webpay\TransaccionCompleta\Responses\MallTransactionCreateResponse; use Transbank\Webpay\TransaccionCompleta\Responses\MallTransactionInstallmentsResponse; @@ -86,7 +86,7 @@ public function create( * @param string $token * @param array $details * - * @throws TransactionInstallmentsException + * @throws MallTransactionInstallmentsException * * @return MallTransactionInstallmentsResponse[] */ @@ -108,7 +108,7 @@ public function installments( return new MallTransactionInstallmentsResponse($response); }, $details); } catch (WebpayRequestException $exception) { - throw new TransactionInstallmentsException( + throw new MallTransactionInstallmentsException( $exception->getMessage(), $exception->getTransbankErrorMessage(), $exception->getHttpCode(),