diff options
author | Uwe Steinmann <steinm@php.net> | 2000-07-17 15:44:24 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2000-07-17 15:44:24 +0000 |
commit | eb3bc5aba6f75b3167bb7c5351073e92cf256a28 (patch) | |
tree | 96c78187260c7a6d86073aacb8f9b97299593901 /ext | |
parent | 8f96ea6b20f58e79583629e8bd5cb27e26dccb7a (diff) | |
download | php-git-eb3bc5aba6f75b3167bb7c5351073e92cf256a28.tar.gz |
- Cannot see any good reason why the test script in the dir of
the extension, though it is in tests as well
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pfpro/test.output | 29 | ||||
-rw-r--r-- | ext/pfpro/test.php | 43 |
2 files changed, 0 insertions, 72 deletions
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 - -<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 index dd772dc2b4..0000000000 --- a/ext/pfpro/test.php +++ /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(); - -?> |