Commerce Tools

DMoore102
Membre

How to Pass Contact Email to Custom (external) Product Link Thank You Page

Résolue

Hello,

 

We need to access the customer email address on the thank you page for product links.  The thank you page is hosted on our own WordPress website.  How do we go about passing the email to the thank you page URL?

 

Thank you,

Drake

0 Votes
1 Solution acceptée
Josh
Solution
Expert reconnu | Partenaire solutions Diamond
Expert reconnu | Partenaire solutions Diamond

How to Pass Contact Email to Custom (external) Product Link Thank You Page

Résolue

Hi @DMoore102,

 

The payment link functionality is a bit different than the standard form functionality, so I don't believe that it's possible. You would need to pass a dynamic value on a query string for the redirected thank you page. 

If you want to try it on your payment form, here are the steps on how you'd do it on a standard form:

  1. When setting your thank you page, choose redirect to an external URL
  2. Add something like this to your redirected URL: https://YOURDOMAIN.com/your-thankyou-page/?email={{contact.email}}

If it happens to work...awesome, but last I knew you still couldn't pass values through the redirected URL in that manner. Please report back!

 

 

 


Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
Josh
Solution
Expert reconnu | Partenaire solutions Diamond
Expert reconnu | Partenaire solutions Diamond

How to Pass Contact Email to Custom (external) Product Link Thank You Page

Résolue

Hi @DMoore102,

 

The payment link functionality is a bit different than the standard form functionality, so I don't believe that it's possible. You would need to pass a dynamic value on a query string for the redirected thank you page. 

If you want to try it on your payment form, here are the steps on how you'd do it on a standard form:

  1. When setting your thank you page, choose redirect to an external URL
  2. Add something like this to your redirected URL: https://YOURDOMAIN.com/your-thankyou-page/?email={{contact.email}}

If it happens to work...awesome, but last I knew you still couldn't pass values through the redirected URL in that manner. Please report back!

 

 

 


Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

0 Votes