#Namrata
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
to help you better in the future we'd highly recommend you post your question directly instead
what's the issue?
i am retrieve paymentMethod but i want to retrieve cards details like last 4 digit
how to do that
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can i do like $intent['card']['last4']
I'd give it a try and see!
let me know if you need any more help
i want to store card holder name with card details
what are you using? Checkout or Payment Element?
card element
card element doesn't support having those fields, in that case you could create your own fields and store the data in the metadata field
thank you for help
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Yep, you can clear the values: https://stripe.com/docs/js/element/other_methods/clear