What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Braintree integration: Adding or passing custom fields

    Asked by jbasscase on December 31, 2015 at 01:43 PM
    #2.  With Paypal, you showed me how to add a Custom Field where the form field data is passed to the gateway.  How do I do that with Braintree?  I need to make sure the student's name is listed in Braintree- because often times their last name is different than the parent's name who signed them up and it throws off our bookkeeper.
  • Profile Image
    JotForm Support

    Answered by Kevin_G on December 31, 2015 at 04:52 PM


    Thank you for contacting us.

    Yes, you can pass a calculated value as you do with PayPal, just select the option Collect Donations/Custom Amount Payments.

    And then follow this guide in order to pass the value to the payment field  : http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field 

    And then you can calculate the total amount to pay and pass it to the payment field in Braintree.

    Hope this helps.

    Let us know if you have more questions, we will be glad to assist you.


  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 05, 2016 at 06:59 AM


    We do not have a custom fields feature available for Braintree yet. It's a little tricky because Braintree's API requires the custom fields to be manually created on the merchant account before any data is passed.

    I have opened a request ticket for this feature. We cannot guarantee that it will be implemented but we will let you know when it does.


  • Profile Image

    Answered by impcat on October 20, 2016 at 08:32 AM

    Hi Neil,

    I have the very same request re passing a custom text field to Braintree...please let me know if/when you have managed to integrate this...

    I notice in the Braintree integration wizard a field called "Product Description Field"

     If I have a calculation field in a jotform, could I pass it into Braintree inputting the text {calculation} into the field referred to above??

    Would that work?


    Olivier Prouveur

  • Profile Image
    JotForm Support

    Answered by Nik_C on October 20, 2016 at 10:57 AM

    Hello Olivier,

    Regarding this ticket please use this thread for a reference, if the feature is approved and implemented we'll inform you here.

    Regarding your other question I opened a separate thread and you can find it here. We'll attend your question there.

    Please tend to open one thread per question so we can assist you better and avoid any confusion.

    Thank you!

  • Profile Image

    Answered by impcat on October 21, 2016 at 11:21 AM

    Hi Neil,

    Braintree has contacted me separately (I also asked them if a custom field could be passed on) with the following information which could be of interest to you in your implementation of your Braintree payment wizard...hope this helps you implementing custom field in Braintree payments (crucial for me!!)

    Thanks for writing in, happy to clarify.

    When you use Braintree, you can certainly pass in custom values that can be included when creating a transaction or adding a customer to the Vault, and can be stored in the Braintree gateway for reporting purposes.

    There isn’t a way to set up new custom fields via the API, so you’ll need to configure them directly in the Control Panel. When creating a new custom field, you’ll have to choose two names:

    ·         API name: The name passed with your code; as such, it cannot contain any spaces or capital letters

    ·         Display name: What will appear in transaction history and Vault records

    Additionally, there are two types of custom fields:

    ·         Pass-thru fields: These fields are only used with the API. They are designed to pass a value from your checkout form to your servers, where you can store or respond to the data. For example, if you have a checkbox for "Join Mailing List" on your checkout page and you pass this through as a custom field, your servers can respond to this data and add the customer to your mailing list.

    ·         Store-and-pass-back fields: Data in these fields is stored in the customer and transaction details in the Control Panel. It’s also reflected in all downloadable reports related to customer and transaction details. Keep in mind that you can only search for data within the store-and-pass-back field; you won’t be able to search for the field name itself.

    In your case, it sounds like you'll want to choose the store-and-pass-back fields to ensure that when you export your transactional data to a CSV, it'll display as a column.

    To read more about Braintree's Custom Fields, as well as instructions on how to setup these fields, you can checkout this article.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on October 21, 2016 at 12:29 PM


    In order to properly assist you I have moved your last reply to a new thread, it can be found here: https://www.jotform.com/answers/966394 

    We will assist you on that thread as soon as possible. 

  • Profile Image

    Answered by sadchaiz on April 18, 2017 at 04:43 AM

    I believe the requested feature has yet to be implemented. However, I would like to confirm if the only pass-thru field preset is the email address from JotForm to Braintree or is it possible to insert more pass-thru fields like Company Name, Phone No. and etc.

    Furthermore, the name would be the Card Holder name and not the Contact Person name as requested in other sections as picture attached.



  • Profile Image
    JotForm Support

    Answered by Nik_C on April 18, 2017 at 05:05 AM

    Thank you for additional information, your message will reach the developer assigned.