Sounds like we got to the bottom of it
So: there's two issues
(a) silent failures, as identified in #557 (part of the fix is to remove the cc.valid? check but there may be other things to change too)
(b) cc.valid? shouldn't really be failing for you - and chances are it's the cc_type which is doing it, so maybe we need to extend spree_cc_type to return something sensible when it detects the gateway is in test mode...
OTOH - finding the cc_type is a bit of a black art (plus AM's regexps are out of date...), so it might be best to remove it from the validation checks anyway! Note that we don't save a CC now until it's been through authorization, so we can rely on the gateway to validate it.
Paul