Recued
Menu
← Back to recipes

Close access on subscription cancellation

by recued-core v1 14 views

Use “Close access on subscription cancellation” in Recued. When a Stripe subscription this server sold is deleted, close the paying customer's access on this door.

Complete workflow

Use Seller Subscription Payment Events in Recued for payment observer and provider source truth. It includes 1 related pack in one install.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Close access on subscription cancellation
This recipe Background automation

Use “Close access on subscription cancellation” in Recued. When a Stripe subscription this server sold is deleted, close the paying customer's access on this door.

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v1

Use “Observe seller subscription payment event” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v1
Renew subscription access order
Background automation

Use “Renew subscription access order” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-eventsrecipe-role:webhookrenewalprovider-source-truth
by recued-core pinned v1

Use “Signal access on subscription payment failure” in Recued. When a Stripe subscription invoice fails to collect, report the subscription's provider-confirmed status against the paying customer's access on this door.

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v1
Swap tier on subscription change
Background automation

Use “Swap tier on subscription change” in Recued. When a Stripe subscription this server sold changes, converge the customer onto the tier their entitlements now say they hold.

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v1
Converge tier on entitlement change
Background automation

Use “Converge tier on entitlement change” in Recued. When a Stripe customer's active entitlement summary changes, converge their access onto the tier those entitlements now say they hold.

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v1
View pack details, dependencies, and permissions →
How it works 32 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (32 steps)
webhook_event ?
profile_exact compare
Check if webhook event delivery profile id is one of stripe.event.v1
decoded_schema_exact compare
Check if webhook event delivery decoded schema id is one of stripe.event.v1
transport_exact compare
Check if webhook event delivery transport assurance is one of authenticated
source_truth_policy_exact compare
Check if webhook event delivery minimum source truth policy is one of provider_readback_required
freshness_exact compare
Check if webhook event delivery freshness checked is one of true
payload_object_exact compare
Check if webhook event payload object is one of event
payload_event_id_exact compare
Check if webhook event payload id is one of webhook event event provider event id
payload_event_type_exact compare
Check if webhook event payload type is one of webhook event event provider event type
envelope_shared_valid all
Check if all conditions are true
door_id trim
Trim whitespace from setting door id
door_id_present compare
Check if door id has data
event_type_supported compare
Check if webhook event event provider event type is one of customer.subscription.deleted
subscription_payload_object_exact compare
Check if webhook event payload data object object is one of subscription
subscription_resource_id_matches compare
Check if webhook event payload data object id is one of webhook event event provider resource id
subscription_id_prefix starts_with
Check if webhook event event provider resource id starts with sub_
subscription_id_truncated truncate
Truncate webhook event event provider resource id to a max length
subscription_id_bounded compare
Check if webhook event event provider resource id is one of subscription id truncated
cancellation_envelope_valid all
Check if all conditions are true
subscription_read ?
skip: step.cancellation_envelope_valid equal false
subscription_object_exact compare
Check if subscription read result object is one of subscription
subscription_id_exact compare
Check if subscription read result id is one of webhook event event provider resource id
subscription_customer default
Apply default
subscription_customer_prefix starts_with
Check if subscription customer starts with cus_
subscription_workflow_key default
Apply default
subscription_is_ours compare
Check if subscription workflow key has data
subscription_ended_at_source compare
Check if subscription read result status is one of canceled
cancellation_proof all
Check if all conditions are true
close_on_cancellation ?
skip: step.cancellation_proof equal false
subscription_still_live_at_source all
Check if all conditions are true
foreign_subscription_ignored all
Check if all conditions are true
event_summary to_summary
Format results as a summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

stripe setting =
door id setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Data it touches

Warehousedata.object

About

Tags

pack:seller-subscription-eventsrecipe-role:webhookpayment-observerprovider-source-truthsellersubscriptiond-196

Details

32 steps 2 configurable settings recipe_id: close-access-on-subscription-cancellation