Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe transaction customer id expiration #6

Open
zlkca opened this issue Apr 7, 2020 · 0 comments
Open

Stripe transaction customer id expiration #6

zlkca opened this issue Apr 7, 2020 · 0 comments

Comments

@zlkca
Copy link
Owner

zlkca commented Apr 7, 2020

Every credit card transaction need a customer id and payment method id. we currently saved in user table as cardAccountId and cars array save payment method id.

https://stripe.com/docs/payments/save-card-without-authentication

https://github.com/zlkca/duocun/blob/master/server/models/client-payment.ts

line 244 async trySaveStripeCard(accountId: string, paymentMethodId: string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant