#JoelBermudez
1 messages · Page 1 of 1 (latest)
The Payment Element is one of the many different Stripe Elements, so you're talking about the same thing
So is it possible, using this type of form, let's say I want to use payment link, to send the informatin to stripe and to me at the same time?
When pressing the "submit" button
You wouldn't use both the Payment Element and Payment Links for the same payment. They're separate products that accept payment information
Yes, I would use Payment Link. I just have a doubt if this form is on my backend, or is it like an "iframe". So, if someone writes their info on that form, if I can save it on my database too or it's limited to the stripe servers
It's a Stripe-hosted web page. You can store information from it in your database by listening to webhooks for related events, but mostly none of the payment information touches your servers.
Got it. And, if I already have info like name, address etc. attached to a created account on my website, how do I send it directly and submit it?
Let's say, I want to make a SEPA Direct Debit. The name and IBAN (necessary for the transaction) is already saved on my side. And, when he clicks on "Activate account" it creates directly the Payment Intent and subscription based on that information
You can pass them as default values to the Payment Element creation: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails