diff --git a/src/Checkout/Payment/Payment.js b/src/Checkout/Payment/Payment.js index 919ac10..6540e93 100644 --- a/src/Checkout/Payment/Payment.js +++ b/src/Checkout/Payment/Payment.js @@ -3,9 +3,16 @@ import { useStateValue } from "../../redux/StateProvider"; import { Link } from "react-router-dom"; import CheckoutProduct from "../CheckoutProduct"; import "./Payment.css"; +import { CardElement, useElements, useStripe } from "@stripe/react-stripe-js"; function Payment() { const [{ basket, user }, dispatch] = useStateValue(); + const stripe = useStripe(); + const elements = useElements(); + + const handleSubmit = (e) => {}; + const handleChange = (e) => {}; + return (
@@ -42,7 +49,11 @@ function Payment() {

Payment Method

-
+
+
+ + +