Recued
Menu
← Back to recipes

Observe seller pass payment event (Lemon Squeezy)

by recued-core v3 105 views

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

Complete workflow

Use Seller One-Time Pass (Lemon Squeezy) in Recued to sell time-boxed passes through Lemon Squeezy's hosted checkout: the order, a per-order price with no catalog product, the payment observer, and the pass issue with its claim link. Access is issued from your pass tier; Lemon Squeezy takes the payment.

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

Observe seller pass payment event (Lemon Squeezy)
This recipe Background automation

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

pack:seller-one-time-pass-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truth
by recued-core pinned v3

Use “Open one-time pass order (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-one-time-pass-lemonsqueezyrecipe-role:origindurable-coordinatorcheckout-create
by recued-core pinned v3

Use “Issue a time-boxed pass for a paid order (Lemon Squeezy)” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:seller-one-time-pass-lemonsqueezyrecipe-role:fulfilmentprovider-source-truthcustomer-access
by recued-core pinned v4
Close a resolved access order
Background automation

Use “Close a resolved access order” in Recued. Owner-attended close for one access order stranded in needsowner - the state a fulfilment leaves behind when the customer access was issued but the claim-link email could not be delivered. Moves needsowner to complete and clears the order error code.

recipe-role:recoveryowner-attendedcustomer-accessorder-lifecycle
by recued-core pinned v3
View pack details, dependencies, and permissions →
How it works 47 steps

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

Process (47 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 fixed
■ payment_order_names_tier compare
Check if payment order read order entitlement key has data
■ 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_checkout_matches compare
Check if order read result data attributes identifier is one of payment order read order provider session id
■ 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-one-time-pass-lemonsqueezyrecipe-role:webhookpayment-observerprovider-source-truthsellerpassone-timeprovider:lemonsqueezyd-196

Details

47 steps recipe_id: observe-seller-pass-payment-event-lemonsqueezy