mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Rename & disable unused stripe test page
This commit is contained in:
39
test_stripe_guest_checkout.php
Normal file
39
test_stripe_guest_checkout.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
exit();
|
||||
|
||||
include("config.php");
|
||||
include("check_login.php");
|
||||
include("functions.php");
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Accept a card payment</title>
|
||||
<meta name="description" content="A demo of a card payment on Stripe" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<link rel="stylesheet" href="global.css" />
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?version=3.52.1&features=fetch"></script>
|
||||
<script src="test_stripe_client.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Display a payment form -->
|
||||
<form id="payment-form">
|
||||
<div id="card-element"><!--Stripe.js injects the Card Element--></div>
|
||||
<button id="submit">
|
||||
<div class="spinner hidden" id="spinner"></div>
|
||||
<span id="button-text">Pay</span>
|
||||
</button>
|
||||
<p id="card-error" role="alert"></p>
|
||||
<p class="result-message hidden">
|
||||
Payment succeeded, see the result in your
|
||||
<a href="" target="_blank">Stripe dashboard.</a> Refresh the page to pay again.
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user