Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/www/public/stripe-payment/ |
<!DOCTYPE html>
<html>
<head>
<title>Stripe Payment</title>
<link rel="stylesheet" href="style.css">
<script src="https://js.stripe.com/v3/"></script>
</head>
<body>
<div class="container">
<h2>Payment</h2>
<div class="billing">
<label>Billing Address</label>
<input type="text" id="address" placeholder="Billing Address">
<label>Country</label>
<input type="text" id="country" value="UK" readonly>
<label>Postcode</label>
<input type="text" id="postcode" placeholder="Postcode">
<h3>Total: £ <span id="amount">50</span></h3>
</div>
<form id="payment-form">
<label>Card Details</label>
<div id="card-element"></div>
<button id="payBtn">Pay Now</button>
<div id="error-message"></div>
</form>
</div>
<script src="payment.js"></script>
</body>
</html>