Change Log

  • All new article

Contributors:

Adam Wilson - Logo Pogo

payment_form_fields

This component is used to render payment fields, and payment related validation errors, within a form using the capabilities provided by your configured payment gateway.

This component is intended to be output within a payment form and requires various other elements and scripts generated with such a form in order to display and function correctly.

This component cannot be modified via custom layouts or passed to a collection variable.

{% component type: "payment_form_fields", formAlias: "<form_alias>" %}

Parameters and Options

Parameter
Values
Required
Description
type
payment_form_fields

This is the name of the entity that needs to be used for the component retrieving function.

formAlias
<form_alias>
The alias name of the Form being used for payment collection.

Virtual Layout

This component is rendered via a default virtual layout that will output as per the following:

<div id="paymentFields_{0}"></div>
<input type="hidden" name="Payment_Data"/>
<div id="paymentErrors_{0}" role="alert"></div>