#Nadiya

1 messages · Page 1 of 1 (latest)

alpine sandBOT
little isle
#

No, you can just update via the API

#

exp_month and exp_year

sharp mauve
#

okay, so a normal form elements right?

little isle
#

Yep, after displaying some information to your Customer for them to make sure that's their card

#

like last4

sharp mauve
#

okay

#

what about adding new cards?

little isle
#

Then absolutely you need PaymentElement via stripe.js

#

And SetupIntent yes

sharp mauve
#

ok, understood

#

Thank you

#

sorry, a follow-up question,
is it possible to check whether a card is user's default card from "List a Customer's PaymentMethods"

alpine sandBOT
elder surge
#

it's defined on the Customer object, not on the PaymentMethod object

sharp mauve
#

then, is it safe to store these data's in our database

elder surge
#

yep, that's safe to store if you want to