Shopify/active_merchant — pull request #556 by nagash (2013-01-22 04:12:26+00:00)
Title: Add refund capability to NAB Transact gateway

Adds refunds to nab transact.

The gateway requires both the authorization and the order_id which was used to make the purchase request. I've noticed that some other gateways get around this by delimiting the purchase authorization returned by AM, and then automatically splitting them into the necessary bits when performing refunds, however, this means being unable to perform refunds with AM (for purchases made outside of AM) without knowing what the joining/splitting algorithm used is.

So, not sure if there is an official stance one way or another on handling multiple required parameters for refunds, but happy to change whatever is required.