diff options
-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(); - -?> |