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

[BUG]: retrieveCardNetworks not exist in StripeJS #643

Open
WhySimply opened this issue Sep 4, 2024 · 3 comments
Open

[BUG]: retrieveCardNetworks not exist in StripeJS #643

WhySimply opened this issue Sep 4, 2024 · 3 comments
Labels
bug Something isn't working stale

Comments

@WhySimply
Copy link

What happened?

Hey !

We tried to implement the network selector for adding a credit card in custom mode, however we never find retrieveCardNetworks in the lib, even in its latest version 4.4.0 and even using ts-ignore, it It seems that the method does not exist at all in the lib, is this possible?

Environment

No response

Reproduction

No response

@WhySimply WhySimply added the bug Something isn't working label Sep 4, 2024
@brendanm-stripe
Copy link
Contributor

Can you clarify what you're asking with a snippet of code or other appropriate reproduction steps?

Note that this library does not define/provide any of the actual Stripe.js functionality, it only acts as a convenience loading wrapper exposed via loadStripe and complementary type definitions. The actual Stripe.js asset that gets loaded is evergreen and you always get the latest version.

@WhySimply
Copy link
Author

Capture d’écran 2024-09-19 à 11 24 13

"const {networks} = await stripe.retrieveCardNetworks(rawCardNumber)"

Not exist

Copy link

stale bot commented Nov 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants