Skip to main content

<primer-billing-address>

Collects customer billing address during card payment flows. Validates based on your Dashboard configuration.

Quick Reference


Examples

In Custom Layout


Configuration

Configure in your Primer Dashboard:
  • Required vs optional fields
  • Validation rules
  • Country restrictions
  • Field display order
See Capturing Billing Address for setup.
Note: Component only renders if enabled in Dashboard.

Modes


Events

<primer-billing-address> does not emit its own events. Validation is triggered by the parent <primer-card-form> during submission.

Relevant Parent Events


CSS Properties


States


Usage Guidelines

Do

  • Place inside <primer-card-form>
  • Configure required fields in Dashboard
  • Enable in Dashboard before using

Don’t

  • Don’t expect rendering without Dashboard configuration
  • Don’t place outside card form context

Content Guidelines

Labels

International considerations

Error messages


See also

primer-card-form

Parent container

Capturing billing address

Dashboard setup