OptionalallA set of class names that are used to block form submission. This is useful for preventing form submission until certain initializations are complete. For example, Stripe SDK, PayPal SDK, etc.
Note that this indicates if the "cover the fee" block is shown only, not if
the user indicated they accept to actually cover the payment fees. This
boolean is in stored_cover_transaction_fee.
Returns the fee amount - the value which would be added to the payment when supporter chooses to cover transaction fees.
value in currency units, e.g. 1.5 means 1.5 CHF
Returns the calculated fixed fee part. In case the legacy cover fee is used, it returns the legacy fixed fee. Otherwise, it returns the sum of processing, platform and organisation costs fixed fees.
value in currency units, e.g. 1.5 means 1.5 CHF
Returns the calculated percentage fee part. In case the legacy cover fee is used, it returns the legacy percentage fee. Otherwise, it returns the sum of processing, platform and organisation costs percentage fees.
value in percentage, e.g. 3.4 means 3.4%
Calculate adjusted percentage fee part, so that when supporter covers fees, the organisation receives the exact chosen amount after fees are deducted.
value in percentage, e.g. 3.4 means 3.4%
Return the current amount to bill the user. This is based on the user's selected amount plus fees, when applied.
This method must be called only after parser helpers are registered
Optionalamount: string | numberOptionalamount: numberOptionalcurrency: stringOptionalpaymentMethod: stringOptionalpaymentType: stringOptionalpurpose: stringOptionalrecurringInterval: stringOptionalamount: string | numberOptionalcurrency: stringOptionalcustomAmount: stringOptionalpaymentMethod: PaymentMethodOptionalpaymentMethod: PaymentMethodOptionalpaymentType: PaymentTypeOptionalpurpose: stringOptionalrecurringInterval: RecurringInterval
PaymentForm is a class that represents the payment form in the widget. It's data attribute holds the current state of the payment form and works as kind of a global state container. The payment request object is build based on this state - see epmsPaymentRequestData.