en partie #155 : ajoute un commentaire pour les paiements
[platal.git] / modules / payment / money / cyberpaiement.inc.php
index 0030fc5..9a35d41 100644 (file)
@@ -48,7 +48,7 @@ class CyberPayment
         global $globals;
 
         $roboturl = str_replace("https://","http://",$globals->baseurl)
-            ."/payment/cyber_return/".S::v('uid')."?CHAMPBPX";
+            ."/payment/cyber_return/".S::v('uid')."?comment=".urlencode(Env::v('comment'))."&CHAMPBPX";
         if (Cookie::has(session_name())) {
             $returnurl .= "?".SID;
         }