StripeUser actionStable

Collect payment (Stripe)

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

Vue d’ensemble

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.

Quand l’utiliser

  • 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_idRequisref(extension_config:stripe)
Active Stripe configuration used for the provider call. Merchant remains derived from process context.
psp_paymentRequisPSP payment
Canonical Ormuz PSP payment carrying amount, currency, and business attachments synchronized with Stripe.
stripe_customerOptionnelStripe customer
Typed Stripe Customer carrying the reusable provider identity associated with an Ormuz company or contact.
titleOptionnelstring
Title displayed in the Stripe User Journey to explain the expected action. Valeur par défaut : Pay securely.
descriptionOptionnelstring
Supporting text shown to the user during Stripe collection.
allow_replay_from_hereOptionnelboolean
Explicitly allows process replay to restart from this interaction when repeating the Stripe action remains safe. Valeur par défaut : false.
replay_boundaryOptionnelboolean
Marks the interaction as a replay boundary when effects already produced upstream must not be replayed automatically. Valeur par défaut : 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
Collecter un paiement (Stripe)
Reconcile payment

Exemple de placement de `stripe.collect_payment` dans un process avec des bindings typés.