Closed 01101sam closed 2 weeks ago
Hi @01101sam The API reference that you linked is about Checkout Session, but the source code that you referenced is Financial Connection Session. They are two different kinds of resources.
Here's the source code for Checkout Session update.
Hi @01101sam The API reference that you linked is about Checkout Session, but the source code that you referenced is Financial Connection Session. They are two different kinds of resources.
Here's the source code for Checkout Session update.
Thank you so much! I've overlooked the file path above; I think my lint is having a problem referencing the source code.
Describe the bug
In Stripe Docs I can see the example code provided the method
stripe.checkout.sessions.update
, but that isn't the case in the source code.https://github.com/stripe/stripe-node/blob/bc230c4cc2c89a9e100b099e7f4f3cb1b7fc4988/types/FinancialConnections/SessionsResource.d.ts#L99-L120
As you can see, the method should have
But this is not the case.
To Reproduce
stripe
librarystripe.checkout.sessions.update
Lint shows
Unresolved function or method update()
Expected behavior
The method is available to use, and lint is happy.
Code snippets
OS
macOS
Node version
Note v20
Library version
stripe ^11.9.1
API version
2023-08-16
Additional context
No response