Roles Not Assigned After Webhook Fires

Created on 29 January 2019, almost 6 years ago
Updated 26 December 2024, 19 days ago

When a new user creates a subscription their roles are not being added after the webhook fires using the latest tested Stripe library (2016-07-06). It seems the problem is happening around line 517 of the stripe_subscription.module. The line $customer = stripe_customer_from_webhook($event); is returning false instead of getting the customer details.

I have tried changing the library version being used but am having difficulty setting different library versions and have raised an issue ( Library Problems β†’ ) for that as well.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom bmango

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States jenlampton

    Because this patch fixes the stripe_customer module. and that's part of stripe, I'm going to move it to the other queue.

  • πŸ‡ΊπŸ‡ΈUnited States jenlampton

    It looks like this fix was already included over there, so I'm switching this issue back here, but marking as support/documentation so that it will hopefully help the next person: the solution is to update the stripe module, and this problem should be resolved.

Production build 0.71.5 2024