diff --git a/views/checkout/cancel.php b/views/checkout/cancel.php new file mode 100644 index 0000000..b7e0f02 --- /dev/null +++ b/views/checkout/cancel.php @@ -0,0 +1,12 @@ +
+
+
+

Checkout cancelled

+

No payment was taken. Your cart is still saved if you want to try again.

+ +
+
+
diff --git a/views/checkout/index.php b/views/checkout/index.php new file mode 100644 index 0000000..bd61394 --- /dev/null +++ b/views/checkout/index.php @@ -0,0 +1,62 @@ +
+
+

Checkout

+ + +
+

There is nothing to check out

+

Your cart is empty.

+ Browse the catalog +
+ +
+
+
+

Review your order

+
+ + + + + + + + + +
+ x + () +
+
+
+ + +
+ + Stripe test keys are not set yet, so payment is disabled. Add STRIPE_SECRET_KEY and STRIPE_PUBLISHABLE_KEY to your .env to enable Stripe Checkout. +
+ +
+ +
+

Summary

+
Subtotal
+ 0): ?> +
Discount ()-
+ +
Total due
+ +
+ + +
+

+ You will be redirected to Stripe's secure test checkout. +

+
+
+ +
+
diff --git a/views/checkout/success.php b/views/checkout/success.php new file mode 100644 index 0000000..7a2d22e --- /dev/null +++ b/views/checkout/success.php @@ -0,0 +1,21 @@ +
+
+ +
+ +

Payment received

+

Thank you. Order # is confirmed and now marked as paid.

+ +
+ +
+

Payment pending

+

We have not confirmed this payment yet. If you completed checkout, your order status will update shortly.

+ Go to your orders +
+ +
+