How to pass custom data to Stripe?

  • Profile Image
    Asked on June 09, 2020 at 08:03 PM
    I have one more problem.
    My guest booked already a Vacationvhome before they fill that form. That
    means there is already a booking number pre-filled when the guest get the
    link to this form by email.
    I want that this pooking number get passed over to the payment field as
    well and I should see this later by stripe as a reference when the guest
    paid. I need this booking number as a reference by stripe to get it booked
    to the right group in our booking software.
    How can i get this done ???
    many thanks
  • Profile Image
    Answered on June 09, 2020 at 08:26 PM

    It's possible to pass custom field data to Stripe; however, this feature only support certain fields, in order to pass the "Booking number", you will need to do the following:

    1. First, add a short text entry field to your form where you will capture the current booking number on your form:


    2. Pass the value from the booking number field to the newly added field, this guide will help you to do so:

    3. The last step is to pass this field to the Stripe integration, you can do this by turning on the "Ask billing information to customer" option and selecting the newly added field on the "Custom data field" dropdown:



    You will find these options on the payment field wizard:


    I hope this helps. 

  • Profile Image
    Answered on June 10, 2020 at 06:28 PM
    Hi Kavin, many thanks it works and it was easy. But there is the next
    problem. The conditional logic is not working any more.
    I want to add (total in $) and Rental Car total and then pass the sum to
    the "Total Charge "
    Nothing is coming up ???? what's wrong. I need to get my total there
    many thanks
    [image: image.png]
  • Profile Image
    Answered on June 10, 2020 at 07:56 PM

    This happens due to the same reason explained on your original ticket here: 

    Conditions cannot insert values to the payment field, instead, you need to use a Form Calculation widget and then pass that field to the payment section. 

    Here are some steps you can follow: 

    1. Disable this condition:


    2. Add the Form Calculation widget, you will find it under the widgets tab of the add form element section, and include the fields in the sum:


    This guide will provide you more details about this:

    3. The final step is to pass the data from the Form Calculation widget to the payment field, you may refer to this guide for detailed steps:

    If you have any questions, let us know. 

  • Profile Image
    Answered on June 10, 2020 at 09:28 PM
    Hi Kevin ,
    many thanks. it works . I wish you a great evening .