summaryrefslogtreecommitdiff
path: root/PaymentsGateway.pm
diff options
context:
space:
mode:
Diffstat (limited to 'PaymentsGateway.pm')
-rw-r--r--PaymentsGateway.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/PaymentsGateway.pm b/PaymentsGateway.pm
index 6fabcbf..956aed5 100644
--- a/PaymentsGateway.pm
+++ b/PaymentsGateway.pm
@@ -91,6 +91,7 @@ sub map_fields {
'discover' => 10,
'cc' => 10,
'check' => 20,
+ 'echeck' => 20,
);
#pg_type/action = action + type
@@ -174,7 +175,7 @@ sub submit {
)
);
- if ( $content{'type'} =~ /^check$/i ) {
+ if ( $content{'type'} =~ /^e?check$/i ) {
push @fields, qw( ecom_payment_check_trn
ecom_payment_check_account
ecom_payment_check_account_type );