$self->tax_amounts( {} );
}
-# Backwards-compatible support for avs_response
+# Backwards-compatible support for renamed fields
sub avs_response { shift()->avs_code(@_) }
+sub sales_number { shift()->order_number(@_) }
# Combine get_fields and remap_fields for convenience. Unlike OnlinePayment's
croak "Unsupported transaction type: $content{type}"
if $content{type} &&
! grep lc($content{type}) eq lc($_),
- values %{+CARD_TYPES};
+ values %{+CARD_TYPES}, 'CC';
croak 'Unsupported action'
unless $content{action} =~ /^Normal Authori[zs]ation$/i;
=item - JCB
+=item - CC
+
=back
(This is actually ignored for the moment, and can be left blank or undefined.)