$thePublicKeyProd, ' thePrivateKeyProd' => $thePrivateKeyProd], 'mp.reqUpConf.php');} $continuer=0; } } if ($continuer==1) { $reqUpdate="UPDATE `modepaie` SET typeCompte='" .$theTypeCompte. "', isTest='" .$theEnv. "', idCompte='" .$theIdCompte. "', PrivateKeyTest='" .$thePrivateKeyTest. "', PublicKeyTest='" .$thePublicKeyTest. "', PrivateKeyProd='" .$thePrivateKeyProd. "', PublicKeyProd='" .$thePublicKeyProd. "', "; if (isset($theApiTest)) $reqUpdate .="apiURLTest='" .$theApiTest. "', "; if (isset($apiURLProd)) $reqUpdate .="apiURLProd='" .$theApiProd. "' "; $rest = strlen($reqUpdate)-2; $reqUpdate=substr($reqUpdate,0,$rest); $reqUpdate .= " WHERE idModePaie=" .$theIdPaie. " ;"; $resConn=''; $resConn=$idPdo->query($reqUpdate); if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], '');} if ($resConn) { $admMsg .= " Mise à jour effectuée avec succès !"; $admMsgClass='ok'; } else { $admMsg .= " Echec de la mise à jour des moyens de paiement"; $admMsgClass='ko'; } } ?>