stripe-firebase-extensions icon indicating copy to clipboard operation
stripe-firebase-extensions copied to clipboard

Webhook failed: Value for argument "documentPath" is not a valid resource path. Path must be a non-empty string.

Open cyrildiagne opened this issue 2 years ago • 1 comments

Bug report

  • Extension name: firestore-stripe-payments

Describe the bug

We've noticed a growing number of inconsistencies between the claims that our users have in Firebase (we have a single stripeRole: pro claim that we want assigned to users with an active subscription)

But we've noticed that (at least many) users don't get their claims revoked when they unsubscribe or their payment doesn't go through.

Not sure if related but there is a frequent bug in the logs of the ext-firestore-stripe-payments-handleWebhookEvents function

Expected behavior

The claim is removed when the subscription is in another state than "trialing" or "active".

Screenshots

image

cyrildiagne avatar Jan 26 '22 17:01 cyrildiagne

I think this is related to #333.

cjavilla-stripe avatar Jan 28 '22 09:01 cjavilla-stripe