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

fix(firestore-stripe-payments): Address issue where insertInvoiceRecord function fails #511

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

jsteele-stripe
Copy link
Contributor

In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail.

This PR fixes this by deferring the the invoice.id if no Payment Intent when writing to the Firestore collection.

Fixes #505, #368

In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505
@jsteele-stripe jsteele-stripe self-assigned this Mar 16, 2023
@jsteele-stripe jsteele-stripe added the bug Something isn't working label Mar 16, 2023
@jsteele-stripe jsteele-stripe changed the title fix: Address issue where insertInvoiceRecord function fails fix(firestore-stripe-payments): Address issue where insertInvoiceRecord function fails Mar 16, 2023
@jsteele-stripe jsteele-stripe merged commit b9e42ab into next Mar 16, 2023
@jsteele-stripe jsteele-stripe deleted the fix/insert-invoice-record branch March 16, 2023 15:53
jsteele-stripe added a commit that referenced this pull request Mar 20, 2023
In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505
jsteele-stripe added a commit that referenced this pull request Mar 20, 2023
* docs(firestore-stripe-payments): Fix GitHub links to `firestore-stripe-web-sdk` README

* docs(firestore-stripe-payments): Reference Prices resource for restricted key instructions

Fixes #477

* fix: Address issue where `insertInvoiceRecord` function fails (#511)

In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505

* chore(deps): Bump `typescript` dependency (#512)

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

* chore: Bump `actions/checkout`, `actions/setup-node` versions for test workflows

* chore: Bump `nick-invision/retry` version for test workflows

---------

Co-authored-by: Darren Ackers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoice issue in the 'firestore-stripe-payments' extension when setting trial period for product price
1 participant