How can I pass a form calculation value to Square?

  • Profile Image
    Chafetz
    Asked on July 31, 2019 at 12:39 PM

    I'm trying to set up square as my payment method on the form. I've selected 'user defined amount' and set the 'get price' to the calculations I had made earlier in the form. However, the price isn't showing up on the square widget; it is requiring me to enter the amount manually which I don't want. How can I fix this?


    thanks

  • Profile Image
    JohnRex
    Answered on July 31, 2019 at 01:02 PM

    I have inspected your form and saw that the Get Price From option not yet configured:

    1564592287get price.PNG

    Kindly click the dropdown and select the "Total Price", so when that field's value will be passed to the payment integration. This option will also prevent the user from manually entering an amount into the payment field.

    1564592345get price 2.png

    Also, Square integration is not yet configured on your form. You may refer to this guide on How-to-Integrate-Form-with-Square.

  • Profile Image
    Chafetz
    Answered on July 31, 2019 at 01:43 PM
    I did this and it still doesn't work
    ...
  • Profile Image
    JohnRex
    Answered on July 31, 2019 at 02:15 PM

    I have cloned your form and implemented this workaround. It seems to work fine on my end. The Total Price value is being passed to the Payment filed without issues:

    1564596738passing value to square.gif

    If you'll allow us to edit your form to implement this, please let us know. Also, kindly configure the Square payment gateway on your form.

  • Profile Image
    Chafetz
    Answered on July 31, 2019 at 02:43 PM
    Yes I allow you to edit my form as it's still not working on my end. Also I
    just made a quick account on square just to see if it works because I'm
    making this form for someone else who will later set up his own account.
    ...
  • Profile Image
    JohnRex
    Answered on July 31, 2019 at 03:56 PM

    I have opened your actual form and saw that Square integration is not yet set up. Please configure it with your Square account so we could implement the workaround. It won't work if the integration is not yet configured.

    1564603005no square.PNG

    Please let us know if you're done with the integration so we could begin editing it.

  • Profile Image
    Chafetz
    Answered on July 31, 2019 at 04:47 PM

    I did it. 

    I've also been connecting with it and then I leave the site and come back and it is disconnected again. Hopefully it works this time.

  • Profile Image
    JohnRex
    Answered on July 31, 2019 at 05:13 PM

    Apologies but as checked, it is still not connected to your Square account. Please ensure that you're clicking the SAVE button at the bottom to save the configuration. 

    You might have missed clicking this one reason why the set up was not saved when you exit the configuration panel:

    1564607588savebutton.PNG


  • Profile Image
    Chafetz
    Answered on July 31, 2019 at 05:19 PM

    Ok, so I feel really stupid. I didn't even notice the save button. Everything is working now- thanks so much!

  • Profile Image
    JohnRex
    Answered on July 31, 2019 at 05:25 PM

    Good to know that it works on your end now.

    Let us know if you need further assistance on this concern.