diff options
| author | SVN Migration <svn@php.net> | 2002-03-13 18:39:43 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2002-03-13 18:39:43 +0000 |
| commit | 8d6817e7f142091b1c30de30f349c3fde9d7e094 (patch) | |
| tree | 45704599905d4a7445ad446fc5337374a3390dbf /tests/testpfpro.php | |
| parent | 94e6810a2a3e189cf729bdbae8f45cd9d7987ad6 (diff) | |
| download | php-git-help.tar.gz | |
This commit was manufactured by cvs2svn to create tag 'help'.help
Diffstat (limited to 'tests/testpfpro.php')
| -rw-r--r-- | tests/testpfpro.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/testpfpro.php b/tests/testpfpro.php deleted file mode 100644 index ffb1784bdc..0000000000 --- a/tests/testpfpro.php +++ /dev/null @@ -1,39 +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"; - -pfpro_init(); - -$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 "\nDump of the transaction request "; -print_r($transaction); - -echo "\nDump of the response "; -print_r($response); - -pfpro_cleanup(); - -?> |
