#learner-savedcards

1 messages · Page 1 of 1 (latest)

south heron
leaden plank
#

Is it possible to get last four digits of the credit card from confirmCardSetup so that we can save that in our DB against the customer?

south heron
#

or you could mirror the information in your database after the customer saved the card and query that instead

#

sure, but you'd do it on the backend server, not really with the result of confirmCardSetup

leaden plank
#

Thanks @south heron

#

How do I see all the chats archived here in this channel for my queries?

south heron
#

hmm, not sure. I think searching in:#dev-help from: learner#9858 in the Discord search bar will get most of them

leaden plank
#

In which case does Stripe not saves the credit card but just uses it for one time transaction? Do you know if there is any legal rule to not save the credit card without asking for permissions etc ?

south heron
#

@leaden plank

In which case does Stripe not saves the credit card but just uses it for one time transaction?
you control that — if you don't use a Customer object and save the payment method it's one time use only.

#

re "legal rules" I think that depends on your own country/business. I don't know much about it unfortunately and we don't directly document much about this topic.

#
leaden plank
#

When we setup a new customer and save his card details, what all things do we need to save in our DB for future transactions(any IDs etc)

south heron
#

At least the customer ID cus_xxx of the Stripe object.