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

April 1, 2024

Jotform’s Payment Elements sends its data in a format where labels are present. This isn’t useful if you’re going to create a custom email with the individual payment information. The trick to strip the payment labels would be adding a payment suffix to the payment element tag.

Field tags can be found in your form’s Email Alerts. Here’s how you can do the trick:

  1. In the Form Builder, go to the Settings tab.
  2. Select Emails on the left panel.
  3. Hover your mouse over the Notification Email, and click the Pencil icon to edit.
Edit Notification Emails in the Jotform Form Builder
  1. Look for the field tag of the payment element. In the below example, you’ll see {myProducts}.
Field tag of the payment element in the Notification Email settings of Jotform
  1. Start adding the field tag with the required suffixes. The payment suffixes available are:
    • transactionid
    • total
    • subtotal
    • tax
    • shipping
    • product
    • firstname
    • lastname
    • email
    • addr
    • city
    • state
    • zip
    • country
    • customerid (Stripe)

As mentioned above, if your payment element’s unique name or tag is {myProducts}, simply insert the suffix separated by a colon. 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}.

Payment field tag with individual suffixes in the notification email settings of Jotform

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

Autoresponder Email in Jotform with the individual labels of the payment element

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

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