cvs: phpdoc-fr /reference/pfpro configure.xml ini.xml reference.xml /reference/pfpro/functions pfpro-process-raw.xml pfpro-process.xml

From: Date: Fri, 11 Jul 2003 02:33:11 +0000
Subject: cvs: phpdoc-fr /reference/pfpro configure.xml ini.xml reference.xml /reference/pfpro/functions pfpro-process-raw.xml pfpro-process.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-617@lists.php.net to get a copy of this message
dams Thu Jul 10 22:33:11 2003 EDT Added files: /phpdoc-fr/reference/pfpro configure.xml ini.xml Modified files: /phpdoc-fr/reference/pfpro reference.xml /phpdoc-fr/reference/pfpro/functions pfpro-process-raw.xml pfpro-process.xml Log: Keep up with en tree

Index: phpdoc-fr/reference/pfpro/reference.xml diff -u phpdoc-fr/reference/pfpro/reference.xml:1.2 phpdoc-fr/reference/pfpro/reference.xml:1.3 --- phpdoc-fr/reference/pfpro/reference.xml:1.2 Mon Apr 15 20:54:47 2002 +++ phpdoc-fr/reference/pfpro/reference.xml Thu Jul 10 22:33:11 2003 @@ -1,34 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.pfpro"> <title>Paiement par Verisign</title> <titleabbrev>Paiement par Verisign</titleabbrev> + <partintro> - <simpara> + <section id="pfpro.intro"> + &reftitle.intro; + <para> Cette extension vous permet d'effectuer des transactions avec des cartes de cr&eacute;dits en utilisant les services Verisign Payment Services, - anciennement connu sous le nom de Signio - (<ulink url="&url.pfpro;">&url.pfpro;</ulink>). - </simpara> - <simpara> + anciennement connu sous le nom de Signio (<ulink url="&url.pfpro;">&url.pfpro;</ulink>). + </para> + <para> Ces fonctions sont utilisables d&egrave;s que PHP a &eacute;t&eacute; compil&eacute; avec l'option - <link linkend="install.configure.with-pfpro"><option role="configure">--with-pfpro[=DIR]</option></link>. + <option role="configure">--with-pfpro[=DIR]</option>. Vous devez aussi utiliser le SDK appropri&eacute; sur votre plate-forme : il est disponible <ulink url="&url.pfpro.download;">l'interface du manager</ulink>, une fois que vous vous &ecirc;tes inscrit. Si vous avez l'intention d'utiliser cette extension sur un serveur web SSL ou avec d'autres composants SSL (tels que l'extension CURL et SSL) vous DEVEZ utiliser le SDK beta. - </simpara> - <simpara> + </para> + <simpara> + Ces fonctions ont &eacute;t&eacute; ajout&eacute;e en PHP 4.0.2. + </simpara> + <note> + <para> + Ces fonctions ne font que fournir un acc&egrave;s aux services Verisign Payment Services. + Assurez-vous bien de lire le "Payflow Pro Developers Guide" pour plus + de d&eacute;tails sur les param&egrave;tres. + </para> + </note> + &note.no-windows.extension; + </section> + + <section id="pfpro.requirements"> + &reftitle.required; + <para> Une fois que vous avez t&eacute;l&eacute;charg&eacute; le SDK vous devez copier les fichiers depuis le dossier <filename class="directory">lib</filename> de la distribution. Copier le fichier d'en-t&ecirc;tes <filename>pfpro.h</filename> dans <filename class="directory">/usr/local/include</filename> et la librairie <filename>libpfpro.so</filename> dans <filename class="directory">/usr/local/lib</filename>. - </simpara> - <simpara> + </para> + <para> Lorsque vous utilisez ces fonctions, vous pouvez omettre d'appeler les fonctions <function>pfpro_init</function> et <function>pfpro_cleanup</function> : l'extension se chargera de le faire automatiquement. Cependant, @@ -36,17 +53,22 @@ de transaction &agrave; traiter, ou que vous souhaiteriez un contr&ocirc;le plus fin de la librairie. Vous pouvez effectuer autant de transaction que vous le souhaitez avec <function>pfpro_process</function> lors d'une connexion. - </simpara> - <simpara> - Ces fonctions ont &eacute;t&eacute; ajout&eacute;e en PHP 4.0.2. - </simpara> - <note> - <para> - Ces fonctions ne font que fournir un acc&egrave;s aux services Verisign Payment Services. - Assurez-vous bien de lire le "Payflow Pro Developers Guide" pour plus - de d&eacute;tails sur les param&egrave;tres. </para> - </note> + </section> + + &reference.pfpro.configure; + &reference.pfpro.ini; + + <section id="pfpro.resources"> + &reftitle.resources; + &no.resource; + </section> + + <section id="pfpro.constants"> + &reftitle.constants; + &no.constants; + </section> + </partintro> &reference.pfpro.functions; Index: phpdoc-fr/reference/pfpro/functions/pfpro-process-raw.xml diff -u phpdoc-fr/reference/pfpro/functions/pfpro-process-raw.xml:1.1 phpdoc-fr/reference/pfpro/functions/pfpro-process-raw.xml:1.2 --- phpdoc-fr/reference/pfpro/functions/pfpro-process-raw.xml:1.1 Sun Apr 14 20:36:53 2002 +++ phpdoc-fr/reference/pfpro/functions/pfpro-process-raw.xml Thu Jul 10 22:33:11 2003 @@ -43,17 +43,19 @@ </para> </note> <example> - <title>Exemple <function>pfpro_process_raw</function></title> + <title>Exemple avec <function>pfpro_process_raw</function></title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php pfpro_init(); -$response = pfpro_process("USER=mylogin&amp;PWD[5]=m&amp;ndy&amp;TRXTYPE=S&amp;TENDER=C&amp;AMT=1.50&amp;ACCT=4111111111111111&amp;EXPDATE=0904"); +$response = pfpro_process("USER=mylogin&PWD[5]=m&ndy&TRXTYPE=S&TENDER=C&AMT=1.50&ACCT=4111111111111111&EXPDATE=0904"); if (!$response) { die("Impossible de contacter Verisign.\n"); } echo "La r&eacute;ponse brute de Verisign est ".$response; pfpro_cleanup(); -?&gt; +?> +]]> </programlisting> </example> </refsect1> Index: phpdoc-fr/reference/pfpro/functions/pfpro-process.xml diff -u phpdoc-fr/reference/pfpro/functions/pfpro-process.xml:1.1 phpdoc-fr/reference/pfpro/functions/pfpro-process.xml:1.2 --- phpdoc-fr/reference/pfpro/functions/pfpro-process.xml:1.1 Sun Apr 14 20:36:53 2002 +++ phpdoc-fr/reference/pfpro/functions/pfpro-process.xml Thu Jul 10 22:33:11 2003 @@ -11,10 +11,11 @@ <methodsynopsis> <type>array</type><methodname>pfpro_process</methodname> <methodparam><type>array</type><parameter>parameters</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>address</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>port</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>proxy_logon</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>proxy_address</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>proxy_port</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>proxy_logon</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>proxy_password</parameter></methodparam> @@ -49,7 +50,7 @@ <para> Le cinqui&egrave;me param&egrave;tre <parameter>proxy_address</parameter> indique le nom du proxy SSL. Le sixi&egrave;me param&egrave;tre - <parameter>proxy port</parameter> indique le port + <parameter>proxy_port</parameter> indique le port &agrave; utiliser sur ce proxy. </para> <para> @@ -68,17 +69,18 @@ </para> </note> <example> - <title>Exemple Payflow Pro</title> + <title>Exemple de transaction Payflow Pro</title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php pfpro_init(); -$transaction = array(USER =&gt; 'monlogin', - PWD =&gt; 'mmotdepasse', - TRXTYPE =&gt; 'S', - TENDER =&gt; 'C', - AMT =&gt; 1.50, - ACCT =&gt; '4111111111111111', - EXPDATE =&gt; '0904' +$transaction = array(USER => 'monlogin', + PWD => 'mmotdepasse', + TRXTYPE => 'S', + TENDER => 'C', + AMT => 1.50, + ACCT => '4111111111111111', + EXPDATE => '0904' ); $response = pfpro_process($transaction); if (!$response) { @@ -91,7 +93,8 @@ echo "\nLa r&eacute;ponse: "; print_r($response); pfpro_cleanup(); -?&gt; +?> +]]> </programlisting> </example> </refsect1> Index: phpdoc-fr/reference/pfpro/configure.xml +++ phpdoc-fr/reference/pfpro/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="pfpro.installation"> &reftitle.install; <para> Ces fonctions ne sont disponible que si PHP a &eacute;t&eacute; compil&eacute; avec l'option <option role="configure">--with-pfpro[=DIR]</option>. </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-fr/reference/pfpro/ini.xml +++ phpdoc-fr/reference/pfpro/ini.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="pfpro.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> &ini.table.title; <tgroup cols="3"> <thead> &ini.table.top; </thead> <tbody> <row> <entry>pfpro.defaulthost/PFPRO_VERSION &lt; 3 </entry> <entry>"test.signio.com"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.defaulthost</entry> <entry>"test-payflow.verisign.com"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.defaultport</entry> <entry>"443"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.defaulttimeout</entry> <entry>"30"</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.proxyaddress</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.proxyport</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.proxylogon</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> </row> <row> <entry>pfpro.proxypassword</entry> <entry>""</entry> <entry>PHP_INI_ALL</entry> </row> </tbody> </tgroup> </table> &ini.table.bottom; </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.fr (#617) next »