cvs: phpdoc /fr/functions pfpro.xml
| From: | Damien Seguy | 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é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ès que PHP a été compilé avec + l'option <option role="configure">--with-pfpro[=DIR]</option>. Vous + devez aussi utiliser le SDK approprié sur votre plate-forme : il + est disponible <ulink url="&url.pfpro.download;">l'interface du + manager</ulink>, une fois que vous vous ê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éléchargé le SDK vous devez copier les + fichiers depuis le dossier <filename class="directory">lib</filename> + de la distribution. Copier le fichier d'entê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ù vous auriez un grand nombre + de transaction à traiter, ou que vous souhaiteriez un contrô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 été ajouté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ès aux services Verisign Payment Services. + Assurez vous bien de lire le "Payflow Pro Developers Guide" pour plus + de détails sur les parmè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ée automatiquement <function>pfpro_init</function> + avant la premiè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 à terminer proprement + une session avec la librairie Payflow Pro library. Elle doit être + appelé après toutes les transactions, et avant la fin du script. + Cependant, vous pouvez omettre cet appel : dans ce cas, cette fonction + sera automatiquement appelée à 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é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ètre est un tableau associatif + contenant des paires clés/valeurs, qui seront encodées, puis passé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ètre <parameter><optional>address</optional></parameter> + indique quel hôte contacter. Il est optinnel. Par dé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ème paramètre <parameter><optional>port</optional></parameter> + spécifie le port de connexion. Par dé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ème paramètre <parameter><optional>timeout</optional></parameter> + indique le temps de timeout à utiliser. Par défaut, c'est 30 secondes. + Notez que ce timeout ne prend effet que lorsqu'une connexion a été + établie avec un serveur : votre script peut potentiellement attendre + indéfiniement un événement DNS ou un problème de ré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ème paramètre <parameter><optional>proxy address</optional></parameter> + indique le nom du proxy SSL. Le sixième paramètre + <parameter><optional>proxy port</optional></parameter> indique le port + à utiliser sur ce proxy. </para> <para> - The seventh and eighth parameters specify the logon identity - and password to use on the proxy. + Les septième et huitième paramètres, + <parameter><optional>proxy logon</optional></parameter> et + <parameter><optional>proxy password</optional></parameter> indique + le nom de compte et le mot de passe à 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ître les + détails des autres paramètres. + </para> + </note> <example> - <title>Payflow Pro example</title> + <title>Exemple Payflow Pro</title> <programlisting role="php"> <?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'é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éponse de Verisign était ".$response[RESULT]; +echo ", c'est à dire : ".$response[RESPMSG]."\n"; +echo "\nLa requête de transaction: "; print_r($transaction); - -echo "\nThe response: "; +echo "\nLa ré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 à Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -249,55 +236,47 @@ </funcprototype> </funcsynopsis> <para> - Returns: A string containing the response. + Retourne une chaîne avec une ré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é d'utiliser + <function>pfpro_process</function> à la place, car les règles de + codage sont non standard. + </para> + <para> + Le premier argumentest une chaîne contenant la transaction + brute. Tous les autres paramètres sont les mêmes que ceux de + <function>pfpro_process</function>. La valeur de retour est une + chaîne contenant la réponse brute. + </para> + <note> + <para> + Lisez attentivement le "Payflow Pro Developers Guide" pour connaître tous + les détails des paramètres et leur règle d'encodage. Il est recommandé + d'utiliser plutô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"> <?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"); + die("Impossible de contacter Verisign.\n"); } - -echo "Verisign raw response was ".$response; - +echo "La ré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é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édaction de la doc, c'était L211. </para> </refsect1> </refentry> - </reference> - <!-- Keep this comment at the end of the file Local variables: mode: sgml
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é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ès que PHP a été compilé avec + l'option <option role="configure">--with-pfpro[=DIR]</option>. Vous + devez aussi utiliser le SDK approprié sur votre plate-forme : il + est disponible <ulink url="&url.pfpro.download;">l'interface du + manager</ulink>, une fois que vous vous ê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éléchargé le SDK vous devez copier les + fichiers depuis le dossier <filename class="directory">lib</filename> + de la distribution. Copier le fichier d'entê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ù vous auriez un grand nombre + de transaction à traiter, ou que vous souhaiteriez un contrô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 été ajouté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ès aux services Verisign Payment Services. + Assurez vous bien de lire le "Payflow Pro Developers Guide" pour plus + de détails sur les parmè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ée automatiquement <function>pfpro_init</function> + avant la premiè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 à terminer proprement + une session avec la librairie Payflow Pro library. Elle doit être + appelé après toutes les transactions, et avant la fin du script. + Cependant, vous pouvez omettre cet appel : dans ce cas, cette fonction + sera automatiquement appelée à 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é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ètre est un tableau associatif + contenant des paires clés/valeurs, qui seront encodées, puis passé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ètre <parameter><optional>address</optional></parameter> + indique quel hôte contacter. Il est optinnel. Par dé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ème paramètre <parameter><optional>port</optional></parameter> + spécifie le port de connexion. Par dé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ème paramètre <parameter><optional>timeout</optional></parameter> + indique le temps de timeout à utiliser. Par défaut, c'est 30 secondes. + Notez que ce timeout ne prend effet que lorsqu'une connexion a été + établie avec un serveur : votre script peut potentiellement attendre + indéfiniement un événement DNS ou un problème de ré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ème paramètre <parameter><optional>proxy address</optional></parameter> + indique le nom du proxy SSL. Le sixième paramètre + <parameter><optional>proxy port</optional></parameter> indique le port + à utiliser sur ce proxy. </para> <para> - The seventh and eighth parameters specify the logon identity - and password to use on the proxy. + Les septième et huitième paramètres, + <parameter><optional>proxy logon</optional></parameter> et + <parameter><optional>proxy password</optional></parameter> indique + le nom de compte et le mot de passe à 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ître les + détails des autres paramètres. + </para> + </note> <example> - <title>Payflow Pro example</title> + <title>Exemple Payflow Pro</title> <programlisting role="php"> <?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'é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éponse de Verisign était ".$response[RESULT]; +echo ", c'est à dire : ".$response[RESPMSG]."\n"; +echo "\nLa requête de transaction: "; print_r($transaction); - -echo "\nThe response: "; +echo "\nLa ré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 à Payflow Pro</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -249,55 +236,47 @@ </funcprototype> </funcsynopsis> <para> - Returns: A string containing the response. + Retourne une chaîne avec une ré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é d'utiliser + <function>pfpro_process</function> à la place, car les règles de + codage sont non standard. + </para> + <para> + Le premier argumentest une chaîne contenant la transaction + brute. Tous les autres paramètres sont les mêmes que ceux de + <function>pfpro_process</function>. La valeur de retour est une + chaîne contenant la réponse brute. + </para> + <note> + <para> + Lisez attentivement le "Payflow Pro Developers Guide" pour connaître tous + les détails des paramètres et leur règle d'encodage. Il est recommandé + d'utiliser plutô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"> <?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"); + die("Impossible de contacter Verisign.\n"); } - -echo "Verisign raw response was ".$response; - +echo "La ré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é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édaction de la doc, c'était L211. </para> </refsect1> </refentry> - </reference> - <!-- Keep this comment at the end of the file Local variables: mode: sgml