title | issue |
---|---|
Apply domain exceptions |
NEXT-28610 |
- Added new domain exception for payment
Shopware\Core\Checkout\Payment\PaymentException
- Added new exception methods
orderNotFound
,documentNotFound
andgenerationError
forShopware\Core\Checkout\Document\DocumentException
- Added new exception methods
invalidPaymentOrderNotStored
andorderNotFound
forShopware\Core\Checkout\Cart\CartException
- Added new exception method
paymentMethodNotAvailable
forShopware\Core\Checkout\Order\OrderException
- Added new exception method
unknownPaymentMethod
forShopware\Core\Checkout\Customer\CustomerException
- Changed
Shopware\Storefront\Controller\AccountPaymentController::savePayment
to catchPaymentException
and forward to payment page withsuccess = false
.