diff --git a/src/App.js b/src/App.js index 7370b40..1b8537e 100644 --- a/src/App.js +++ b/src/App.js @@ -11,6 +11,12 @@ import Payment from "./Checkout/Payment/Payment"; import "./App.css"; import { auth } from "./Auth/firebaseInit"; import { useStateValue } from "./redux/StateProvider"; +import { loadStripe } from "@stripe/stripe-js"; +import { Elements } from "@stripe/react-stripe-js"; + +const promise = loadStripe( + "pk_test_51KscW4KBpYeMLtMedJZdIfNQravnfD8VQkGRNe9P8KGao7Ij7xmJSyFNCeKvipq96aXS6kUq4y2NpYv405V5ox9D00n5p0NOOk" +); function App() { const [{}, dispatch] = useStateValue(); @@ -42,7 +48,9 @@ function App() {
- + + +