projects
/
Business-OnlinePayment-USAePay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d5dbf9
)
try not requiring invoice numbers
author
jeff
<jeff>
Fri, 24 Nov 2006 20:06:10 +0000
(20:06 +0000)
committer
jeff
<jeff>
Fri, 24 Nov 2006 20:06:10 +0000
(20:06 +0000)
USAePay.pm
patch
|
blob
|
history
diff --git
a/USAePay.pm
b/USAePay.pm
index
a57c6a6
..
0157a20
100644
(file)
--- a/
USAePay.pm
+++ b/
USAePay.pm
@@
-96,7
+96,8
@@
sub submit {
my @required_fields = qw(type action login);
if ($self->transaction_type() eq 'CC' ) {
my @required_fields = qw(type action login);
if ($self->transaction_type() eq 'CC' ) {
- push @required_fields, qw/card_number expiration amount invoice_number name address zip/;
+# push @required_fields, qw/card_number expiration amount invoice_number name address zip/;
+ push @required_fields, qw/card_number expiration amount name address zip/;
if ($self->{_content}->{action} eq 'postauth') {
push @required_fields, qw/authorization/;
}
if ($self->{_content}->{action} eq 'postauth') {
push @required_fields, qw/authorization/;
}
@@
-105,7
+106,8
@@
sub submit {
push @required_fields, qw/order_number/;
}
}elsif ($self->transaction_type() eq 'ECHECK' ) {
push @required_fields, qw/order_number/;
}
}elsif ($self->transaction_type() eq 'ECHECK' ) {
- push @required_fields, qw/routing_code account_number amount invoice_number name customer_ssn/;
+# push @required_fields, qw/routing_code account_number amount invoice_number name customer_ssn/;
+ push @required_fields, qw/routing_code account_number amount name customer_ssn/;
} else {
croak("USAePay can't handle transaction type: ".
$self->transaction_type());
} else {
croak("USAePay can't handle transaction type: ".
$self->transaction_type());