#bilalsaeedalam
1 messages ยท Page 1 of 1 (latest)
Hi ๐ both Checkout Sessions and Payment Element integrations allow you save payment method details for future use, guides for building those integraitons can be found in this guide:
https://stripe.com/docs/payments/save-and-reuse
Yes i am using the same
But the thing is with this for the first time user need to create Customer account as well like we need email and when this checkout form is open it take Name as well, so is there any thing we don't need to provide customer email and name
Sorry, I am not understanding what you're trying to ask, would you mind trying to rephrase the question?
Yes
Look when i implement this checkout functionality, and on the frontend Stripe checkout form is open.
IT shows the email, Card elements and name
Is it possible without providing customer details we can just pass card info and then good to go
IT shows the email, Card elements and name
I'm assuming this is talking about a Checkout Session, but let me know if that is wrong.
No, you cannot pass card details to Checkout Sessions.
Okay so there is way for future payments without doing this
So if we just want to charge through card element then we will setup instant payments for cehckout
I don't understand what you're trying to convey there.
No worries, i am asking for future payment is there any othe way or not
Any other way than what? Is there something about the two paths shown in the guide that you don't like that you want to handle differently?
Sorry to bother you but i was just asking if there is other way, but in the doc there is nothing like that. Don't be angry please.
Not angry, just not really sure what you're asking for so I'm not sure what to provide. The guide that I linked are our recommended approaches for collecting payment method details from your customers for future payments, I'm not sure what alternative recommendations to provide without understanding what you dislike about those flows.
Basically client want, whoever comes to his side and for future payment that customer don't need to put other details other than card. I was saying without email we can not create customer and payment intent object takes customer id. So we need it.
That i was clrearing from you ๐
You can create a Customer object without providing an email address.