X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment%2Fmoney%2Fbplccyberplus.inc.php;h=96fe3c0c6ae2fe44f4e1d9b1c28a290c34b8f268;hb=d6c91d502586d5f56faae7a39dc18e3ed26395f6;hp=9ad8a346fc3e393efe2d22bffe69d1c3f6caded8;hpb=40a43ddbe5d3a9d53abcfddc517a677247681e1d;p=platal.git diff --git a/modules/payment/money/bplccyberplus.inc.php b/modules/payment/money/bplccyberplus.inc.php index 9ad8a34..96fe3c0 100644 --- a/modules/payment/money/bplccyberplus.inc.php +++ b/modules/payment/money/bplccyberplus.inc.php @@ -65,10 +65,10 @@ class BPLCCyberPlus $prefix = ($pay->flags->hasflag('unique')) ? str_pad("",15,"0") : rand_url_id(); $fullref = substr("$prefix-{$pay->id}",-12); // FIXME : check for duplicates $ts = time(); - $trans_date = date("YmdHis", $ts); + $trans_date = date("YmdHis", $ts); $trans_id = date("His", $ts); // FIXME : check for duplicates - // contenu du formulaire + // contenu du formulaire $this->urlform = "https://systempay.cyberpluspaiement.com/vads-payment/"; $this->infos['commercant'] = Array( 'vads_site_id' => $globals->money->cyperplus_account, @@ -91,7 +91,7 @@ class BPLCCyberPlus 'vads_ctx_mode' => $globals->money->cyperplus_prod, 'vads_page_action' => 'PAYMENT', 'vads_action_mode' => 'INTERACTIVE'); - + // calcul de la clé d'acceptation en entrée $all_params = array_merge($this->infos['commercant'],$this->infos['client'],$this->infos['commande'],$this->infos['divers']); ksort($all_params);