# Sending a payment failure notification

When processing transactions, it's crucial to promptly notify customers about any issues that may arise, such as payment failures, to ensure transparency and maintain customer trust. The payment failure notification in our system is an automated response designed to alert the customer whenever a transaction does not go through successfully.&#x20;

## Notification trigger

This notification is primarily triggered by the `submitOrder` method within the `SubscriptionOrderHelper.java` class, ensuring that customers are quickly informed and can take necessary action to rectify the issue.
