How to Strip Payment Labels and Separate Payment Info on Email Alerts

March 16, 2023

You can now strip payment labels from an email notification by adding a payment suffix in the payment element tag. This way you can freely separate each payment info without its labels. This is useful if you’re going to create a custom email message with the tags.

Field tags can be found in your form’s Email Alerts, in your form’s Settings, select the Emails tab, hover over the Email Notification or Email Alert and click on the edit (pencil) icon:

How to Strip Payment Labels and Separate Payment Info on Email Alerts Image-1

Once you opened your Email Alert, you can simply get them under the Form Fields dropdown list shown in the text editor.

How to Strip Payment Labels and Separate Payment Info on Email Alerts Image-2

The payment suffixes available are:

  • transactionid
  • total
  • subtotal
  • tax
  • shipping
  • product
  • firstname
  • lastname
  • email
  • addr
  • city
  • state
  • zip
  • country
  • customerid (Stripe)

For example, if your payment element’s unique name or tag is {myProducts}, simply insert the suffix separated by a colon.

How to Strip Payment Labels and Separate Payment Info on Email Alerts Image-3

So if you’re going to display only the product total, it becomes {myProducts:total}. Likewise, if you want to display only the PayPal transaction ID, the tag will be {myProducts:transactionid}.

You can also construct a custom letter with the tags, for example:

How to Strip Payment Labels and Separate Payment Info on Email Alerts Image-4

Here’s a demo form to see it in action: https://www.jotform.com/220113682157954

If you have difficulties understanding the guide, feel free to post a comment below.

Academy Logo

Introduction to Form Building

Emails

Go to course :Emails
lesson-2 - image
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • joshua leupolz - Profile picture
  • Joe - Profile picture