Usually, when an order is cancelled, the orders module communicates with the payments module for cancellation of the order. When this occurs after the payment has been approved, the payments module communicates with the connector requesting an automatic reversal of the payment, so that it is not charged in the client’s invoice.
However, the connector may not always authorize the automatic reversal and return this information to the module. So, the payments module sends an email to the user registered in VTEX Admin in Store Settings > Payments > Settings, in the Notifications tab. The email informs the need to make the manual reversal in the connector through which the transaction had been processed. Additionally, a task will also be created on VTEX DO, which can be viewed in the payments module or on orders module.
When the payments module sends an email informing about the need to make the reversal manually, the following message will be shown in the transaction interaction:
Source Message: The e-mail with subject gateway-manual-reversal-requested has been successfully sent to user@store.com
.
If this message appears in the interaction after an attempt to cancel and reverse a transaction whose payment had been approved and/or settled, this means that the automatic online reversal has not been made with the connector, and the reversal will have to be made manually.