Braintree integration: Adding or passing custom fields

  • jbasscase
    Asked on December 31, 2015 at 1: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.
  • Kevin Support Team Lead
    Replied on December 31, 2015 at 4:52 PM

    Hi,

    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.

    Braintree integration: Adding or passing custom fields Image 1 Screenshot 20

    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.

    Regards.

  • NeilVicente
    Replied on January 5, 2016 at 6:59 AM

    @jbasscase

    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.

    Cheers!

  • impcat
    Replied on October 20, 2016 at 8: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?

    Thanks

    Olivier Prouveur

  • Nik_C
    Replied 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!

  • impcat
    Replied 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.




  • Kevin Support Team Lead
    Replied on October 21, 2016 at 12:29 PM

    @impcat,

    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. 

  • sadchaiz
    Replied on April 18, 2017 at 4: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.

    Braintree integration: Adding or passing custom fields Image 1 Screenshot 20

     

     

  • Nik_C
    Replied on April 18, 2017 at 5:05 AM

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

    Cheers!

  • NeilVicente
    Replied on May 16, 2017 at 12:36 PM

    Hi there,

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

    Braintree integration: Adding or passing custom fields Image 1 Screenshot 20

     

    We do pass the credit card holder's name as the "Customer Name" in Braintree. As for phone and company name, we have opened a request ticket to have them added. 

    Please do note, however, that we cannot guarantee the date when they will be implemented, if at all. 

    In any case we will inform you of updates via the said ticket.

    Best,