Pfpro_process_raw
(PHP4 CVS only)
Pfpro_process_raw---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Dealing with raw Payflow Pro transactions
Syntax: String pfpro_process_raw (String parameters [, string address [, int port [, int timeout [, string proxy address [, int proxy P ORT [, String proxy logon [, string proxy Password]]]]
Description:
Returns a string of replies.
Pfpro_process_raw () processing Payflow Pro an unprocessed transaction string, you must use Pfpro_process () as an alternative, the coding rules for these transactions are non-standard.
The first parameter is a string of unprocessed transaction requests, and the other parameters are the same as pfpro_process (), and the returned value is an unprocessed answer string.
Note: Please read the Payflow Pro Development Guide to get details of the parameters and coding rules, and you will be advised to use Pfpro_process () instead of this function
Example:
<?php
Pfpro_init ();
$response = pfpro_process ("user=mylogin&pwd[5]=m&ndy&trxtype=s&tender=c&
amt=1.50&acct=4111111111111111&expdate=0904 ");
if (! $response) {
Die ("couldn ' t establish link to verisign.\n");
}
echo "Verisign raw response was". $response;
Pfpro_cleanup ();
?>