How do I test the Square payment integration?

  • Profile Image
    Andrew
    Asked on August 16, 2020 at 06:16 PM

    Hi! I just integrated a payment form for square in my form “FB ad landing page sign up form“ and would like to make sure I did so correctly. Here is what I am looking for:

    1. A way to test the form to make sure that the link to my square account is actually working (without paying and refunding myself 🤪)

    2. Be 100% sure that the form is unable to be submitted until valid card information is submitted

    Thank you for your help! 

    Andrew

  • Profile Image
    roneet
    Answered on August 16, 2020 at 10:29 PM

    Please make the payment field a mandatory one so that no user can skip a payment and submit the form.

    15976311471.PNG

    To test the form, you may add a new test product for $1 and then go ahead completing the form with the $1 product selected.

    You may also connect to a Sandbox account if you have any. The Sandbox account is used for testing without actually making the payment.

    https://developer.squareup.com/docs/testing/sandbox

    Let us know if you have further questions.

    Thanks.