Create a calculation field value and pass it to total.

  • Profile Image
    Asked on March 08, 2018 at 04:47 PM


    I have a problem with the Paypal Integration.

    I would like that the service specified and selected on my first page + Paypal preference chosen would be automatically the product for Paypal too.

    I do not want to see all options, because customers already choose the option when they choose for the shuttle services on first page, and because I cannot create more than one paypal block, I'm very confused regarding the right way to create and build it.

    So let's say...

    page one customer choose Nosara to/from Liberia at $130. There are other options offered for other shuttle services. They chose one depending on their needs.

    Then they choose Cash or Paypal payment preference - then chose Paypal would redirect to the Paypal block payment and they would only see one line for their selected shuttle. Not all the options that I offer.


    Thanks for helping me!!!!

  • Profile Image
    Answered on March 08, 2018 at 06:19 PM

    Here's what you need to do.

    1. Add a calculation value to the fields so when user selects ex. Nosara to/from Liberia at $130.


    2. Add a form calculation widget to get the value of the "Shuttle Services" field



    3. Create a User Defined Amount for your PayPal payment


    4. Get the price of the form calculation widget that you have added


    Please check my sample form here

  • Profile Image
    Answered on March 15, 2018 at 03:38 PM

    You can add additional number field to your form were the users can enter the number of people and add that field to your calculation.


    The Default value of the this field should be set to 1.


    You can set the condition to show that field only when Shared Shuttle Nosara option is selected.


    Here is my demo form: 

    Feel free to test it and clone it

  • Profile Image
    Answered on March 16, 2018 at 02:06 PM

    Hi Joanna, Thanks for your help

    The thing is that I want to # of passengers to be applied ONLY for the shared shuttle at 40$/pp.

    Other services - the price do not change and stays the same for 1 or 6 people...

    Can you please help me with that?

    Thank you

  • Profile Image
    Answered on March 16, 2018 at 02:40 PM

    Have you tested my form? 

    The price will remain the same for other services. The number field where users can select the # of passengers will be shown only when 'Shared Shuttle Nosara to/from Liberia $40pp' option is selected. If any other option is selected the field with the # of passengers will not be shown.

    I added one additional condition to the form that will refresh the # of passengers to 1 if the option Shared Shuttle is not selected. 



    If my form is not working like you wanted, please tell us which part is not working correctly and how it should work exactly. 

  • Profile Image
    Answered on March 16, 2018 at 03:20 PM

    Ok thank you. 

    I would also like to add a 6% tax to the total when people pay with Paypal.

    Do you know how I could add this value?

    Thank you very much

  • Profile Image
    Answered on March 16, 2018 at 05:11 PM

    Of course,

    You need to create an additional field to hold total before sending it to PayPal.

    This field would get the total from "Shuttle services total" based on a condition if the payment preference is not equal to PayPal, and to multiple the "Shuttle services total" by 1.06 if the PayPal is selected:


    Here is my test form:

    Feel free to clone it!

  • Profile Image
    Answered on March 19, 2018 at 04:57 PM

    Hi ! 

    I would also have some help for something.

    What are your solutions for the following problem >>

    I want PAYPAL option to be set by default ONLY when Shared Shuttle Services Liberia-Nosara at 40$pp is selected as Shuttle Service.

    The solution I found is this one... (see attached screen shot) - THANKS1521493055paypal for payment reference.p

  • Profile Image
    Answered on March 19, 2018 at 06:14 PM

    When you say set by default, do you mean to say that you want the field to be enabled when "Shared Shuttle Services Liberia-Nosara" is selected? If so, the condition you need to select is the "Enable/Require field"


    The masking will actually add a masking character. Is that what you need? Please refer to our guide here so you can check.

    Looking forward for your response. 

  • Profile Image
    Answered on March 22, 2018 at 05:52 PM

    In fact,

    I want Paypal to be set by default when people choose Shared Shuttle Service.

    I do not want that the CASH and CREDIT CARD options appear.

    Thank you very much


  • Profile Image
    Answered on March 22, 2018 at 09:43 PM

    You may handle this with the show/hide conditions, this way you can show options only when the desired option is selected, this guide will help you doing so: 

    I hope this helps.