Contact Details Element
How ngx-stripe and Stripe.js fit together
Happy to help with either — this note just points you to the fastest answer. ngx-stripe wraps Stripe.js for Angular (DI, Observables, CDN loading, Element hosts). Stripe.js owns Element appearance, payment methods, validation copy, and PCI. For styling, placeholders, installments, and Element options, Stripe’s docs are usually the best first stop; for Angular setup and our components, you’re in the right place. See also FAQs, CSP, and Stripe.js.
Collect customer contact details (email) inside Elements.
Stripe.js type
Options and appearance:
Dahlia+ (ngx-stripe 21.9 / 22.9). Stripe’s current name for the Link email Element (was Link Authentication). Listen to (change) for complete / value. Prefer this over ngx-stripe-link-authentication for new work.
Set
Using the Element
@if (elementsOptions.clientSecret) {
<ngx-stripe-elements
[stripe]="stripe"
[elementsOptions]="elementsOptions"
>
<ngx-stripe-contact-details [options]="options" />
</ngx-stripe-elements>
}