Stripe payment form redirected to thank you page with email param

  • Harry Whelchel
    Asked on February 25, 2021 at 2:43 PM

    I want to have a form I can use again and again to checkout clients / accept payments via Stripe. I want the form to redirect to a thank you page and pass the email address of the client from jotform to the redirect success page. Is that possible?

  • enterprisesupportteam
    Replied on February 25, 2021 at 10:24 PM

    Hello Harry,

    Thank you for contacting JotForm Support.

    If your goal is to display the email address of the individual that submitted your form on the Thank You page, you certainly can do this. To do this, you can go into the Thank You page section in the Settings of the Form Builder and use the "Form Fields" drop-down to include the "Email" in the Thank You message.

    1614309628 603868fcc6a18  Screenshot 10

    However, if the goal is to pass the email from the submitted form over to an empty form, you can do this as well. Form data can be passed from one form to another via URL parameters. In order to pass the data from the same form to itself, you will simply need to use the URL of the current form.

    Related USer Guide - How-to-automatically-pass-form-data-to-another-form

    I hope this helps. Please let us know if I have misunderstood your objective and kindly share some additional details so we can assist you further.

  • harrywhelchel
    Replied on February 25, 2021 at 10:33 PM
    My goal is to pass the email address to a custom thank you page on my
    website: http://harrywhelchel.com/sign-up/thank-you/

    as
    a URL param.
    ...
  • Sam_G
    Replied on February 26, 2021 at 4:58 AM

    Hi Harrywhelchel,

     That is possible by using appending URL parameters to your custom Thank You page URL. For example, you would like to pass the value of the EMAIL field from the form to the EMAIL field you have in your webpage, here's what it looks like:

    https://www.mywebsite.com/customthankyou.html?email={email}

    Where the field highlighted in pink is the email field in your custom page, while the one in blue is the email field of the form.

    You need to set the form to redirect to a different page after submit then place the URL there:

    Stripe payment form redirected to thank you page with email param Image 10

    GUIDERedirecting-Users-to-a-Different-Page 

    To get a field's Unique Name, you can refer to the guide that I'm linking below.


    Related guide: How-to-Find-Field-IDs-and-Names 

  • harrywhelchel
    Replied on February 26, 2021 at 8:55 AM
    Cool great. And this would work even in a payment form that is sending the
    email address to Stripe first?
    ...
  • Sigit JotForm Support
    Replied on February 26, 2021 at 10:00 AM

    Greetings,

    Regarding "And this would work even in a payment form that is sending the email address to Stripe first?"

    Afaik, email address is not part of Credit Card Details sent to Stripe Payment Processor.

    1614351296 60390bc0b4b34  Screenshot 10 But yes, Redirect to external link will work after the form processed the payment.

    Let us know if you have further questions.

    Regards.