#vishal
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vishal, 1 day ago, 7 messages
i am not able to deduct the funds from selected card . is it possible to deduct funds?
You can do it on the backend: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#charge-saved-payment-method
i dont want to do it from backend. i am using payment element (stripe web element) and with that i want to give user a option that he can use already attached card
in selectedcard is equal to id of card
What kind of ID?
You haven't answered the other question.
"id": "card_1OPjvgDEcrH500vWt9erWPZo",
this type of card id
i have tried but ididnt work
Did you see an error?
},
{
"code": "incomplete_number",
"type": "validation_error",
"message": "Your card number is incomplete."
}
Wait, selectedCard is an object or ID?
its id
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_Zix8xJNuwizAar
I can't see the request that produces this error.
Ok, to make this work you will have to charge the card on the backend, when the customer selects it from the list. There's actually no need to show the Payment Element, unless they want to add a new card.
i want to know is there any way to do this with payment element
To do what exactly?