Shopify/active_merchant — Issue #234: 'testmode' parameter causes recurring transactions to fail checksum
Author: brentmc79
Created: 2011-12-06 20:59:01+00:00
State: open

I ran into a problem with my test suite where a small subset of my specs were failing. After a bit of debugging, I contacted the Quickpay support, as it seemed like I was following their docs correctly.

We determined that the testmode parameter (testmode=1) was causing the problem. Apparently, when a referencing transaction id is included in the post, then the testmode is determined from that transaction. The unnecessary parameter was causing a checksum failure, or at least that's what the response code was indicating.

Removing the testmode parameter only for posts that include a transaction parameter allowed my test to pass.