Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Custom Claim not updated if user subscribes again after subscription expired #43

Open
FezVrasta opened this issue Jan 3, 2022 · 0 comments

Comments

@FezVrasta
Copy link

FezVrasta commented Jan 3, 2022

Bug report

Describe the bug

If a user subscribes their custom claim is set to the correct value, when the subscription expires (or it's canceled) the claim is updated again correctly. But if the user subscribes again, the custom claim doesn't get updated.

The same happens if the user switches from one subscription model to another.

To Reproduce

See above.

Expected behavior

Custom claim should always match the correct status.

Screenshots

CleanShot 2022-01-03 at 8 13 59@2x

CleanShot 2022-01-03 at 8 15 20@2x

CleanShot 2022-01-03 at 8 19 07@2x

CleanShot 2022-01-03 at 8 26 16@2x

For some reason I don't see the customer.subscription.updated webhook event on Dec 30th, I only see a different one generated form an automatic monthly renewal.

CleanShot 2022-01-03 at 8 32 10@2x

System information

N/A

Additional context

Add any other context about the problem here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant