Skip to content

Conversation

@dackers86
Copy link
Member

fixes: #379

  • Added subscription payments prices.
  • Added test scenario
  • Refactored and improved testing utilities
  • Better organisation for testing files

@dackers86 dackers86 force-pushed the @invertase/add-subscription-payment-session-updates branch from f3814ea to e20c68f Compare May 27, 2022 09:47
@jsteele-stripe jsteele-stripe merged commit e97216a into next Aug 23, 2022
@jsteele-stripe jsteele-stripe deleted the @invertase/add-subscription-payment-session-updates branch August 23, 2022 09:39
jsteele-stripe added a commit that referenced this pull request Aug 23, 2022
* feat(firestore-stripe-payments): upgraded to the new emulator suite (#400)

tests(firestore-stripe-payments): upgraded to the new emulator suite

* fix(firestore-stripe-payments): added env stripe key check on test setup

* fix(firestore-stripe-payments): added env stripe key check on test setup

* formatted code

* Remove link to old repo

* feat(firestore-stripe-payments): Allow configuring min instances for createCheckoutSession (#375)

* feat: Allow configuring min instances for createCheckoutSession

* Update firestore-stripe-payments/extension.yaml

* Update firestore-stripe-payments/extension.yaml

Co-authored-by: Jonathan Steele <83410553+jsteele-stripe@users.noreply.github.com>

* chore(firestore-stripe-payments): updated scripts for CI and local testing (#415)

* chore(firestore-stripe-payments): updated scripts for ci and local testing

* chore(firestore-stripe-payments): added testing typescript configuration, fixes jest warnings in files

* fix(firestore-stripe-web-sdk): locked sinon types to 10.0.6

* chore(firestore-stripe-payments): removed obsolete comments

* fix(firestore-stripe-payments): `minInstances` parameter expects number

* docs(firestore-stripe-payments): Update APIs for restricted key (#411)

Prices API replaces the Plans API, per https://stripe.com/docs/api/plans

* docs(firestore-stripe-payments): Add extra context to `CREATE_CHECKOUT_SESSION_MIN_INSTANCES` config parameter

* fix(firestore-stripe-payments): added subscription payments prices, test and refactor included (#393)

* fix(firestore-stripe-payments): added subscription payments prices, tests and refactor included

* chore: locked firebase tools workflow to 10.9.2

* added setup emulator for collection helper functions

* chore: commiting empty env files

* chore: updated ci firebase tools to latest

* pinned sinon types at 10.0.6

* feat(firestore-stripe-payments): createPortalLink auth tweaks (#420)

Throw 'unauthenticated' code instead of 'failed-precondition' and use optional chaining (supported in Node 14) to avoid redundant check for 'context.auth.uid'.

* docs(firestore-stripe-payments): Fix GitHub link to `firestore-stripe-web-sdk` README

Fixes #409

* chore: 2022-08-23 release (#422)

* [skip ci] Open PR

* chore(firestore-stripe-payments): 0.3.0 release

Co-authored-by: Darren Ackers <ackers86@hotmail.com>
Co-authored-by: CJ Avilla <cjavilla@stripe.com>
Co-authored-by: Allen <abierbaum@gmail.com>
Co-authored-by: Will Battel <willbattel@gmail.com>
jsteele-stripe added a commit that referenced this pull request Aug 24, 2022
* feat(firestore-stripe-payments): upgraded to the new emulator suite (#400)

tests(firestore-stripe-payments): upgraded to the new emulator suite

* fix(firestore-stripe-payments): added env stripe key check on test setup

* fix(firestore-stripe-payments): added env stripe key check on test setup

* formatted code

* Remove link to old repo

* feat(firestore-stripe-payments): Allow configuring min instances for createCheckoutSession (#375)

* feat: Allow configuring min instances for createCheckoutSession

* Update firestore-stripe-payments/extension.yaml

* Update firestore-stripe-payments/extension.yaml

Co-authored-by: Jonathan Steele <83410553+jsteele-stripe@users.noreply.github.com>

* chore(firestore-stripe-payments): updated scripts for CI and local testing (#415)

* chore(firestore-stripe-payments): updated scripts for ci and local testing

* chore(firestore-stripe-payments): added testing typescript configuration, fixes jest warnings in files

* fix(firestore-stripe-web-sdk): locked sinon types to 10.0.6

* chore(firestore-stripe-payments): removed obsolete comments

* fix(firestore-stripe-payments): `minInstances` parameter expects number

* docs(firestore-stripe-payments): Update APIs for restricted key (#411)

Prices API replaces the Plans API, per https://stripe.com/docs/api/plans

* docs(firestore-stripe-payments): Add extra context to `CREATE_CHECKOUT_SESSION_MIN_INSTANCES` config parameter

* fix(firestore-stripe-payments): added subscription payments prices, test and refactor included (#393)

* fix(firestore-stripe-payments): added subscription payments prices, tests and refactor included

* chore: locked firebase tools workflow to 10.9.2

* added setup emulator for collection helper functions

* chore: commiting empty env files

* chore: updated ci firebase tools to latest

* pinned sinon types at 10.0.6

* feat(firestore-stripe-payments): createPortalLink auth tweaks (#420)

Throw 'unauthenticated' code instead of 'failed-precondition' and use optional chaining (supported in Node 14) to avoid redundant check for 'context.auth.uid'.

* docs(firestore-stripe-payments): Fix GitHub link to `firestore-stripe-web-sdk` README

Fixes #409

* chore: 2022-08-23 release (#422)

* [skip ci] Open PR

* chore(firestore-stripe-payments): 0.3.0 release

* chore: Remove lockfiles from .gitignore (#426)

Re-generated `package-lock.json` for each extension, too

* chore: 2022-08-24 release (#427)

* [skip ci] Open PR

* chore(firestore-stripe-invoices): 0.2.1 release

* chore(firestore-stripe-payments): 0.3.1 release

* fix(firestore-stripe-payments): renamed create checkout min instances config (#428)

* chore: Remove lockfiles from .gitignore

Re-generated `package-lock.json` for each extension, too

* fix(firestore-stripe-payments): renamed create checkout min instances config

* fix: added eventchannel check

Co-authored-by: Jonathan Steele <jsteele@stripe.com>

Co-authored-by: Darren Ackers <ackers86@hotmail.com>

Co-authored-by: Darren Ackers <ackers86@hotmail.com>
Co-authored-by: CJ Avilla <cjavilla@stripe.com>
Co-authored-by: Allen <abierbaum@gmail.com>
Co-authored-by: Will Battel <willbattel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getCurrentUserPayments throws an error

3 participants