★ wanayoo — archive 1999 http://www.php.net/manual/function.pfpro-process-raw.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Verisign Payflow Pro
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Verisign Payflow Pro
* pfpro_init
* pfpro_cleanup
* pfpro_process
* pfpro_process_raw
* pfpro_version
Manual: pfpro_process_raw
View the source code for this pageSearch the site



Previous page
 pfpro_process
 Updated
Sat, 12 Aug 2000
pfpro_version 
Next page


pfpro_process_raw

(PHP4 CVS only)

pfpro_process_raw -- Process a raw transaction with Payflow Pro

Description

string pfpro_process_raw (string parameters [, string address [, int port [, int timeout [, string proxy address [, int proxy port [, string proxy logon [, string proxy password]]]]]]])

Returns: A string containing the response.

pfpro_process_raw() processes a raw transaction string with Payflow Pro. You should really use pfpro_process() instead, as the encoding rules of these transactions are non-standard.

The first parameter in this case is a string containing the raw transaction request. All other parameters are the same as with pfpro_process(). The return value is a string containing the raw response.

Note: Be sure to read the Payflow Pro Developers Guide for full details of the required parameters and encoding rules. You would be well advised to use pfpro_process() instead.

Example 1. Payflow Pro raw 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();

?>
     

 About Notes


Previous page
 pfpro_process
 Updated
Sat, 12 Aug 2000
pfpro_version 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.