#Karthik-element
1 messages · Page 1 of 1 (latest)
Hi! So you already have a payment method saved, and you would like to use it for a payment?
yes
Then you need to create a PaymentIntent with the existing customer and payment method, as shown here: https://stripe.com/docs/payments/save-and-reuse?platform=web#charge-saved-payment-method
Yes, i am able to create the payment intent with the payment id, what is next from ui ?
i need to use the client secret from the payment intent response.
but do i need an element or that is not required. ?
There's no UI needed, since you already have the payment method saved. So everything can be done from the backend, except if the payment method requires authentification (like 3DS). In that case you need to call confirmCardPayment with the client secret of the PaymentIntent https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached