#brittkim
1 messages · Page 1 of 1 (latest)
Hi, checking this
Um I don't think that's possible. But you can have a Link Element outside, right above the PaymentElement and they will looks seamlessly. https://stripe.com/docs/payments/link/save-and-reuse?link-integration-type=at-payment#design-your-integration
Of course that's Link and if you just don't want to use Link, you would want to collect the email yourself separately with PaymentElement
That sounds good. But the problem I've been noticing is that when using the PaymentElement, the form submission isn't to my backend, but stripe. So, it's unclear how that info ever finds way to my backend.
(That is probably a seperate question)
You are correct, the form will mostly interact with Stripe and come back to your code with only the result of confirmPayment. Which information are you looking for in your backend?
We just want to collect an email is all. I think using a Link element is fine for now, we just wanted to make sure there wasn't a better approach.