X-Payments:Canceling payments when using X-Payments with Magento

From X-Payments Help
Jump to: navigation, search

In the "Auth only" workflow - as opposed to the "Auth and capture" workflow - it is possible to cancel (void) a payment before it has been captured. For example, if you have a payment for which an invoice was created with the "Not Capture" payment option, you can cancel it via the invoice page.

Important: If your workflow does not use invoices, or the order for which you need to cancel a payment has been modified using Magento's default Edit feature, DO NOT use this procedure; instead, please refer to the section "Capture, Void and Refund via the X-Payment Order State tab".

To cancel a payment:

  1. In the Admin panel, select Sales > Orders:
    Sales orders.png

  2. In the Orders list, locate the order for which you want to cancel a payment and click to open the order details.
    Order to cancel.png

  3. In the Order View menu on the left-hand side of the screen, select the Invoices tab. This opens a list of invoices pertaining to the order. Locate the invoice you need to cancel and click to open it.
    Invoice to cancel.png

  4. In the upper right of the Invoice page, click the Cancel button.
    Cancel invoice button.png

    The authorization to capture the invoice amount will be voided. The invoice status will be updated to Canceled.
    Invoice canceled.png

    In X-Payments, you should be able to find the respective Void transaction with the status Voided. The status of the payment in X-Payments should be updated to Declined by merchant.