#Namrata

1 messages ยท Page 1 of 1 (latest)

sharp mural
#

๐Ÿ‘‹ happy to help

#

to help you better in the future we'd highly recommend you post your question directly instead

fringe vector
#

$intent=$stripe->paymentMethods->retrieve(
$paymentMethodId,
[]
);

#

okay noted

sharp mural
#

what's the issue?

fringe vector
#

i am retrieve paymentMethod but i want to retrieve cards details like last 4 digit

#

how to do that

sharp mural
fringe vector
#

can i do like $intent['card']['last4']

sharp mural
#

I'd give it a try and see!

fringe vector
#

okay

#

yes it working

sharp mural
#

let me know if you need any more help

fringe vector
#

i want to store card holder name with card details

sharp mural
#

what are you using? Checkout or Payment Element?

fringe vector
#

card element

sharp mural
#

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

fringe vector
#

thank you for help

old vigil
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

fringe vector
#

Hii

#

can we reset card-element when we reset the custom payment-form

old vigil