$ cd payments
$ npm install --save mongoose-update-if-current
$ npm install --save stripe
stripe.com
Developers --> API keys
Creating a Stripe Secret
$ kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=<STRIPE_SECRET_KEY>
$ cd payments
$ npm update @webmak/microservices-common
Need to add <YOUR_STRIPE_PRIVATE_SECRET> for tests to file
payments/src/test/setup.ts
$ npm run test
Test Suites: 3 passed, 3 total
Tests: 8 passed, 8 total
Snapshots: 0 total
Time: 15.825 s
Ran all test suites.
Marley
Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат