#moistcode-payment-element-identifiers
1 messages ยท Page 1 of 1 (latest)
If a user uses a card for example, identifiers would be the last 4, expiry, and brand of the card.
Not entirely sure what identifiers mean for other payment methods quite yet ๐ Still working that out with design.
ah okay! I do believe there are events that you can listen for on the element itself
Ah right, there are. Looking into that right now.
Darn, it looks like the only value they have out of the ones I'm looking for is the currently selected payment method type.
There is a way using stripe.createPaymentMethod() that returns some of those identifiers but it doesn't look like it supports payment element types.
I dug through a little and it doesn't seem like there is a stripe.retrievePaymentMethod() method or anything similar.
Hmm let me take a look
If the events don't work, we may have to jerry-rig it ๐
Yeah part of me really wants to make this work but my gut tells me there's a reason why I can't readily access this lol.
Yeah the idea is to keep the information secure and avoid any leaks in the memory ๐