How to Prefill Email Addresses for Stripe Payment Link Buttons

Payment Link Email is an add-on for the free WordPress Stripe Checkout plugin that can be used to collect email addresses from buyers and prefill on the Stripe payment page. This lets buyers specify their email addresses before clicking on a Stripe payment link button.

prefilled email on the stripe payment page from a payment link button created by the wordpress stripe checkout plugin

When a Stripe payment link button is rendered on the front end with the prefill email feature enabled, an email input field will appear that will let buyers enter an email address.

email input field using the wordpress stripe checkout plugin and its payment link button

How to Enable Prefill Email

If you are using the “wp_stripe_checkout_payment_link” shortcode in the Stripe Checkout plugin, you can change it to the following to enable this feature.

[wp_stripe_checkout_payment_link url="https://buy.stripe.com/live_6gPE4jw7dMbUKdd3345" prefill_email="1"]

Setting the “prefill_email” parameter to “1” implies that you wish to collect email addresses from buyers.

If you would like the email address of a user to be automatically prefilled when they are logged in to WordPress, you can add the “prefill_wp_email” parameter for it.

[wp_stripe_checkout_payment_link url="https://buy.stripe.com/live_6gPE4jw7dMbUKdd3345" prefill_email="1" prefill_wp_email="1"]
prefilled email address of wordpress user using the wordpress stripe checkout plugin and its payment link button

The default label is “Email:”. It can be customized using the “prefill_email_label” paramter.

[wp_stripe_checkout_payment_link url="https://buy.stripe.com/live_6gPE4jw7dMbUKdd3345" prefill_email="1" prefill_email_label="Email Address:"]

Please note that customers will still be able to edit their email addresses on the Stripe payment page (Stripe allows it).

WP Stripe Checkout Payment Link Email
WP Stripe Checkout Payment Link Email
Prefill email addresses for your Stripe checkout payment link buttons.

Limited Time Offer (License: Unlimited Sites + 50% OFF)
Price: $59.99
Price: $29.99

Please contact us if you have any questions about the add-on.

2 thoughts on “How to Prefill Email Addresses for Stripe Payment Link Buttons”

  1. Will the email address be prefilled when a WordPress user is logged in?

    Reply
    • @Richard, Yes as long as you set the prefill_wp_email parameter in the shortcode.

      Reply

Leave a Comment