** BUG ** PAYFLOWPRO Extension Missing or Not Working for Win32
| From: | Jason Caldwell | Date: | Fri, 05 Oct 2001 17:19:43 +0000 |
| Subject: | ** BUG ** PAYFLOWPRO Extension Missing or Not Working for Win32 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-67364@lists.php.net to get a copy of this message | ||
** BUG ** PAYFLOWPRO Extension Missing or Not Working for Win32 (4.0.6)
version of PHP.
The following code from the Online PHP Manual (from www.php.net) generates
the following error when run.
[ ---- / CODE / ---- ]
<?php
pfpro_init();
$transaction = array(USER => 'myUserName',
PWD => 'myPassword',
TRXTYPE => 'S',
TENDER => 'C',
AMT => 1.50,
ACCT => '4111111111111111',
EXPDATE => '0904'
);
$response = pfpro_process($transaction);
if (!$response) {
die("Couldn't establish link to Verisign.\n");
}
echo "Verisign response code was ".$response[RESULT];
echo ", which means: ".$response[RESPMSG]."\n";
echo "\nThe transaction request: ";
print_r($transaction);
echo "\nThe response: ";
print_r($response);
pfpro_cleanup();
?>
[ ---- / ERROR GENERATED / ---- ]
Call to undefined function: pfpro_init()
If someone could please fix this as soon as possible -- thanks. :-)
Jason Caldwell
jason@thinkingman.org