Nouns

<Prompt>

Customise a built-in <Pay> prompt for a specific capture step.

Used inside <Pay>.

Example

<Pay paymentConnector="my-connector">
  <Prompt for="payment-card-number" attempt="2">
    <Say>That number didn't validate. Please re-enter your card number.</Say>
  </Prompt>
</Pay>

Attributes

Attribute Default Behaviour
for unset Which capture step this prompt replaces: payment-card-number, expiration-date, security-code, postal-code, bank-routing-number, bank-account-number, or payment-processing.
errorType unset Restrict the prompt to a specific error condition.
cardType unset Restrict the prompt to a specific card network.
attempt unset Restrict the prompt to a specific attempt number.

Nesting

<Prompt> accepts these nested elements: