Recued
Menu
← Back to recipes

Close and archive a paid document fulfillment

by recued-core v6 36 views

Use “Close and archive a paid document fulfillment” in Recued. Owner-attended close for one order that never took money: draft, pricing, awaiting payment (verified unpaid at Stripe by a fresh read of its own session), or expired moves to cancelled. A session the provider reports paid refuses loudly - run the payment sweep instead.

Complete workflow

Paid Document Fulfillment 11 pinned recipes

Use Paid Document Fulfillment in Recued for transactional offer, paid workflow, form response, and payment. It includes 10 ready-to-run workflows and 4 related packs 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 and archive a paid document fulfillment
This recipe Background automation

Use “Close and archive a paid document fulfillment” in Recued. Owner-attended close for one order that never took money: draft, pricing, awaiting payment (verified unpaid at Stripe by a fresh read of its own session), or expired moves to cancelled. A session the provider reports paid refuses loudly - run the payment sweep instead.

pack:paid-document-fulfillmentrecipe-role:reconcilerlifecycled-200
by recued-core pinned v6

Use “Start paid document fulfillment” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentform-response-templaterecipe-role:origindurable-coordinator
by recued-core pinned v22

Use “Reconcile document payments against Stripe” in Recued. Owner-attended payment sweep - the manual safety net under the webhook observer.

pack:paid-document-fulfillmentrecipe-role:reconcilerpayment-observerprovider-source-truth
by recued-core pinned v13

Use “Reconcile a paid document refund” in Recued. Owner-attended refund close for one order.

pack:paid-document-fulfillmentrecipe-role:reconcilerprovider-source-truthd-200
by recued-core pinned v5

Use “Inspect a paid document dispute” in Recued. Owner-attended read-only inspection binding one Stripe Dispute to one order.

pack:paid-document-fulfillmentrecipe-role:inspectorprovider-source-truthd-200
by recued-core pinned v5

Use “Generate paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:fulfillmentowner-attendedexact-artifact-generation
by recued-core pinned v11
Show all 11 recipes

Use “Review paid document artifacts” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:reviewowner-attendedchat-exposed
by recued-core pinned v12

Use “Approve and deliver paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:deliveryowner-attendedexact-artifact-delivery
by recued-core pinned v11

Use “Reconcile paid document delivery” in Recued. Owner-attended mail-claim reconciliation for one order's two sends: the checkout-link mail (start) and the delivery mail (approve-deliver).

pack:paid-document-fulfillmentrecipe-role:reconcilermaild-200
by recued-core pinned v5

Use “Reject or cancel paid document” in Recued. It carries out the named workflow using the connections and settings you choose.

pack:paid-document-fulfillmentrecipe-role:actionowner-attendedmanual-user-only
by recued-core pinned v5
View pack details, dependencies, and permissions →
How it works 22 steps

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

Process (22 steps)
■ submission_id trim
Trim whitespace from setting submission id
■ submission_id_present compare
Check if submission id has data
⚠ submission_id_guard guard
Stop if submission id present equals
◆ order_lookup core.seller.order.list
List seller order
■ order_present compare
Check if order lookup orders 0 exists
⚠ order_missing_guard guard
Stop if order present equals
■ order_ambiguous compare
Check if order lookup orders 1 exists
⚠ ambiguous_order_guard guard
Stop if order ambiguous equals
■ already_closed compare
Check if order lookup orders 0 phase is one of complete,cancelled,refunded
■ close_allowed compare
Check if order lookup orders 0 phase is one of draft,pricing,awaiting_payment,expired
■ close_blocked all
Check if all conditions are true
⚠ unsafe_close_guard guard
Stop if close blocked equals
■ phase_awaiting compare
Check if order lookup orders 0 phase is one of awaiting_payment
■ checkout_attached compare
Check if order lookup orders 0 provider session id exists
■ verify_required all
Check if all conditions are true
◆ close_session_read recued-core.seller-stripe.checkout.session.read
Read checkout session on seller stripe
skip: step.verify_required equal false
■ session_paid_at_provider compare
Check if close session read result payment status is one of paid
■ paid_close_blocked all
Check if all conditions are true
⚠ paid_close_guard guard
Stop if paid close blocked equals
◆ cancel_transition core.seller.order.transition
Transition seller order
skip: step.close_allowed equal false
■ close_outcome ternary
Apply ternary
■ close_notice template
Generate text from a template
▼
Output
text close_notice
Settings 1 configurable

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

submission id setting = [object Object]

Uses (3 operations)

Selling List seller order core.seller.order.list
Pack operation Read checkout session on seller stripe recued-core.seller-stripe.checkout.session.read
Selling Transition seller order core.seller.order.transition

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 Selling core.seller.order.list read-only
Write Selling core.seller.order.transition external change

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

Data it touches

SurfacesSelling

About

Tags

pack:paid-document-fulfillmentrecipe-role:reconcilerlifecycled-200d-207

Details

22 steps 1 configurable settings recipe_id: close-archive-paid-document-fulfillment