]> granicus.if.org Git - php/commitdiff
- Cannot see any good reason why the test script in the dir of
authorUwe Steinmann <steinm@php.net>
Mon, 17 Jul 2000 15:44:24 +0000 (15:44 +0000)
committerUwe Steinmann <steinm@php.net>
Mon, 17 Jul 2000 15:44:24 +0000 (15:44 +0000)
  the extension, though it is in tests as well

ext/pfpro/test.output [deleted file]
ext/pfpro/test.php [deleted file]

diff --git a/ext/pfpro/test.output b/ext/pfpro/test.output
deleted file mode 100644 (file)
index 29e13f7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-X-Powered-By: PHP/4.0.2-dev
-Content-type: text/html
-
-<pre>
-
-Payflow Pro library is version L211
-Payflow Pro init returned 1
-Signio response code was 0, which means: Approved
-
-Dump of the transaction request Array
-(
-    [USER] => mylogin
-    [PWD] => mypassword
-    [TRXTYPE] => S
-    [TENDER] => C
-    [AMT] => 1.5
-    [ACCT] => 4111111111111111
-    [EXPDATE] => 0900
-)
-
-Dump of the response Array
-(
-    [RESULT] => 0
-    [PNREF] => P40111660030
-    [RESPMSG] => Approved
-    [AUTHCODE] => 251PNI
-    [AVSADDR] => X
-    [AVSZIP] => X
-)
diff --git a/ext/pfpro/test.php b/ext/pfpro/test.php
deleted file mode 100644 (file)
index dd772dc..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?
-
-if (!extension_loaded('pfpro')) {
-  die("pfpro module is not compiled in PHP\n");
-}
-
-echo "<pre>\n\n";
-
-echo "Payflow Pro library is version ".pfpro_version()."\n";
-
-echo "Payflow Pro init returned ".pfpro_init()."\n";
-
-$transaction = array(USER      => 'mylogin',
-                    PWD        => 'mypassword',
-                    TRXTYPE    => 'S',
-                    TENDER     => 'C',
-                    AMT        => 1.50,
-                    ACCT       => '4111111111111111',
-                    EXPDATE    => '0900'
-                    );
-
-$response = pfpro_process($transaction);
-
-if (!$response) {
-  die("Couldn't establish link to signio software.\n");
-}
-
-echo "Signio response code was ".$response[RESULT];
-echo ", which means: ".$response[RESPMSG]."\n";
-
-echo "\n";
-
-echo "Dump of the transaction request ";
-print_r($transaction);
-
-echo "\n";
-
-echo "Dump of the response ";
-print_r($response);
-
-pfpro_cleanup();
-
-?>