Re: cvs: phpdoc /en/functions cybermut.xml

From: Date: Sat, 10 May 2003 11:46:29 +0000
Subject: Re: cvs: phpdoc /en/functions cybermut.xml
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353325@lists.php.net to get a copy of this message
Hello, I just did what TML asked me to get back the logs of this file. Regards. M.CHAILLAN Nicolas nicos@php.net www.WorldAKT.com Hébergement de sites internets. ----- Original Message ----- From: "Gabor Hojtsy" <gabor@hojtsy.hu> To: "CHAILLAN Nicolas" <nicos@worldakt.com> Cc: <phpdoc@lists.php.net> Sent: Saturday, May 10, 2003 12:38 PM Subject: Re: [PHP-DOC] cvs: phpdoc /en/functions cybermut.xml > What??? First of all, the "DO NOT EDIT" note was not for noting at the > top of this file. You removed that, and changed many parts of the file, > including the comment at the end, which should also be kept intact. > > Why??? > > Goba > > CHAILLAN Nicolas írta: > > nicos Sat May 10 05:04:37 2003 EDT > > > > Modified files: > > /phpdoc/en/functions cybermut.xml > > Log: > > we need to keep logs > > > > > > > > ------------------------------------------------------------------------ > > > > Index: phpdoc/en/functions/cybermut.xml > > diff -u phpdoc/en/functions/cybermut.xml:1.21 phpdoc/en/functions/cybermut.xml:1.22 > > --- phpdoc/en/functions/cybermut.xml:1.21 Fri May 9 19:55:14 2003 > > +++ phpdoc/en/functions/cybermut.xml Sat May 10 05:04:36 2003 > > @@ -1,24 +1,16 @@ > > -<!-- D O N O T E D I T T H I S F I L E ! ! ! > > - > > - it is still here for historical reasons only > > - (as translators may need to check old revision diffs) > > - > > - if you want to change things documented in this file > > - you should now edit the files found under en/reference > > - instead --> > > - > > - <?xml version="1.0" encoding="iso-8859-1"?> > > -<!-- $Revision: 1.21 $ --> > > +<?xml version="1.0" encoding="iso-8859-1"?> > > +<!-- $Revision: 1.22 $ --> > > <reference id="ref.cybermut"> > > <title>Cr&eacute;dit Mutuel CyberMUT functions</title> > > <titleabbrev>CyberMUT</titleabbrev> > > <partintro> > > <simpara> > > - This extension allows you to process credit cards transactions using Cr&eacute;dit > > - Mutuel CyberMUT system (<ulink url="&url.cybermut;">&url.cybermut;</ulink>). > > + This extension allows you to process credit cards transactions using > > + Cr&eacute;dit Mutuel CyberMUT system ( > > + <ulink url="&url.cybermut;">&url.cybermut;</ulink>). > > </simpara> > > <simpara> > > - CyberMUT is a popular Web Payment Service in France, provided by the > > + CynerMUT is a popular Web Payment Service in France, provided by the > > Cr&eacute;dit Mutuel bank. If you are foreign in France, these functions will not > > be useful for you. > > </simpara> > > @@ -57,37 +49,38 @@ > > </refnamediv> > > <refsect1> > > <title>Description</title> > > - <methodsynopsis> > > - <type>string</type><methodname>cybermut_creerformulairecm</methodname> > > - <methodparam><type>string</type><parameter>url_CM</parameter></methodparam> > > - <methodparam><type>string</type><parameter>version</parameter></methodparam> > > - <methodparam><type>string</type><parameter>TPE</parameter></methodparam> > > - <methodparam><type>string</type><parameter>montant</parameter></methodparam> > > - <methodparam><type>string</type><parameter>ref_commande</parameter></methodp aram> > > - <methodparam><type>string</type><parameter>texte_libre</parameter></methodpa ram> > > - <methodparam><type>string</type><parameter>url_retour</parameter></methodpar am> > > - <methodparam><type>string</type><parameter>url_retour_ok</parameter></method param> > > - <methodparam><type>string</type><parameter>url_retour_err</parameter></metho dparam> > > - <methodparam><type>string</type><parameter>langue</parameter></methodparam> > > - <methodparam><type>string</type><parameter>code_societe</parameter></methodp aram> > > - <methodparam><type>string</type><parameter>texte_bouton</parameter></methodp aram> > > - </methodsynopsis> > > + <funcsynopsis> > > + <funcprototype> > > + <funcdef>string <function>cybermut_creerformulairecm</function></funcdef> > > + <paramdef>string <parameter>url_CM</parameter></paramdef> > > + <paramdef>string <parameter>version</parameter></paramdef> > > + <paramdef>string <parameter>TPE</parameter></paramdef> > > + <paramdef>string <parameter>montant</parameter></paramdef> > > + <paramdef>string > > <parameter>ref_commande</parameter></paramdef> > > + <paramdef>string > > <parameter>texte_libre</parameter></paramdef> > > + <paramdef>string > > <parameter>url_retour</parameter></paramdef> > > + <paramdef>string > > <parameter>url_retour_ok</parameter></paramdef> > > + <paramdef>string > > <parameter>url_retour_err</parameter></paramdef> > > + <paramdef>string <parameter>langue</parameter></paramdef> > > + <paramdef>string > > <parameter>code_societe</parameter></paramdef> > > + <paramdef>string > > <parameter>texte_bouton</parameter></paramdef> > > + </funcprototype> > > + </funcsynopsis> > > <para> > > - <function>cybermut_creerformulairecm</function> is used to generate the > > + <function>cynermut_creerformulairecm</function> is used to generate the > > HTML form of request for payment. > > </para> > > <example> > > <title>First step of payment (equiv cgi1.c)</title> > > <programlisting role="php"> > > -<![CDATA[ > > -<?php > > -// Directory where the keys are located > > +&lt;?php > > +// Directory where are located the keys > > putenv("CMKEYDIR=/var/creditmut/cles"); > > > > // Version number > > $VERSION="1.2"; > > > > - $retour = cybermut_creerformulairecm( > > + $retour = creditmut_creerformulairecm( > > > > "https://www.creditmutuel.fr/test/telepaiement/paiement.cgi", > > $VERSION, > > "1234567890", > > @@ -102,8 +95,7 @@ > > "Paiement par carte bancaire"); > > > > echo $retour; > > -?> > > -]]> > > +?&gt; > > </programlisting> > > </example> > > <para> > > @@ -124,37 +116,35 @@ > > </refnamediv> > > <refsect1> > > <title>Description</title> > > - <methodsynopsis> > > - <type>bool</type><methodname>cybermut_testmac</methodname> > > - <methodparam><type>string</type><parameter>code_MAC</parameter></methodparam > > > - <methodparam><type>string</type><parameter>version</parameter></methodparam> > > - <methodparam><type>string</type><parameter>TPE</parameter></methodparam> > > - <methodparam><type>string</type><parameter>cdate</parameter></methodparam> > > - <methodparam><type>string</type><parameter>montant</parameter></methodparam> > > - <methodparam><type>string</type><parameter>ref_commande</parameter></methodp aram> > > - <methodparam><type>string</type><parameter>texte_libre</parameter></methodpa ram> > > - <methodparam><type>string</type><parameter>code-retour</parameter></methodpa ram> > > - </methodsynopsis> > > + <funcsynopsis> > > + <funcprototype> > > + <funcdef>bool > > <function>cybermut_testmac</function></funcdef> > > + <paramdef>string <parameter>code_MAC</parameter></paramdef> > > + <paramdef>string <parameter>version</parameter></paramdef> > > + <paramdef>string <parameter>TPE</parameter></paramdef> > > + <paramdef>string <parameter>cdate</parameter></paramdef> > > + <paramdef>string <parameter>montant</parameter></paramdef> > > + <paramdef>string > > <parameter>ref_commande</parameter></paramdef> > > + <paramdef>string > > <parameter>texte_libre</parameter></paramdef> > > + <paramdef>string > > <parameter>code-retour</parameter></paramdef> > > + </funcprototype> > > + </funcsynopsis> > > <para> > > <function>cybermut_testmac</function> is used to make sure that there was > > not data diddling contained in the received message of confirmation. > > - Pay attention to parameters <parameter>code-retour</parameter> and > > - <parameter>texte-libre</parameter>, which cannot be evaluated as is, > > - because of the dash. You must retrieve them by using: > > + Pay attention to parameters code-retour and texte-libre, which cannot be > > + evaluated as is, because auf the dash. You must retrieve them by using: > > <programlisting role="php"> > > -<![CDATA[ > > -<?php > > +&lt;?php > > $code_retour=$HTTP_GET_VARS["code-retour"]; > > $texte_libre=$HTTP_GET_VARS["texte-libre"]; > > -?> > > -]]> > > +?&gt; > > </programlisting> > > </para> > > <example> > > <title>Last step of payment (equiv cgi2.c)</title> > > <programlisting role="php"> > > -<![CDATA[ > > -<?php > > +&lt;?php > > // Make sure that Enable Track Vars is ON. > > // Directory where are located the keys > > putenv("CMKEYDIR=/var/creditmut/cles"); > > @@ -165,7 +155,7 @@ > > $texte_libre = $HTTP_GET_VARS["texte-libre"]; > > $code_retour = $HTTP_GET_VARS["code-retour"]; > > > > -$mac_ok = cybermut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre,$ code_retour); > > +$mac_ok = creditmut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre, $code_retour); > > > > if ($mac_ok) { > > > > @@ -174,13 +164,11 @@ > > // > > // > > > > - $result=cybermut_creerreponsecm("OK"); > > -} else { > > - $result=cybermut_creerreponsecm("Document Falsifie"); > > -} > > + $result=creditmut_creerreponsecm("OK"); > > + } else { > > + $result=creditmut_creerreponsecm("Document Falsifie");} > > > > -?> > > -]]> > > +?&gt; > > </programlisting> > > </example> > > <para> > > @@ -201,17 +189,19 @@ > > </refnamediv> > > <refsect1> > > <title>Description</title> > > - <methodsynopsis> > > - <type>string</type><methodname>cybermut_creerreponsecm</methodname> > > - <methodparam><type>string</type><parameter>phrase</parameter></methodparam> > > - </methodsynopsis> > > + <funcsynopsis> > > + <funcprototype> > > + <funcdef>string <function>cybermut_creerreponsecm</function></funcdef> > > + <paramdef>string <parameter>phrase</parameter></paramdef> > > + </funcprototype> > > + </funcsynopsis> > > <para> > > <function>cybermut_creerreponsecm</function> returns a string containing > > - delivery acknowledgement message. > > + delivery aknowledgement message. > > </para> > > <para> > > The parameter is "OK" if the message of confirmation of the payment > > - was correctly identified by <function>cybermut_testmac</function>. > > + were correctly auhentified by <function>cybermut_testmac</function>. > > Any other chain is regarded as an error message. > > </para> > > <para> > > @@ -222,7 +212,6 @@ > > </refsect1> > > </refentry> > > </reference> > > - > > <!-- Keep this comment at the end of the file > > Local variables: > > mode: sgml > > @@ -232,7 +221,6 @@ > > 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 > > > > >

« previous php.doc (#969353325) next »