http://www.php.net/bugs.php?id=9530

John

On Wed, 25 Apr 2001, Henning Kilset Pedersen wrote:

> Dan and others, following this thread;
> Here is the result of my pfpro_version() call :
> 
> 
> 
> 
> Yup, that's right. Blank, stare, squiddly-squat, etc. Which is what I
> intended.
> However, here is the result of the test script for the function provided in
> the PHP4.0.4 manual, script is here:
> 
> <?php
> 
> pfpro_init();
> 
> $transaction = array(USER     => 'mylogin',
>                    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();
> 
> ?>
> 
> 
> and result is here:
> 
> Verisign response code was -31, which means: The certificate chain did not
> validate, no local certificate found The transaction request: Array ( [USER]
> => mylogin [PWD] => mypassword [TRXTYPE] => S [TENDER] => C [AMT] => 1.5
> [ACCT] => 4111111111111111 [EXPDATE] => 0904 ) The response: Array
>  [RESULT] => -31 [RESPMSG] => The certificate chain did not validate, no
> local certificate found )
> 
> Hmm. Certificate not found. I think that is in the directory that I
> specified for --with-pfpro=....., under the ./certs subdirectory there. I
> just downloaded the test version, tho. I haven't found any information from
> Verisign on how to update/change that certificate if needed, or any
> information from PHP's manuals on how to choose where the cert is located.
> Should it be in some PHP includable directory, for example?
> 
> Regards,
> Henning
> 
> 
> 
> 
> 
> 

-- 

John Donagher
Application Engineer
Intacct Corp. - Powerful Accounting on the Web
408-395-0989
720 University Ave.
Los Gatos CA 95032
www.intacct.com

Public key available off http://www.keyserver.net
Key fingerprint = 4024 DF50 56EE 19A3 258A  D628 22DE AD56 EEBE 8DDD


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to