You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying to get Subscription Grants working, however running into some problems.
It looks like it's a side effect of this issue: #44
Looking into the code, the Subscription Grants are looking for the customer.subscription.created event from the webhook, but that is sent before the checkout.session.completed event, so there's no order to attach the event to and process the grants.
I can manually resend the customer.subscription.created event through the Stripe dashboard, and then everything works.
Cancelling a subscription does work since the customer.subscription.deleted is received and mapped properly.
I have the webhook configured for All Events currently.
How do we get this working? It's built in functionality for the plugin, not trying to do anything custom. I don't see anything in the documentation around needing to do anything extra to get this working.
Steps to reproduce
Configure Subscription Grant
Create Subscription
See grant was not processed and user is not added to groups
Additional info
Craft version: 3.4.23
Plugin version: 2.7.0
The text was updated successfully, but these errors were encountered:
Description
So I'm trying to get Subscription Grants working, however running into some problems.
It looks like it's a side effect of this issue: #44
Looking into the code, the Subscription Grants are looking for the
customer.subscription.created
event from the webhook, but that is sent before thecheckout.session.completed
event, so there's no order to attach the event to and process the grants.I can manually resend the
customer.subscription.created
event through the Stripe dashboard, and then everything works.Cancelling a subscription does work since the
customer.subscription.deleted
is received and mapped properly.I have the webhook configured for All Events currently.
How do we get this working? It's built in functionality for the plugin, not trying to do anything custom. I don't see anything in the documentation around needing to do anything extra to get this working.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: