Comments (5)
Same issue
from nestjs-stripe.
It seems the stripe v8.0.0 made some chanages. Check this stripe/stripe-node#736.
from nestjs-stripe.
useFactory: (config: ConfigService) => ({
apiVersion: '2020-03-02',
apiKey: config.get('STRIPE_SECRET_KEY'),
}),
Add the apiVersion
from nestjs-stripe.
Hi everyone, sorry about the delay.
I will update the documentation to reflect that the parameter is required. When using Typescript with the new Stripe library I am fairly confident you have to use the latest version of the API that corresponds to the version of the Stripe library you're using.
I'll update the example to reflect that this field is required. Thanks for bringing this up!
from nestjs-stripe.
Thanks everyone, I've added a note in d066940. This should solve your issues. Sorry for the confusion!
from nestjs-stripe.
Related Issues (20)
- Am I able to replace the API key based in realtime? HOT 1
- Iris <> Job Possibility HOT 1
- Support Nest v8 HOT 5
- How to Mock Stripe Client for Unit Tests HOT 2
- package not able to install having conflict with @nestjs/[email protected]
- Support Nest v9 HOT 13
- Getting error Argument of type '{ apiKey: string; apiVersion: string; }' is not assignable to parameter of type 'StripeOptions'. Object literal may only specify known properties, and 'apiVersion' does not exist in type 'StripeOptions'. apiVersion: '2020-08-27', HOT 1
- Update Readme to include stripe type in example HOT 1
- Add support for extra options on the Stripe client HOT 1
- Add plugin documentation to the Stripe client HOT 1
- Add useExisting syntax for configuring the module HOT 4
- New Stripe typescript definition complains about `httpProxy` HOT 1
- What (if any) extra functionality does everybody think would benefit this library? HOT 5
- Add an example folder with a basic project that uses the library HOT 1
- Support the new Stripe configuration object
- Fix deprecation warning with new Stripe version HOT 1
- Remove default API version for Stripe
- apiVersion can only be set to the latest api version? Can this be set to be latestVersion or string? HOT 4
- Adding the module in async mode not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-stripe.