The component allows to accept a Payment from a custom LWC component.
It creates an incomplete Payment Intent using the provided amount (from the numeric attributte or from the record field) and captures a Payment Method. The allowed payment method types can be configured with the attribute, there is an option to provide a customer and show the existing payment methods.
This component can be suitable for Experience Cloud page in the custom LWC components to accept the payment for the Salesforce records.
For example, the experienc cloud page can show the Event details, the Event record has an attendence Cost filed to be an Amount for the Payment. The component handles the Payment with Stripe.js and connected Stripe Dashboard, providing the events as well as able to store the Payment Intent Id and Success/Error status + details on the Salesforce record.