Showing results for 
Search instead for 
Did you mean: 
Tomorrow morning (8/26) from 07:00 AM - 08:00 AM ET we need to make a few updates to our site. During this time, no emails will be sent and some customers will not be able to access their contacts. We recommend finishing up your work before 07:00 AM and logging in after 08:00 AM ET. Thank you for your patience while we make these updates.

Pass Variable To A Custom Payment Form

Occasional Contributor

Pass Variable To A Custom Payment Form



We would like to send out emails  to our Contacts with a link to a Custom PayPal Payment form. We would like to send to the Payment form the Contact Name and Contact ID from Constant Contact. Can you please help on how to do that. We already have a Constant Contact API Key.



Trusted Contributor

Re: Pass Variable To A Custom Payment Form



Are you creating your emails via the API, or within a Constant Contact account?  If you are creating your emails through the website using our graphical web-based editor, we have an FAQ that describes how to add dynamic links to emails.


Essentially, you already have the contact name, so you would need to add Contact ID in a custom field in each contact's details, and then you can merge the details you want to use into your email along with other portions of the HTML code that will create the hyperlink.  


This can also be done when creating custom-coded emails (XHTML only), through our Advanced Editor in the User Interface, or through the Campaigns API.


If you have questions regarding use of the API to create your emails, I'll be happy to help, but you can get direct assistance from our Customer Support staff on how to create dynamic links (for custom emails, our second-level technical support team can call you and provide a demonstration of this in your account).



Mark Coleman
Support Engineer