Shipping notification sent on capture_authorised_payment failure

Create issue
Issue #968 new
Andrew Dubbeld created an issue

At the moment if an authorisation capture fails (i.e. On an auth-only order, an admin adds a new order status of Shipped, but the automatically issued transaction is declined), the order status is updated, and the customer is sent an email reporting that the item has been shipped.

Ideally, the response values should be checked before updating the status and notifying the order. If there are any errors, they should be displayed on the order page. It would perhaps be helpful to have the capture functionality separated from the status update: at the moment it seems a bit backwards.

I began writing a patch to fix this, but had no luck notifying the admin user of the failure details from payment.listeners.capture_on_ship_listener. Any hints there?

Comments (0)

  1. Log in to comment