mirror of
https://github.com/itflow-org/itflow
synced 2026-03-04 12:54:51 +00:00
Added selectable num of records on each listing page, fixed up Pagination Records UI, added new stripe library, further worked on stripe integration, fixed mispelling in client details
This commit is contained in:
36
checkout.php
Normal file
36
checkout.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
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="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