Getting started with Link

Learn how to integrate Link into your payment flow with PaymentElement for faster checkout. We'll use an express.js backend and a react front end with an existing PaymentElement integration. You'll learn how to add the new LinkAuthenticationElement, and the ShippingAddressElement to smooth onboarding and increase conversions from your customers.

Link is a special payment method type that hooks into Elements using a new email authentication element that sends a one time pin to the customer's phone number. Once authenticated, Elements are populated with the customer's previously saved payment methods and addresses.


### Presenters

CJ Avilla - Developer Advocate at Stripe
Diana Chen - Link Product Marketing at Stripe

### Resources

Stripe: https://www.stripe.com
Link overview: https://stripe.com/docs/payments/link
Accept a payment with Link: https://stripe.com/docs/payments/link/accept-a-payment
Code: https://github.com/cjavilla-stripe/link-in-payment-element
Quick start video: https://www.youtube.com/watch?v=LYRJzu5t3CA

### Table of contents

01:05 What is Link?
04:58 Enable Link payment method type
07:10 Passing beta headers on the server
08:37 Understanding payment method types
10:45 Passing beta headers on the client
13:27 Install authentication element
17:00 Does link persist across Stripe Accounts?
17:41 Install shipping address element
19:45 Pre-fill email address
21:40 Handle email address change events
23:37 Handle shipping address changes
28:13 Merchant domain cookies
41:30 Customer saved data
42:50 Conclusion


### Support

If you have a question, please feel free to reach out to our support team at support.stripe.com or on Discord at stripe.com/go/developer-chat.

### Updates

Sign up to stay updated with developer news: go.stripe.global/dev-digest 

### Feedback

If you have any feedback about this or other episodes, let us know: https://forms.gle/VjNqzRhotM2snYo88
#Stripe #Payments