Log in
Model

PaymentFailuresService

Magento\Sales\Model\Service\PaymentFailuresService

What it does

This service handles failed payment transactions in Magento 2 by sending notification emails to store administrators.

Developers would use this service when a payment fails during checkout to automatically notify the appropriate store personnel with details about the failed transaction, including cart contents, customer information, and the failure reason.

Public Methods

  • handle()