diff --git a/functions/cybermut.xml b/functions/cybermut.xml index c87d8ed48b..d1ba224cdb 100755 --- a/functions/cybermut.xml +++ b/functions/cybermut.xml @@ -1,16 +1,24 @@ - - + + + + Crédit Mutuel CyberMUT functions CyberMUT - This extension allows you to process credit cards transactions using - Crédit Mutuel CyberMUT system ( - &url.cybermut;). + This extension allows you to process credit cards transactions using Crédit + Mutuel CyberMUT system (&url.cybermut;). - CynerMUT is a popular Web Payment Service in France, provided by the + CyberMUT is a popular Web Payment Service in France, provided by the Crédit Mutuel bank. If you are foreign in France, these functions will not be useful for you. @@ -49,38 +57,37 @@ Description - - - string cybermut_creerformulairecm - string url_CM - string version - string TPE - string montant - string ref_commande - string texte_libre - string url_retour - string url_retour_ok - string url_retour_err - string langue - string code_societe - string texte_bouton - - + + stringcybermut_creerformulairecm + stringurl_CM + stringversion + stringTPE + stringmontant + stringref_commande + stringtexte_libre + stringurl_retour + stringurl_retour_ok + stringurl_retour_err + stringlangue + stringcode_societe + stringtexte_bouton + - cynermut_creerformulairecm is used to generate the + cybermut_creerformulairecm is used to generate the HTML form of request for payment. First step of payment (equiv cgi1.c) -<?php -// Directory where are located the keys + +]]> @@ -116,35 +124,37 @@ $VERSION="1.2"; Description - - - bool cybermut_testmac - string code_MAC - string version - string TPE - string cdate - string montant - string ref_commande - string texte_libre - string code-retour - - + + boolcybermut_testmac + stringcode_MAC + stringversion + stringTPE + stringcdate + stringmontant + stringref_commande + stringtexte_libre + stringcode-retour + cybermut_testmac is used to make sure that there was not data diddling contained in the received message of confirmation. - 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: + Pay attention to parameters code-retour and + texte-libre, which cannot be evaluated as is, + because of the dash. You must retrieve them by using: -<?php + +]]> Last step of payment (equiv cgi2.c) -<?php + +]]> @@ -189,19 +201,17 @@ if ($mac_ok) { Description - - - string cybermut_creerreponsecm - string phrase - - + + stringcybermut_creerreponsecm + stringphrase + cybermut_creerreponsecm returns a string containing - delivery aknowledgement message. + delivery acknowledgement message. The parameter is "OK" if the message of confirmation of the payment - were correctly auhentified by cybermut_testmac. + was correctly identified by cybermut_testmac. Any other chain is regarded as an error message. @@ -212,6 +222,7 @@ if ($mac_ok) { + +