Shopify/active_merchant — pull request #399 by constantm (2012-07-04 19:56:23+00:00)
Title: Inspire Commerce: Can now purchase with vault_id

I couldn't get purchase() to work on Inspire Commerce using a vault_id, previously stored using authorize(). It seemed like AM was trying to use the second parameter as a card if it's not a string. So, when using 'vault' as payment source, you had no way to specify the vault_id to use. Couldn't figure out the "correct" way to do this from the source or tests, so I don't know if I'm just missing something.