<HTML ><HEAD ><TITLE >pfpro_process_raw</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual de PHP" HREF="index.html"><LINK REL="UP" TITLE="Verisign Payflow Pro functions" HREF="ref.pfpro.html"><LINK REL="PREVIOUS" TITLE="pfpro_init" HREF="function.pfpro-init.html"><LINK REL="NEXT" TITLE="pfpro_process" HREF="function.pfpro-process.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual de PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.pfpro-init.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.pfpro-process.html" ACCESSKEY="N" >Siguiente</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.pfpro-process-raw" ></A >pfpro_process_raw</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN60667" ></A ><P > (PHP 4 >= 4.0.2)</P >pfpro_process_raw -- Process a raw transaction with Payflow Pro</DIV ><DIV CLASS="refsect1" ><A NAME="AEN60670" ></A ><H2 >Description</H2 >string <B CLASS="methodname" >pfpro_process_raw</B > ( string parameters [, string address [, int port [, int timeout [, string proxy address [, int proxy port [, string proxy logon [, string proxy password]]]]]]])<BR ></BR ><P > Returns: A string containing the response. </P ><P > <B CLASS="function" >pfpro_process_raw()</B > processes a raw transaction string with Payflow Pro. You should really use <A HREF="function.pfpro-process.html" ><B CLASS="function" >pfpro_process()</B ></A > instead, as the encoding rules of these transactions are non-standard. </P ><P > The first parameter in this case is a string containing the raw transaction request. All other parameters are the same as with <A HREF="function.pfpro-process.html" ><B CLASS="function" >pfpro_process()</B ></A >. The return value is a string containing the raw response. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > 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 <A HREF="function.pfpro-process.html" ><B CLASS="function" >pfpro_process()</B ></A > instead. </P ></BLOCKQUOTE ></DIV ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" CLASS="EXAMPLE" ><TR ><TD ><DIV CLASS="example" ><A NAME="AEN60708" ></A ><P ><B >Ejemplo 1. Payflow Pro raw example</B ></P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" CELLPADDING="5" ><TR ><TD ><PRE CLASS="php" ><?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(); ?></PRE ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.pfpro-init.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Inicio</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.pfpro-process.html" ACCESSKEY="N" >Siguiente</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >pfpro_init</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.pfpro.html" ACCESSKEY="U" >Subir</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >pfpro_process</TD ></TR ></TABLE ></DIV ></BODY ></HTML >