diff --git a/src/components/StripeEmbeddedCheckout.tsx b/src/components/StripeEmbeddedCheckout.tsx new file mode 100644 index 0000000..b9f2aea --- /dev/null +++ b/src/components/StripeEmbeddedCheckout.tsx @@ -0,0 +1,16 @@ +import { EmbeddedCheckoutProvider, EmbeddedCheckout } from "@stripe/react-stripe-js"; +import { getStripe } from "@/lib/stripe"; + +interface Props { + fetchClientSecret: () => Promise; +} + +export function StripeEmbeddedCheckout({ fetchClientSecret }: Props) { + return ( +
+ + + +
+ ); +}