[interchange-cvs] interchange - kwalsh modified lib/Vend/Payment/ECHO.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Tue Aug 27 01:13:01 2002
User: kwalsh
Date: 2002-08-27 05:12:53 GMT
Modified: lib/Vend/Payment ECHO.pm
Log:
* The POD documentation formatting was not quite right when
viewed from perldoc. Corrected.
Revision Changes Path
1.3 +26 -26 interchange/lib/Vend/Payment/ECHO.pm
rev 1.3, prev_rev 1.2
Index: ECHO.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/lib/Vend/Payment/ECHO.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ECHO.pm 26 Aug 2002 23:23:12 -0000 1.2
+++ ECHO.pm 27 Aug 2002 05:12:52 -0000 1.3
@@ -1,6 +1,6 @@
# Vend::Payment::ECHO - Interchange ECHO support
#
-# $Id: ECHO.pm,v 1.2 2002/08/26 23:23:12 danb Exp $
+# $Id: ECHO.pm,v 1.3 2002/08/27 05:12:52 kwalsh Exp $
#
# Copyright (C) 2002=20
# Electric Pulp. <info@electricpulp.com>=20
@@ -34,7 +34,7 @@
=20
=3Dhead1 Interchange ECHO Support
=20
-Vend::Payment::ECHO $Revision: 1.2 $
+Vend::Payment::ECHO $Revision: 1.3 $
=20
=3Dhead1 AUTHOR
=20
@@ -61,26 +61,26 @@
You will be provided an ID and a PIN (also known as 'secret'). You may al=
so
sign up for a test account at the following URL:
=20
- http://www.echo-inc.com/echotestapp.php
+ http://www.echo-inc.com/echotestapp.php
=20
This subroutine uses the OpenECHO module. Make sure OpenECHO.pm is in you=
r @INC
array. It is available for download, see the following URLs:
=20=20=20
- http://www.openecho.com/
- http://www.echo-inc.com/
+ http://www.openecho.com/
+ http://www.echo-inc.com/
=20=20=20
The OpenECHO.pm module itself has some additional prerequisites:
=20
- Net::SSLeay
+ Net::SSLeay
=20=20
- or
+ or
=20=20=20
- LWP::UserAgent and Crypt::SSLeay
+ LWP::UserAgent and Crypt::SSLeay
=20
Only one of these need be present and working. Net::SSLeay is preferred a=
s some
have reported problems using LWP::UserAgent and Crypt::SSLeay.
=20
- URL::Escape
+ URL::Escape
=20
This module is used to write some of the URLs used by the OpenECHO module.=
It
is recommended that you read the documention for the OpenECHO module itsel=
f in
@@ -118,15 +118,15 @@
=20
or (with only ECHO as a payment provider)
=20=20=20=20=20
- Variable MV_PAYMENT_ID Your_ECHO_ID
-=09=20
+ Variable MV_PAYMENT_ID Your_ECHO_ID
+
or
=20
- Variable ECHO_PAYMENT_ID Your_ECHO_ID
+ Variable ECHO_PAYMENT_ID Your_ECHO_ID
=20
or
=20=20
- [charge mode=3Decho id=3DYour_ECHO_ID]
+ [charge mode=3Decho id=3DYour_ECHO_ID]
=20
The active settings are:
=20
@@ -147,16 +147,16 @@
If planning to do AUTH_ONLY or other with special admin page
Variable MV_PAYMENT_REMAP order_id=3Dmv_order_id auth_code=3Dmv_auth_code
=20
-Variable ECHO_PAYMENT_ORDER_TYPE S
- # S for "self-service" orders
- # F for hosted or ISP orders
-Variable ECHO_PAYMENT_ISP_ECHO_ID 123<4567890
-Variable ECHO_PAYMENT_ISP_PIN 12345608
-Variable ECHO_PAYMENT_MERCHANT_EMAIL merchant@merchant.com
-Variable ECHO_PAYMENT_DEBUG F
- # C causes ECHO to return a statement of conformity
- # T or TRUE causes ECHO to return additional debug information
- # Any other value turns off ECHO debugging
+ Variable ECHO_PAYMENT_ORDER_TYPE S
+ # S for "self-service" orders
+ # F for hosted or ISP orders
+ Variable ECHO_PAYMENT_ISP_ECHO_ID 123<4567890
+ Variable ECHO_PAYMENT_ISP_PIN 12345608
+ Variable ECHO_PAYMENT_MERCHANT_EMAIL merchant@merchant.com
+ Variable ECHO_PAYMENT_DEBUG F
+ # C causes ECHO to return a statement of conformity
+ # T or TRUE causes ECHO to return additional debug information
+ # Any other value turns off ECHO debugging
=20
=3Dback=20
=20
@@ -164,9 +164,9 @@
=20
This is an example configuration that one would add to catalog.cfg:=20
=20
-Variable MV_PAYMENT_ID Your_ECHO_ID
-Variable MV_PAYMENT_SECRET Your_ECHO_secret
-Variable MV_PAYMENT_MODE echo
+ Variable MV_PAYMENT_ID Your_ECHO_ID
+ Variable MV_PAYMENT_SECRET Your_ECHO_secret
+ Variable MV_PAYMENT_MODE echo
=20
=3Dhead2 Troubleshooting
=20