-
Notifications
You must be signed in to change notification settings - Fork 175
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
Invoice issue in the 'firestore-stripe-payments' extension when setting trial period for product price #505
Comments
Any update when this issue will be resolved? Thanks |
In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505
In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505
In case where the Invoice has no associated Payment Intent, the Firestore collection write would fail. Fixes #505
* 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]>
@jsteele-stripe The issue with invoice.upcoming still exists. The error is same as before: |
@jsteele-stripe Is this issue still exists. Any help on this please. Stripe event log says: { Firebase says ❗️[Error]: Webhook handler for Stripe event [evt_1Ov58AGrlUrEAthFjs5yTvit] of type [invoice.upcoming] failed: Value for argument "documentPath" is not a valid resource path. Path must be a non-empty string." |
@hasan-abul please take a look at #616 (comment) |
Bug report
firestore-stripe-payments
Describe the bug
I recently updated the above extension from 0.2.3 to 0.3.2 and I am now getting errors related to invoice.paid, invoice.payment_succeeded and invoice.upcoming.
The exact errors in firebase console are:
❗️[Error]: Webhook handler for Stripe event [*] of type [invoice.payment_succeeded] failed: Value for argument "documentPath" is not a valid resource path. Path must be a non-empty string.
❗️[Error]: Webhook handler for Stripe event [*] of type [invoice.paid] failed: Value for argument "documentPath" is not a valid resource path. Path must be a non-empty string.
❗️[Error]: Webhook handler for Stripe event [*] of type [invoice.upcoming] failed: Value for argument "documentPath" is not a valid resource path. Path must be a non-empty string.
This is happening because the invoice.paid and invoice.payment_succeeded webhook events do not contain an payment_intent in the object
Its important to note that this occurs in case when there is free trial period with the price.
The text was updated successfully, but these errors were encountered: