StripeUser actionStable

Collect payment (Stripe)

Collect an interactive card payment with Stripe Payment Element for an existing PSP payment.

Overview

Objectif

Collects an interactive Stripe card payment for an already-created Ormuz platform.psp_payment.

The psp_payment remains the sole source of truth for amount and currency; the node creates or reuses the corresponding PaymentIntent and then synchronizes the final result.

When to use

  • In a hosted checkout requiring immediate card payment.
  • After creating a psp_payment in pending status.
  • When the journey must handle Stripe Payment Element and SCA/3DS without delegating checkout to Stripe.

Parameters 7

extension_config_idRequiredref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
psp_paymentRequiredPSP payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.
stripe_customerOptionalStripe customer
Typed Stripe Customer carrying the reusable provider identity associated with an Ormuz company or contact.
titleOptionalstring
Title displayed in the Stripe User Journey to explain the expected action. Default value: Pay securely.
descriptionOptionalstring
Supporting text shown to the user during Stripe collection.
allow_replay_from_hereOptionalboolean
Explicitly allows process replay to restart from this interaction when repeating the Stripe action remains safe. Default value: false.
replay_boundaryOptionalboolean
Marks the interaction as a replay boundary when effects already produced upstream must not be replayed automatically. Default value: false.

Outputs 2

payment_intentStripe payment intent
Typed Stripe PaymentIntent materializing provider execution of the relevant Ormuz payment.
psp_paymentPSP payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.

Behavior

Validate the payment

Rereads the psp_payment, checks its merchant, type, status, amount, and currency.

Create or reuse the PaymentIntent

Associates a card PaymentIntent with the psp_payment using stable idempotency tied to the Ormuz payment identifier.

Collect the payment

Displays Stripe Payment Element in the User Journey; client_secret is supplied only temporarily to the browser.

Verify the result

Rereads the PaymentIntent server-side after confirmation and waits for its correlated Stripe event.

Synchroniser Ormuz

Updates the psp_payment with received amount, payment method, and final status before completing the node.

Process example

PSP payment
Collect payment (Stripe)
Reconcile payment

Example placement of `stripe.collect_payment` in a process with typed bindings.