From 742af6c746b50836084fa42deea18b71d0cb59ff Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Fri, 9 May 2003 23:55:14 +0000 Subject: [PATCH] Restoring en/functions/cybermut.xml v. 1.19 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126429 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/cybermut.xml | 245 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 245 insertions(+) create mode 100755 functions/cybermut.xml diff --git a/functions/cybermut.xml b/functions/cybermut.xml new file mode 100755 index 0000000000..fba2d87cfe --- /dev/null +++ b/functions/cybermut.xml @@ -0,0 +1,245 @@ + + + + + + Crédit Mutuel CyberMUT functions + CyberMUT + + + This extension allows you to process credit cards transactions using Crédit + Mutuel CyberMUT system (&url.cybermut;). + + + 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. + + + These functions are only available if PHP has been compiled with the + + option, where DIR is the location of libcm-mac.a + and cm-mac.h. + You will require the appropriate SDK for your platform, which + may be sent to you after your CyberMUT's subscription (contact + them via Web, or go to the nearest Crédit Mutuel). + + + The use of these functions is almost identical to the original functions, + except for the parameters of return for cybermut_creerformulairecm + and cybermut_creerreponsecm, + which are returned directly by functions PHP, whereas they had passed in + reference in the original functions. + + + These functions have been added in PHP 4.0.6. + + + + These functions only provide a link to CyberMUT SDK. Be sure to read the + CyberMUT Developers Guide for full details of the required parameters. + + + + + + + cybermut_creerformulairecm + Generate HTML form of request for payment + + + Description + + stringcybermut_creerformulairecm + stringurl_CM + stringversion + stringTPE + stringmontant + stringref_commande + stringtexte_libre + stringurl_retour + stringurl_retour_ok + stringurl_retour_err + stringlangue + stringcode_societe + stringtexte_bouton + + + cybermut_creerformulairecm is used to generate the + HTML form of request for payment. + + + First step of payment (equiv cgi1.c) + + +]]> + + + + See also + cybermut_testmac and + cybermut_creerreponsecm. + + + + + + + cybermut_testmac + + Make sure that there no was data diddling contained + in the received message of confirmation + + + + Description + + 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 of the dash. You must retrieve them by using: + + +]]> + + + + Last step of payment (equiv cgi2.c) + + +]]> + + + + See also + cybermut_creerformulairecm and + cybermut_creerreponsecm. + + + + + + + cybermut_creerreponsecm + + Generate the acknowledgement of delivery of the confirmation + of payment + + + + Description + + stringcybermut_creerreponsecm + stringphrase + + + cybermut_creerreponsecm returns a string containing + delivery acknowledgement message. + + + The parameter is "OK" if the message of confirmation of the payment + was correctly identified by cybermut_testmac. + Any other chain is regarded as an error message. + + + See also + cybermut_creerformulairecm and + cybermut_testmac. + + + + + +