Skip to main content

benecaster_stripe_membership_subscription_updated

Action Free

Fires when a Stripe customer.subscription.updated webhook event is received for a built-in membership subscription.

Parameters

Name Type Default Description
$stripe_subscription_id string — Stripe subscription ID
$event \Stripe\Event — Full Stripe event object

Notes

$event is rendered at the Stripe API version of the podcaster's webhook endpoint, which can differ from the version Benecaster's own Stripe calls use. On an endpoint at 2025-03-31.basil or later, a subscription carries its current_period_start and current_period_end on each item rather than at the top level. Use the $stripe_subscription_id argument, which Benecaster resolves from either shape, rather than reading identifiers off $event.

Need this built rather than just documented? See our services →