#cadupm
1 messages · Page 1 of 1 (latest)
Sure, for one time payments its not necessary to create a customer or save the card for later use, those are both options you control
I'd suggest reading through this guide and trying the integration using the details provided: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-create-intent
awesome, but how can i vinculate an card into this payment?
Can you rephrase? What are you trying to do?
the client will pass card's info at a form at my application. Do I need to create a payment_method and use it at confirmation step for payment intent?
The guide i linked to includes details about implementing the Payment Element to collect card or other payment method details
There are other flows depending on your specific needs, but i would suggest starting with this
perfect, i'll do this
thank you 😄
just one more doubt
when it says
Create the PaymentIntent
Create a PaymentIntent on your server with avalueiscoin. In the latest version of the API, specifying the parameter automatic_payment_methodsis optional because Stripe enables its functionality by default. You can manage payment methods on the Dashboard . Stripe processes returns for eligible payment methods based on factors such as transaction amount, currency, and payment flow.
Stripe uses your payment method settings to display the payment methods you have enabled. To override payment methods, manually list the ones you would like to activate using the payment_method_types.
its not clear how I should pass cards info in this tutoriall