diff --git a/src/components/Checkout.js b/src/components/Checkout.js index b3cae59..cc000cf 100644 --- a/src/components/Checkout.js +++ b/src/components/Checkout.js @@ -23,13 +23,13 @@ function Checkout() { return ( -
-
-
+
+
+
-
+
diff --git a/src/components/CheckoutForm.js b/src/components/CheckoutForm.js index 95e95d8..f50b991 100644 --- a/src/components/CheckoutForm.js +++ b/src/components/CheckoutForm.js @@ -424,6 +424,21 @@ function CheckoutPage({ elements, stripe }) { Pay +
+

+ This is a test checkout. You can simulate + transactions using any valid expiry date, CVC code and{' '} + + 4242 4242 4242 4242 + + , or{' '} + + 4000 0000 0000 3220 + {' '} + if you want trigger 3D Secure 2 authentication. +

+
+
{checkoutState.error}

)} - {checkoutState.processing && 'loading'} - {checkoutState.success && 'success'} + {checkoutState.processing && 'Please wait. Processing order.'} + {checkoutState.success && 'Order successfully received.'}
diff --git a/src/components/Footer.js b/src/components/Footer.js index e5dac96..93760a8 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -3,8 +3,8 @@ import React from 'react'; function Footer() { return (
-
-

+

+

Powered by GraphCMS, Printful, Gatsby & Stripe

@@ -76,22 +76,6 @@ function Footer() { -
  • - - - - - -
  • diff --git a/src/pages/cart.js b/src/pages/cart.js index e3ff8d2..a4746f0 100644 --- a/src/pages/cart.js +++ b/src/pages/cart.js @@ -8,7 +8,9 @@ function CartPage() {
    -

    Cart

    +

    + Cart +


    diff --git a/src/pages/checkout.js b/src/pages/checkout.js index 0ba5b6c..6ef8fbd 100644 --- a/src/pages/checkout.js +++ b/src/pages/checkout.js @@ -8,7 +8,9 @@ function CheckoutPage() {
    -

    Checkout

    +

    + Checkout +


    diff --git a/src/pages/success.js b/src/pages/success.js index 63eafda..6d86318 100644 --- a/src/pages/success.js +++ b/src/pages/success.js @@ -20,7 +20,9 @@ function SuccessPage({ location }) { return (
    -

    Oops!

    +

    + Oops! +


    @@ -32,7 +34,9 @@ function SuccessPage({ location }) {
    -

    Thank you!

    +

    + Thank you! +


    diff --git a/src/templates/CategoryPage.js b/src/templates/CategoryPage.js index c8bad34..8f55471 100644 --- a/src/templates/CategoryPage.js +++ b/src/templates/CategoryPage.js @@ -12,7 +12,9 @@ function CategoryPage({ return ( -

    {category.name}

    +

    + {category.name} +


    diff --git a/src/templates/CollectionPage.js b/src/templates/CollectionPage.js index 8438c24..19d0549 100644 --- a/src/templates/CollectionPage.js +++ b/src/templates/CollectionPage.js @@ -12,7 +12,7 @@ function CollectionPage({ return ( -

    +

    {collection.name}


    diff --git a/src/templates/ProductsPage.js b/src/templates/ProductsPage.js index ff3ccd8..d58f061 100644 --- a/src/templates/ProductsPage.js +++ b/src/templates/ProductsPage.js @@ -12,7 +12,9 @@ function ProductsPage({ return ( -

    Latest

    +

    + Latest +