cvs: phpdoc /fr/functions pfpro.xml

From: Date: Tue, 12 Dec 2000 10:49:53 +0000
Subject: cvs: phpdoc /fr/functions pfpro.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969333211@lists.php.net to get a copy of this message
dams Tue Dec 12 02:49:53 2000 EDT Modified files: /phpdoc/fr/functions pfpro.xml Log: Translation

Index: phpdoc/fr/functions/pfpro.xml diff -u phpdoc/fr/functions/pfpro.xml:1.2 phpdoc/fr/functions/pfpro.xml:1.3 --- phpdoc/fr/functions/pfpro.xml:1.2 Sun Jul 23 17:34:39 2000 +++ phpdoc/fr/functions/pfpro.xml Tue Dec 12 02:49:53 2000 @@ -1,51 +1,51 @@ <reference id="ref.pfpro"> - <title>Verisign Payflow Pro functions</title> + <title>Fonctions de paiement Verisign Payflow Pro</title> <titleabbrev>Verisign Payflow Pro</titleabbrev> <partintro> <simpara> - This extension allows you to process credit cards and other financial - transactions using Verisign Payment Services, formerly known as Signio - (<ulink url="&url.pfpro;">&url.pfpro;</ulink>). + 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> - These functions are only available if PHP has been compiled with the - <option role="configure">--with-pfpro[=DIR]</option> option. You will - require the appropriate SDK for your platform, which may be - downloaded <ulink url="&url.pfpro.download;">from within the manager - interface</ulink> once you have registered. + Ces fonctions sont utilisables d&egrave;s que PHP a &eacute;t&eacute; compil&eacute; avec + l'option <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. </simpara> <simpara> - Once you have downloaded the SDK you should copy the files from - the <filename class="directory">lib</filename> directory of the - distribution. Copy the header file <filename>pfpro.h</filename> - to <filename class="directory">/usr/local/include</filename> - and the library file <filename>libpfpro.so</filename> to + 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'ent&ecirc;te <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> - When using these functions, you may omit calls to - <function>pfpro_init</function> and <function>pfpro_cleanup</function> - 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 <function>pfpro_process</function> between the two. + 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, + elles sont toujours disponibles au cas o&ugrave; vous auriez un grand nombre + 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> - These functions have been added in PHP 4.0.2. + Ces fonctions ont &eacute;t&eacute; ajout&eacute;e en PHP 4.0.2. </simpara> - - <note><para> - 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. - </para></note> + <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 parm&egrave;tres. + </para> + </note> </partintro> - <refentry id="function.pfpro-init"> <refnamediv> - <refname>pfpro_init</refname> - <refpurpose>Initialises the Payflow Pro library</refpurpose> + <refname>pfpro_init</refname> + <refpurpose>Initialise la librairie Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -56,21 +56,20 @@ </funcprototype> </funcsynopsis> <para> - <function>pfpro_init</function> is used to initialise - the Payflow Pro library. You may omit this call, in which case - this extension will automatically call <function>pfpro_init</function> - before the first transaction. + <function>pfpro_init</function> initialise la librairie + Payflow Pro library. Vous pouvez omettre cet appel : dans ce cas, + elle sera appel&eacute;e automatiquement <function>pfpro_init</function> + avant la premi&egrave;re transaction. </para> - <para> - See also <function>pfpro_cleanup</function>. + <para> + Voir aussi <function>pfpro_cleanup</function>. </para> </refsect1> </refentry> - <refentry id="function.pfpro-cleanup"> <refnamediv> - <refname>pfpro_cleanup</refname> - <refpurpose>Shuts down the Payflow Pro library</refpurpose> + <refname>pfpro_cleanup</refname> + <refpurpose>Eteind la librairie Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -81,23 +80,21 @@ </funcprototype> </funcsynopsis> <para> - <function>pfpro_cleanup</function> is used to shutdown the - Payflow Pro library cleanly. It should be called after you - have processed any transactions and before the end of your script. - However you may omit this call, in which case this - extension will automatically call <function>pfpro_cleanup</function> - after your script terminates. + <function>pfpro_cleanup</function> sert &agrave; terminer proprement + une session avec la librairie Payflow Pro library. Elle doit &ecirc;tre + appel&eacute; apr&egrave;s toutes les transactions, et avant la fin du script. + Cependant, vous pouvez omettre cet appel : dans ce cas, cette fonction + sera automatiquement appel&eacute;e &agrave; la fin du script. </para> - <para> - See also <function>pfpro_init</function>. + <para> + Voir aussi <function>pfpro_init</function>. </para> </refsect1> </refentry> - <refentry id="function.pfpro-process"> <refnamediv> <refname>pfpro_process</refname> - <refpurpose>Process a transaction with Payflow Pro</refpurpose> + <refpurpose>Effectue une transaction avec Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -105,7 +102,6 @@ <funcprototype> <funcdef>array <function>pfpro_process</function></funcdef> <paramdef>array <parameter>parameters</parameter></paramdef> - <paramdef>string <parameter><optional>address</optional></parameter> </paramdef> @@ -130,94 +126,85 @@ </funcprototype> </funcsynopsis> <para> - Returns: An associative array containing the response + Retourne un tableau associatif, contenant la r&eacute;ponse. </para> - <para> - <function>pfpro_process</function> processes a transaction - with Payflow Pro. The first parameter is an associative - array containing keys and values that will be encoded and - passed to the processor. + <para> + <function>pfpro_process</function> effectue une transaction + avec Payflow Pro. Le premier param&egrave;tre est un tableau associatif + contenant des paires cl&eacute;s/valeurs, qui seront encod&eacute;es, puis pass&eacute;es + au serveur. </para> <para> - The second parameter is optional and specifies the host - to connect to. By default this is "test.signio.com", so - you will certainly want to change this to "connect.signio.com" - in order to process live transactions. + Le second param&egrave;tre <parameter><optional>address</optional></parameter> + indique quel h&ocirc;te contacter. Il est optinnel. Par d&eacute;faut, + il vaut "test.signio.com" : vous devrez probablement le remplacer + par "connect.signio.com" pour effectuer de vraies transactions. </para> <para> - The third parameter specifies the port to connect on. It - defaults to 443, the standard SSL port. + Le troisi&egrave;me param&egrave;tre <parameter><optional>port</optional></parameter> + sp&eacute;cifie le port de connexion. Par d&eacute;faut, c'est 443, le port SSL standard. </para> <para> - The fourth parameter specifies the timeout to be used, in seconds. - This defaults to 30 seconds. Note that this timeout appears to only - begin once a link to the processor has been established and so your - script could potentially continue for a very long time in the event - of DNS or network problems. + Le quatri&egrave;me param&egrave;tre <parameter><optional>timeout</optional></parameter> + indique le temps de timeout &agrave; utiliser. Par d&eacute;faut, c'est 30 secondes. + Notez que ce timeout ne prend effet que lorsqu'une connexion a &eacute;t&eacute; + &eacute;tablie avec un serveur : votre script peut potentiellement attendre + ind&eacute;finiement un &eacute;v&eacute;nement DNS ou un probl&egrave;me de r&eacute;seau. </para> <para> - The fifth parameter, if required, specifies the hostname of your - SSL proxy. The sixth parameter specifies the port to use. + Le cinqui&egrave;me param&egrave;tre <parameter><optional>proxy address</optional></parameter> + indique le nom du proxy SSL. Le sixi&egrave;me param&egrave;tre + <parameter><optional>proxy port</optional></parameter> indique le port + &agrave; utiliser sur ce proxy. </para> <para> - The seventh and eighth parameters specify the logon identity - and password to use on the proxy. + Les septi&egrave;me et huiti&egrave;me param&egrave;tres, + <parameter><optional>proxy logon</optional></parameter> et + <parameter><optional>proxy password</optional></parameter> indique + le nom de compte et le mot de passe &agrave; utiliser sur le proxy. </para> <para> - The function returns an associative array of the keys and values - in the response. + Cette fonction retourne un tableau associatif. </para> - - <note><para> - Be sure to read the Payflow Pro Developers Guide for full details - of the required parameters. - </para></note> - + <note> + <para> + Lisez attentivement le "Payflow Pro Developers Guide" pour conna&icirc;tre les + d&eacute;tails des autres param&egrave;tres. + </para> + </note> <example> - <title>Payflow Pro example</title> + <title>Exemple Payflow Pro</title> <programlisting role="php"> &lt;?php - pfpro_init(); - -$transaction = array(USER => 'mylogin', - PWD => 'mypassword', +$transaction = array(USER => 'monlogin', + PWD => 'mmotdepasse', TRXTYPE => 'S', TENDER => 'C', AMT => 1.50, ACCT => '4111111111111111', EXPDATE => '0904' ); - $response = pfpro_process($transaction); - if (!$response) { - die("Couldn't establish link to Verisign.\n"); + die("Impossible d'&eacute;tablir un lien avec Verisign.\n"); } - -echo "Verisign response code was ".$response[RESULT]; -echo ", which means: ".$response[RESPMSG]."\n"; - -echo "\nThe transaction request: "; +echo "La r&eacute;ponse de Verisign &eacute;tait ".$response[RESULT]; +echo ", c'est &agrave; dire : ".$response[RESPMSG]."\n"; +echo "\nLa requ&ecirc;te de transaction: "; print_r($transaction); - -echo "\nThe response: "; +echo "\nLa r&eacute;ponse: "; print_r($response); - pfpro_cleanup(); - ?> </programlisting> </example> </refsect1> </refentry> - - - <refentry id="function.pfpro-process-raw"> <refnamediv> <refname>pfpro_process_raw</refname> - <refpurpose>Process a raw transaction with Payflow Pro</refpurpose> + <refpurpose>Envoie une transaction brute &agrave; Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -249,55 +236,47 @@ </funcprototype> </funcsynopsis> <para> - Returns: A string containing the response. + Retourne une cha&icirc;ne avec une r&eacute;ponse. </para> - <para> - <function>pfpro_process_raw</function> processes a raw transaction - string with Payflow Pro. You should really use - <function>pfpro_process</function> instead, as the encoding - rules of these transactions are non-standard. - </para> - <para> - The first parameter in this case is a string containing the raw - transaction request. All other parameters are the same as with - <function>pfpro_process</function>. The return value is a string - containing the raw response. - </para> - - <note><para> - 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 <function>pfpro_process</function> instead. - </para></note> - + <para> + <function>pfpro_process_raw</function> envoie une transaction + brute au serveur Payflow Pro. Il est vivement recommand&eacute; d'utiliser + <function>pfpro_process</function> &agrave; la place, car les r&egrave;gles de + codage sont non standard. + </para> + <para> + Le premier argumentest une cha&icirc;ne contenant la transaction + brute. Tous les autres param&egrave;tres sont les m&ecirc;mes que ceux de + <function>pfpro_process</function>. La valeur de retour est une + cha&icirc;ne contenant la r&eacute;ponse brute. + </para> + <note> + <para> + Lisez attentivement le "Payflow Pro Developers Guide" pour conna&icirc;tre tous + les d&eacute;tails des param&egrave;tres et leur r&egrave;gle d'encodage. Il est recommand&eacute; + d'utiliser plut&ocirc;t <function>pfpro_process</function>. + </para> + </note> <example> - <title>Payflow Pro raw example</title> + <title>Exemple <function>pfpro_process_raw</function></title> <programlisting role="php"> &lt;?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"); - if (!$response) { - die("Couldn't establish link to Verisign.\n"); + die("Impossible de contacter Verisign.\n"); } - -echo "Verisign raw response was ".$response; - +echo "La r&eacute;ponse brute de Verisign est ".$response; pfpro_cleanup(); - ?> </programlisting> </example> </refsect1> </refentry> - - <refentry id="function.pfpro-version"> <refnamediv> <refname>pfpro_version</refname> - <refpurpose>Returns the version of the Payflow Pro software</refpurpose> + <refpurpose>Lit le num&eacute;ro de version de Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -307,15 +286,13 @@ <void/> </funcprototype> </funcsynopsis> - <para> - <function>pfpro_version</function> returns the version string - of the Payflow Pro library. At the time of writing, this was L211. + <para> + <function>pfpro_version</function> lit la version de la librairie + Payflow Pro. Au moment de r&eacute;daction de la doc, c'&eacute;tait L211. </para> </refsect1> </refentry> - </reference> - <!-- Keep this comment at the end of the file Local variables: mode: sgml
« previous php.doc (#969333211) next »