Fields

Payment

Payment is the field markup that wraps provider-backed payment UI such as Stripe, PayPal, Square, and other gateway-specific mounts.

Use this page to preserve the field container and provider placeholders while letting the provider modules own the embedded payment UI itself.

Preview

Attributes

AttributePurposeImportance
data-formie-field-type="payment"Payment field discovery hookRequired
data-formie-stripe-elements-placeholder / related provider placeholdersProvider mount targetsRequired for the matching provider
data-formie-paypal-buttonPayPal button placeholderRequired for PayPal
Standard field layout and messagesShared validation and submit-state surfaceRequired

Behavior

Payment behavior is owned by the payment module stack rather than one small field module:

  • provider modules mount their UI inside the payment field
  • payment actions participate in the submit lifecycle
  • provider-specific events are exposed through the public JavaScript event surface
Last updated: May 6, 2026, 3:46 PM