Recued
Menu
← Back to recipes

Observe seller subscription payment event (Lemon Squeezy)

by recued-core v4 49 views

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

Complete workflow

Use Seller Subscription Payment Events (Lemon Squeezy) in Recued for payment observer and provider source truth over Lemon Squeezy subscriptions. 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.

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

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v4

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

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookrenewalprovider-source-truth
by recued-core pinned v3

Use “Signal access on payment failure (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Close access on subscription cancellation (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Pause access on subscription pause (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Resume access on subscription resume (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3
Show all 7 recipes

Use “Swap tier on subscription change (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3
View pack details, dependencies, and permissions →
How it works 45 steps

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

Process (45 steps)
◆ webhook_event core.webhook.event.get
Get webhook event
■ profile_exact compare
Check if webhook event delivery profile id is one of lemonsqueezy.webhook.v1
■ decoded_schema_exact compare
Check if webhook event delivery decoded schema id is one of lemonsqueezy.webhook.v1
■ transport_exact compare
Check if webhook event delivery transport assurance is one of authenticated
■ source_truth_policy_exact compare
Check if webhook source truth policy is one of provider_readback_required
■ payload_event_type_exact compare
Check if webhook event payload meta event name is one of webhook event event provider event type
■ payload_resource_id_exact compare
Check if webhook event payload data id is one of webhook event event provider resource id
■ payload_resource_type_exact compare
Check if webhook event payload data type is one of orders
■ envelope_shared_valid all
Check if all conditions are true
■ payment_event_type compare
Check if webhook event event provider event type is one of order_created
■ payment_order_id template
Generate text from a template
■ payment_order_id_present compare
Check if payment order id has data
■ payment_order_id_truncated truncate
Truncate payment order id to a max length
■ payment_order_id_bounded compare
Check if payment order id is one of payment order id truncated
■ order_handle_prefix starts_with
Check if webhook event payload meta custom data recued order handle starts with oh_
■ order_handle_truncated truncate
Truncate webhook event payload meta custom data recued order handle to a max length
■ order_handle_bounded compare
Check if webhook event payload meta custom data recued order handle is one of order handle truncated
■ payment_envelope_valid all
Check if all conditions are true
◆ payment_order_read core.seller.order.get
Get seller order
skip: step.payment_envelope_valid equal false
■ payment_order_found compare
Check if payment order read order exists
■ payment_phase_eligible compare
Check if payment order read order phase is one of awaiting_payment
■ payment_already_paid compare
Check if payment order read order phase is one of paid,fulfilling,approved,delivering,complete
■ payment_provider_matches compare
Check if payment order read order provider is one of lemonsqueezy
■ payment_workflow_key_matches compare
Check if webhook event payload meta custom data recued workflow key is one of payment order read order order key
■ payment_order_kind_matches compare
Check if payment order read order pricing kind is one of recurring
■ payment_read_allowed all
Check if all conditions are true
◆ order_read recued-core.seller-lemonsqueezy.order.read
Read order on seller lemonsqueezy
skip: step.payment_read_allowed equal false
■ order_id_matches compare
Check if order read result data id is one of payment order id
■ order_type_exact compare
Check if order read result data type is one of orders
■ order_paid compare
Check if order read result data attributes status is one of paid
■ order_customer_id template
Generate text from a template
■ order_customer_id_present compare
Check if order customer id has data
■ order_customer_id_truncated truncate
Truncate order customer id to a max length
■ order_customer_id_bounded compare
Check if order customer id is one of order customer id truncated
■ order_net_amount math
Calculate order read result data attributes subtotal minus order read result data attributes discount total
■ order_currency_lower lowercase
Convert order read result data attributes currency to lowercase
■ order_amount_matches compare
Check if order net amount equals payment order read order amount minor
■ payment_order_currency_lower lowercase
Convert payment order read order currency to lowercase
■ order_currency_matches compare
Check if order currency lower equals payment order currency lower
■ payment_confirm_allowed all
Check if all conditions are true
◆ confirm_payment core.seller.order.confirm-payment
Confirm payment seller order
skip: step.payment_confirm_allowed equal false
■ payment_advanced compare
Check if confirm payment order phase is one of paid
■ payment_source_mismatch all
Check if all conditions are true
■ payment_phase_ineligible all
Check if all conditions are true
■ event_summary to_summary
Format results as a summary card
▼
Output
summary event_summary

Uses (4 operations)

Webhooks Get webhook event core.webhook.event.get
Selling Get seller order core.seller.order.get
Pack operation Read order on seller lemonsqueezy recued-core.seller-lemonsqueezy.order.read
Selling Confirm payment seller order core.seller.order.confirm-payment

Trust & control

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

What it's allowed to do

Read Webhooks core.webhook.event.get read-only
Read Selling core.seller.order.get read-only
Write Selling core.seller.order.confirm-payment external change

1 more isn't listed here. You'll see it at install.

Data it touches

SurfacesWebhooksSelling
Warehousedata.iddata.typedata.attributes

About

Tags

pack:seller-subscription-payment-events-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truthsellersubscriptionprovider:lemonsqueezyd-196

Details

45 steps recipe_id: observe-seller-subscription-payment-event-lemonsqueezy