[interchange-cvs] interchange - heins modified lib/Vend/Payment/Skipjack.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Fri Feb 8 22:45:01 2002
User: heins
Date: 2002-02-09 03:44:08 GMT
Modified: lib/Vend/Payment Skipjack.pm
Log:
* Add documentation and submit_url patch supplied by Ron Phipps.
Revision Changes Path
2.1 +15 -6 interchange/lib/Vend/Payment/Skipjack.pm
rev 2.1, prev_rev 2.0
Index: Skipjack.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Payment/Skipjack.pm,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- Skipjack.pm 18 Jul 2001 02:23:16 -0000 2.0
+++ Skipjack.pm 9 Feb 2002 03:44:08 -0000 2.1
@@ -1,6 +1,6 @@
# Vend::Payment::Skipjack - Interchange Skipjack support
#
-# $Id: Skipjack.pm,v 2.0 2001/07/18 02:23:16 jon Exp $
+# $Id: Skipjack.pm,v 2.1 2002/02/09 03:44:08 mheins Exp $
#
# Copyright (C) 1999-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -27,7 +27,7 @@
=head1 Interchange Skipjack Support
-Vend::Payment::Skipjack $Revision: 2.0 $
+Vend::Payment::Skipjack $Revision: 2.1 $
=head1 SYNOPSIS
@@ -97,8 +97,9 @@
=item id
-Your account ID number, supplied by Skipjack when you sign up.
-Global parameter is MV_PAYMENT_ID.
+Your account ID number, supplied by Skipjack when you sign up. Use the
+supplied HTML Serial Numbers (Nova or Vital) while testing in development
+mode. Global parameter is MV_PAYMENT_ID.
=item vendor
@@ -163,6 +164,10 @@
https://www.skipjackic.com/scripts/evolvcc.dll?Authorize
+Add the following to catalog.cfg while in development mode:
+
+ Route skipjack submit_url 'https://developer.skipjackic.com/scripts/evolvcc.dll?Authorize'
+
=back
=head2 Troubleshooting
@@ -189,7 +194,7 @@
Make sure you "Require"d the module in interchange.cfg:
- Require module Vend::Payment::iTransact
+ Require module Vend::Payment::Skipjack
=item *
@@ -440,6 +445,8 @@
%actual = map_actual();
}
+#::logDebug("Mapping: " . ::uneval(%actual));
+
if($opt->{test} || charge_param('test')) {
sj_test_values($opt, \%actual);
}
@@ -520,7 +527,9 @@
);
}
- my $submit_url = $opt->{submit_url}
+#::logDebug("Values to be sent: " . ::uneval(%values));
+
+ $opt->{submit_url} = $opt->{submit_url}
|| 'https://www.skipjackic.com/scripts/evolvcc.dll?Authorize';
my $thing = post_data($opt, \%values);