recette2
parent
86326000ea
commit
da6048ce22
|
@ -917,6 +917,11 @@ function CheckOut(props) {
|
||||||
|
|
||||||
const change_nb_formations = event => {
|
const change_nb_formations = event => {
|
||||||
|
|
||||||
|
if( String(payment_in_process) === "1"){
|
||||||
|
// un payement est en cours, on ne modifie pas cette valeur
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let valeur = event.target.value;
|
let valeur = event.target.value;
|
||||||
|
|
||||||
if (String(props.packs).toLowerCase() === String("decouverte")) {
|
if (String(props.packs).toLowerCase() === String("decouverte")) {
|
||||||
|
|
|
@ -44,7 +44,7 @@ function OrderConfirmation_3DS(props) {
|
||||||
|
|
||||||
axios.post(myurl, form).then(res => {
|
axios.post(myurl, form).then(res => {
|
||||||
|
|
||||||
console.log(res.data.status, " -- ", res.data.message )
|
console.log(res.data.status, " -- ", res.data.message)
|
||||||
if (String(res.data.status) === String("true")) {
|
if (String(res.data.status) === String("true")) {
|
||||||
setCheckSalesOrder_api("true");
|
setCheckSalesOrder_api("true");
|
||||||
setCheckSalesOrder_result(String(res.data.message));
|
setCheckSalesOrder_result(String(res.data.message));
|
||||||
|
@ -52,7 +52,7 @@ function OrderConfirmation_3DS(props) {
|
||||||
if (JSON.parse(res.data.message).stripe_pi) {
|
if (JSON.parse(res.data.message).stripe_pi) {
|
||||||
setstripe_payement_id(JSON.parse(res.data.message).stripe_pi);
|
setstripe_payement_id(JSON.parse(res.data.message).stripe_pi);
|
||||||
check_payement_finalise_order(JSON.parse(res.data.message).stripe_pi);
|
check_payement_finalise_order(JSON.parse(res.data.message).stripe_pi);
|
||||||
}else{
|
} else {
|
||||||
setcheck_payement_finalise_order_api("false");
|
setcheck_payement_finalise_order_api("false");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,19 +124,24 @@ function OrderConfirmation_3DS(props) {
|
||||||
<div className="div_row_central">
|
<div className="div_row_central">
|
||||||
|
|
||||||
|
|
||||||
Votre commande a été validée avec succès.<br />
|
Votre commande a été prise en compte <br />
|
||||||
Votre pack <b> {String(packs).toLocaleUpperCase()} </b>se mettra à jour dès que vous aurez actualisé votre page.<br />
|
Votre pack <b> {String(packs).toLocaleUpperCase()} </b>
|
||||||
Merci d'avoir choisi MySy Training.
|
Merci d'avoir choisi MySy Training.
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
<nav style={{ "color": "orange", "textAlign": "center" }}> /!\ : Vous devez finaliser votre abonnement pour qu'il soit pris en comptant en cliquant sur le bouton ci-dessous 'je finalise mon abonnement'.
|
||||||
|
<br />
|
||||||
|
</nav>
|
||||||
|
<br />
|
||||||
|
Si vous avez besoin aide n'hesitez pas à contacter notre équipe support par le chatbot (en bas de votre écran) ou mail.
|
||||||
|
<br />
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
Votre facture est disponible dans votre espace personnel.
|
Votre facture est disponible dans votre espace personnel.
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Vous pouvez dès à present commencer à utiliser nos services.<br />
|
|
||||||
Si vous avez d'aider n'hesitez pas à contacter notre équipe support par le chatbot (en bas de votre écran) ou mail.
|
|
||||||
<br />
|
|
||||||
</div>}
|
</div>}
|
||||||
|
|
||||||
|
|
||||||
|
@ -163,7 +168,7 @@ function OrderConfirmation_3DS(props) {
|
||||||
|
|
||||||
<div className="div_row_central">
|
<div className="div_row_central">
|
||||||
<Button variant="contained" color="success" className="div_row22 btn_enreg_cmd"
|
<Button variant="contained" color="success" className="div_row22 btn_enreg_cmd"
|
||||||
onClick={parent_retur_main_page}>Retour vers mon compte</Button>
|
onClick={parent_retur_main_page}> IMPORTANT : Je finalise mon abonnement </Button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>}
|
</div>}
|
||||||
|
|
|
@ -1392,9 +1392,20 @@ const Recherche_new_v2 = () => {
|
||||||
if (res.data.message.length <= 0) {
|
if (res.data.message.length <= 0) {
|
||||||
setbesoinaiderecherche("1");
|
setbesoinaiderecherche("1");
|
||||||
}
|
}
|
||||||
if (scrollDiv.current) {
|
/*if (scrollDiv.current) {
|
||||||
scrollDiv.current.scrollIntoView({ behavior: "smooth" });
|
scrollDiv.current.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}*/
|
||||||
|
|
||||||
|
var myelement;
|
||||||
|
|
||||||
|
if (document.getElementById('rech_middlebox')) {
|
||||||
|
myelement = document.getElementById('rech_middlebox');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (myelement) {
|
||||||
|
myelement.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -332,6 +332,7 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
|
font-size: medium;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -495,6 +496,7 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
|
font-size: medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -661,6 +663,7 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
border-radius: 5rem;
|
border-radius: 5rem;
|
||||||
|
font-size: medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue