<HTML ><HEAD ><TITLE >Verisign Payflow Pro functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Function Reference" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="pdf_translate" HREF="function.pdf-translate.html"><LINK REL="NEXT" TITLE="pfpro_cleanup" HREF="function.pfpro-cleanup.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="reference" 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" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.pdf-translate.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.pfpro-cleanup.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.pfpro" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LXXVIII. Verisign Payflow Pro functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN72901" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.intro" ></A >Introduction</H1 ><P > This extension allows you to process credit cards and other financial transactions using Verisign Payment Services, formerly known as Signio (<A HREF="http://www.verisign.com/products/payflow/pro/index.html" TARGET="_top" >http://www.verisign.com/products/payflow/pro/index.html</A >). </P ><P > When using these functions, you may omit calls to <A HREF="function.pfpro-init.html" ><B CLASS="function" >pfpro_init()</B ></A > and <A HREF="function.pfpro-cleanup.html" ><B CLASS="function" >pfpro_cleanup()</B ></A > as this extension will do so automatically if required. However the functions are still available in case you are processing a number of transactions and require fine control over the library. You may perform any number of transactions using <A HREF="function.pfpro-process.html" ><B CLASS="function" >pfpro_process()</B ></A > between the two. </P ><P > These functions were added in PHP 4.0.2. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B > These functions only provide a link to Verisign Payment Services. Be sure to read the Payflow Pro Developers Guide for full details of the required parameters. </P ></BLOCKQUOTE ></DIV ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Note: </B >This extension is not available on Windows platforms.</P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.requirements" ></A >Requirements</H1 ><P > You will require the appropriate SDK for your platform, which may be downloaded <A HREF="https://manager.verisign.com/" TARGET="_top" >from within the manager interface</A > once you have registered. If you are going to use this extension in an SSL-enabled webserver or with other SSL components (such as the CURL+SSL extension) you MUST get the beta SDK. </P ><P > Once you have downloaded the SDK you should copy the files from the <TT CLASS="filename" >lib</TT > directory of the distribution. Copy the header file <TT CLASS="filename" >pfpro.h</TT > to <TT CLASS="filename" >/usr/local/include</TT > and the library file <TT CLASS="filename" >libpfpro.so</TT > to <TT CLASS="filename" >/usr/local/lib</TT >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.installation" ></A >Installation</H1 ><P > These functions are only available if PHP has been compiled with the <TT CLASS="option" >--with-pfpro[=DIR]</TT > option. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.configuration" ></A >Runtime Configuration</H1 ><P > The behaviour of these functions is affected by settings in <TT CLASS="filename" >php.ini</TT >. </P ><P > <DIV CLASS="table" ><A NAME="AEN72934" ></A ><P ><B >Table 1. Verisign Payflow Pro configuration options</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><THEAD ><TR ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Name</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Default</TH ><TH ALIGN="LEFT" VALIGN="MIDDLE" >Changeable</TH ></TR ></THEAD ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.defaulthost/PFPRO_VERSION < 3 </TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"test.signio.com"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.defaulthost</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"test-payflow.verisign.com"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.defaultport</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"443"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.defaulttimeout</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >"30"</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.proxyaddress</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >""</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.proxyport</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >""</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.proxylogon</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >""</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="MIDDLE" >pfpro.proxypassword</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >""</TD ><TD ALIGN="LEFT" VALIGN="MIDDLE" >PHP_INI_ALL</TD ></TR ></TBODY ></TABLE ></DIV > For further details and definition of the PHP_INI_* constants see <A HREF="function.ini-set.html" ><B CLASS="function" >ini_set()</B ></A >. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.resources" ></A >Resource Types</H1 ><P >This extension has no resource types defined.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="pfpro.constants" ></A >Predefined Constants</H1 ><P >This extension has no constants defined.</P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="function.pfpro-cleanup.html" >pfpro_cleanup</A > -- Shuts down the Payflow Pro library</DT ><DT ><A HREF="function.pfpro-init.html" >pfpro_init</A > -- Initialises the Payflow Pro library</DT ><DT ><A HREF="function.pfpro-process-raw.html" >pfpro_process_raw</A > -- Process a raw transaction with Payflow Pro</DT ><DT ><A HREF="function.pfpro-process.html" >pfpro_process</A > -- Process a transaction with Payflow Pro</DT ><DT ><A HREF="function.pfpro-version.html" >pfpro_version</A > -- Returns the version of the Payflow Pro software</DT ></DL ></DIV ></DIV ></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.pdf-translate.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.pfpro-cleanup.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >pdf_translate</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >pfpro_cleanup</TD ></TR ></TABLE ></DIV ></BODY ></HTML >