Hey is there anyway to render just the ui without doing any of the backend. I tried this: const { initPaymentSheet, presentPaymentSheet } = useStripe() useEffect(() => { initPaymentSheet() }) const pressHandler = () => { presentPaymentSheet() } doesnt seem to work. What might I be doing wrong?
Hey is there anyway to render just the ui without doing any of the backend.
I tried this:
const { initPaymentSheet, presentPaymentSheet } = useStripe()
useEffect(() => {
initPaymentSheet()
})
const pressHandler = () => {
presentPaymentSheet()
}
doesnt seem to work. What might I be doing wrong?