#WhySoAsync-element

1 messages · Page 1 of 1 (latest)

vast pine
earnest coral
#

with images and stuff

vast pine
#

Hi! You mean you already have a saved card PaymentMethod, and you would like to display it nicely on your frontend?

earnest coral
#

yeah, i have

brand: "visa"
country: "US"
exp_month: 4
exp_year: 2024
last4: "4242"

#

with the stripe card example

#

I don't know the enums for all the brands so i can add pictures, i work in ReactJS

vast pine
#

Got it! Then unfortunately there's no Element to displayed saved cards. That's something that you will have to build yourself.

earnest coral
#

i see stripe has something on android

#

Do you atleast have the enum for all the brands? So i can search for images?

vast pine
earnest coral
#

thank you !

And how the string comes in the payment_methods object for each one of them?

#

visa
mastercard

and the rest?
I'm trying to create a hashmap to show the logos

#

i will show images based on what comes from stripe brand key

vast pine