Shopify/active_merchant — pull request #852 by melari (2013-09-23 19:10:36+00:00)
Title: WorldPay Direct: Allow transactions with a status of SETTLED_BY_MERCHANT to be refunded.

Fixes #812

Looks like worldpay added a "SETTLED_BY_MERCHANT" status that a transaction can have. This fixes a remote test that started failing because of it, and fixes the refund method to work with transactions that have this new status.

@jduff @silverstreaked