From: Uwe Steinmann Date: Mon, 17 Jul 2000 15:44:24 +0000 (+0000) Subject: - Cannot see any good reason why the test script in the dir of X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb3bc5aba6f75b3167bb7c5351073e92cf256a28;p=php - Cannot see any good reason why the test script in the dir of the extension, though it is in tests as well --- diff --git a/ext/pfpro/test.output b/ext/pfpro/test.output deleted file mode 100644 index 29e13f7a62..0000000000 --- a/ext/pfpro/test.output +++ /dev/null @@ -1,29 +0,0 @@ -X-Powered-By: PHP/4.0.2-dev -Content-type: text/html - -
-
-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
index dd772dc2b4..0000000000
--- a/ext/pfpro/test.php
+++ /dev/null
@@ -1,43 +0,0 @@
-\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();
-
-?>