Sign In

Stripe Payment

An embedded Stripe checkout field for collecting one-time payments, subscriptions, or saving payment methods.

The Stripe Payment field embeds a Stripe checkout experience directly inside your form. It supports one-time payments, recurring subscriptions, and setup mode for saving payment methods without an immediate charge. The field requires a connected Stripe credential and produces structured output data that can be used in workflow edge conditions.

Configuration

PropertyTypeDefaultDescription
labelstring--Label text displayed above the payment field
widthLayoutWidth"full"Horizontal space the field occupies
credentialIdstring--ID of the connected Stripe credential
modeStripePaymentMode--Payment mode: "payment", "setup", or "subscription"
amountnumber--Payment amount in the smallest currency unit (e.g. cents)
dynamicAmountstring--Expression for computing the amount dynamically from other field values
currencystring--Three-letter currency code (e.g. "usd", "eur", "gbp")
productNamestring--Name of the product or service being purchased
productDescriptionstring--Description shown in the checkout
allowPromotionCodesboolean--Whether to allow coupon/promo codes at checkout
collectBillingAddressboolean--Whether to collect the customer's billing address
collectShippingAddressboolean--Whether to collect the customer's shipping address
successUrlstring--Redirect URL after successful payment (for hosted checkout)
cancelUrlstring--Redirect URL if the user cancels payment (for hosted checkout)
buttonTextstring--Custom text for the pay button
showAmountboolean--Whether to display the payment amount on the button
useEmbeddedCheckoutboolean--Whether to use Stripe Embedded Checkout instead of redirect
onCompleteOnCompleteAction"auto"Action after payment completes: "auto", "next", "submit", or "none"

Stripe Connect (Payout) Settings

PropertyTypeDescription
destinationAccountIdstringConnected Stripe account ID for direct payouts
platformFeePercentnumberPlatform fee as a percentage of the payment amount
platformFeeFixednumberFixed platform fee in the smallest currency unit

Payment Modes

  • payment -- Collect a one-time payment. The customer is charged immediately.
  • subscription -- Set up a recurring subscription. Requires a Stripe Price or Product.
  • setup -- Save a payment method for future use without charging the customer.

Output Data

After a payment attempt, the field produces structured output that can be used in workflow edge conditions:

Output KeyTypeDescription
statusenumPayment result: "success", "failed", "canceled", "requires_action", or "processing"
amountnumberCharged amount in the smallest currency unit
currencystringThree-letter currency code
paymentIntentIdstringStripe PaymentIntent ID
checkoutSessionIdstringStripe Checkout Session ID
paymentMethodenumMethod used (e.g. "card", "bank_transfer", "klarna", "link")
cardBrandenumCard brand if paid by card ("visa", "mastercard", "amex", etc.)
cardLast4stringLast four digits of the card
customerEmailstringCustomer's email address
customerIdstringStripe Customer ID
errorCodeenumError code on failure (e.g. "card_declined", "insufficient_funds")
errorMessagestringHuman-readable error description

Example Usage

A simple one-time payment field:

{
  "type": "stripePayment",
  "label": "Payment",
  "mode": "payment",
  "amount": 2999,
  "currency": "usd",
  "productName": "Pro Plan",
  "productDescription": "Annual subscription to the Pro plan",
  "showAmount": true,
  "buttonText": "Pay $29.99",
  "collectBillingAddress": true,
  "onComplete": "next"
}

On this page

Stripe Payment | Buildorado