Sign In

PayPal Payment

An embedded PayPal checkout field for collecting payments with customizable button appearance and funding sources.

The PayPal Payment field embeds a PayPal checkout experience directly inside your form. It supports both capture and authorize payment intents, configurable button styling, and funding source controls. The field requires a connected PayPal credential and produces structured output data for use in workflow conditions.

Configuration

PropertyTypeDefaultDescription
labelstring--Label text displayed above the payment field
widthLayoutWidth"full"Horizontal space the field occupies
credentialIdstring--ID of the connected PayPal credential
merchantIdstring--PayPal merchant account ID
clientIdstring--PayPal client ID (for SDK initialization)
amountnumber--Payment amount
dynamicAmountstring--Expression for computing the amount dynamically from other field values
currencystring--Three-letter currency code (e.g. "USD", "EUR")
productNamestring--Name of the product or service being purchased
productDescriptionstring--Description shown during checkout
intentstring--Payment intent: "capture" (charge immediately) or "authorize" (hold funds)
enableFundingstring[]--Funding sources to enable (e.g. ["venmo", "paylater"])
disableFundingstring[]--Funding sources to disable
buttonTextstring--Custom text for the payment button
buttonColorstring--Button color: "gold", "blue", "silver", "white", or "black"
buttonShapestring--Button shape: "rect" or "pill"
buttonLayoutstring--Button layout: "vertical" or "horizontal"
showAmountboolean--Whether to display the payment amount on the button
onCompleteOnCompleteAction"auto"Action after payment completes: "auto", "next", "submit", or "none"

Payout Settings

PropertyTypeDescription
payeeEmailstringEmail address of the payment recipient
platformFeePercentnumberPlatform fee as a percentage of the payment amount
platformFeeFixednumberFixed platform fee amount

Payment Intents

  • capture -- The customer is charged immediately when payment is authorized.
  • authorize -- Funds are held on the customer's account but not captured until you explicitly capture them.

Output Data

After a payment attempt, the field produces structured output:

Output KeyTypeDescription
statusenumPayment result: "success", "failed", "canceled", or "pending"
orderIdstringPayPal order ID
transactionIdstringPayPal transaction ID
amountnumberCharged amount
currencystringThree-letter currency code
payerEmailstringPayer's email address
payerIdstringPayPal payer ID
errorMessagestringHuman-readable error description on failure

Example Usage

A PayPal payment button with gold styling:

{
  "type": "paypalPayment",
  "label": "Pay with PayPal",
  "amount": 49.99,
  "currency": "USD",
  "productName": "Premium Membership",
  "intent": "capture",
  "buttonColor": "gold",
  "buttonShape": "pill",
  "buttonLayout": "horizontal",
  "showAmount": true,
  "onComplete": "submit"
}

On this page

PayPal Payment | Buildorado