-
Notifications
You must be signed in to change notification settings - Fork 272
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
Access CVC number in onCardChange callback #425
Comments
@tluber what's the reason for calling the Stripe API directly? Are you doing this from the client. For PCI compliance reason we recommend to not do that. |
No, sorry for the misunderstanding, we are calling it from the server. We have an endpoint to create and attach a payment method to a customer.
For this reason, we need to access the CVC value, which is highly recommended that it always be included. |
In most cases this should not be done on the server-side. Can you outline why you do this server-side rather than using |
Closing out due to inactivity. |
hello, one question if I want to create a new card and not a payment method, what is the difference there? |
In relation with issue #280, we need access to the CVC value since we are only using
CardField
component to collect data and then calling Stripe API directly.Describe the solution you'd like
Expose CVC value when
dangerouslyGetFullCardDetails
is set to true (like with the card number).Thanks!
Tomas.
The text was updated successfully, but these errors were encountered: