Overview
The Payment Request Button Web Control is used to request a payment from the user. It is tied to the browser's implementation of payment options, so it may not work in all browsers.
Control Properties
Datasource ID
A Stripe Integration connected to the account to process the payment.
Api Key
This is the Publishable API key from the Stripe Account. The Private key is used in the Datasource.
Currency
The Currency amount to collect.
Description
The memo line to be recorded if the payment is successful on the payment processor.
Actions
Submit Successful
Action chain triggered if the payment is successfully submitted through the payment processor.
Submit Failed
Action chain triggered if the payment is unsuccessful when attempted.
Styling
Only the layout spacing can be adjusted on the payment button. Check the spacing section on spacing in the inspector under Style,
Example 1: Request payment for overdue book fees:
Add a Payment Request Button to a Web Flow. Select a Stripe Datasource from the dropdown and paste in a publishable key. Set the amount to be collected and the Description.