How do I set up Stripe payment in an Action Flow?
To set up a Stripe one-off payment:
- Add a Payment action to a button or another component’s Trigger.
- Set Payment type to One-Off Payment, choose your Stripe Payment configuration, and select Element as the Payment product.
- Provide the required payment inputs:
- Order id: the ID of the order record in the bound order table.
- Currency: a Stripe-supported currency code, such as
USD. - Amount: the amount in the currency’s smallest unit. For example,
1000charges USD 10.00. - Product name and Product description are optional.
- To handle a payment result, under Configuration → Payment result handling, bind an Actionflow to each payment event. Add an Integer input named
payment_idand bind it to Payment callback → Payment → id.
See the Stripe payment guide and payment overview.