Square payment: Either card_nonce or customer_card_id must be set error showing upon trying to submit form.

  • Profile Image
    cordovacouncil
    Asked on April 03, 2019 at 01:21 AM

    Message: Either card_nonce or customer_card_id must be set.

    I updated it with an Authorize.net widget to Stripe. Is that the problem?

  • Profile Image
    Nik_C
    Answered on April 03, 2019 at 03:32 AM

    Your form is in Test mode:

    15542766322019-04-03_9-30-13.png

    So all payments you took since you inserted the Square payment weren't actually taken, in order to charge the users cards, you have to set your payment to Live mode.

    Hope it helps.

    Thank you!

  • Profile Image
    cordovacouncil
    Answered on April 03, 2019 at 11:16 AM

    I am getting the same error in LIVE or TEST mode. It is a very cryptic message:

    Either card_nonce or customer_card_id must be set.

    and I would think a TEST case would not generate an error.


  • Profile Image
    cordovacouncil
    Answered on April 03, 2019 at 11:33 AM

    I tried to create a new form to test and am getting a different error (this was in LIVE mode)

    Access token is missing. Please contact form administrator.
     

    New form is: https://form.jotform.com/90924956500965

  • Profile Image
    Nik_C
    Answered on April 03, 2019 at 12:48 PM

    I checked your form, but it is not connected to square:

    1554310045Screen Shot 2019-04-03 at 6.46

    Please connect it and let us know if the issue persists.

    Thank you!

  • Profile Image
    cordovacouncil
    Answered on April 03, 2019 at 01:09 PM

    That is not the problem. Please see this video on errors I am getting on each form mentioned and demo that it is connected and in LIVE mode: https://www.screencast.com/t/TQmoql3K8

  • Profile Image
    Nik_C
    Answered on April 03, 2019 at 02:24 PM

    I'm afraid I wasn't able to view the screencast.

    But I checked your forms, and this one:

    https://www.jotform.com/build/70857151618965

    Is in test mode:

    1554315787Screen Shot 2019-04-03 at 8.21

    And this one:

    https://www.jotform.com/build/90924956500965

    Is not integrated at all:

    1554315806Screen Shot 2019-04-03 at 8.22

    What is the form you have in a live mode where you're experiencing the problem?

  • Profile Image
    cordovacouncil
    Answered on April 03, 2019 at 03:46 PM

    Video shows error: https://www.screencast.com/t/TQmoql3K8

    https://form.jotform.com/cordovacouncil/4th-of-july-payment

    1554320654screen_shot_1.png

    Other form disconnected from Square (on it's own) so not sure what's going on there. In the video, it was LIVE.

    Please advise... getting frustrated  that you are not seeing what I am seeing.

  • Profile Image
    Kevin_G
    Answered on April 03, 2019 at 05:49 PM

    Upon watching your video I can see you're performing changes, but not saving them, I would recommend you to scroll down and click on the green continue button to make sure the changes you perform to the payment settings are saved: 

    1554328087screenshot_01.png

    Try testing your form again and make sure you're entering the amounts correctly, example: 0.5, 1, but about to enter only the dot followed by a number. 

    Let us know how it goes. 

  • Profile Image
    cordovacouncil
    Answered on April 03, 2019 at 08:11 PM

    I just ran 2 more tests:

    1. Tried in PREVIEW mode

    2. Tried in a new tab (in case PREVIEW was the error).

    Got the same error: Either card_nonce or customer_card_id must be set.

    This is the screenshot of the form AFTER the test. Note: is it connected to Strip and in LIVE mode. 

    FYI - I have been in technology for 40 years and am used to trouble shooting software, Please let me know if we can get on a call so we can walk through the problem. Your suggestions so far have not been helpful as I have already confirmed connection and live status.

    Thank you! Have successfully used Stripe in the account so am perplexed by this error.

    Susan


    1554336522screen-shot_error2.png

  • Profile Image
    Kevin_G
    Answered on April 03, 2019 at 09:03 PM

    Thanks for the additional details. 

    We will need to pass this issue to our second level for further inspection, may you please also provide us a screenshot of the web console so we can find if there is something on the code causing the issue? 

    This guide will help you getting the console report: https://www.jotform.com/help/453-How-to-get-a-console-report-from-most-common-browsers 

    This guide will help you uploading the image here: How to Post Screenshots to Our Support Forum 

    Looking forward to your response. 

  • Profile Image
    cordovacouncil
    Answered on April 04, 2019 at 02:30 AM

    Here is the screenshot per your request. Thank you!

    1554359399card_nonce_error.png

  • Profile Image
    Nik_C
    Answered on April 04, 2019 at 02:44 AM

    Thank you.

    The issue has been forwarded to our backend team for further checking.

    We'll get back to you via this thread.


  • Profile Image
    cordovacouncil
    Answered on April 04, 2019 at 11:29 AM

    Thank you. A vendor successfully used this form and it processed fine. I changed nothing. Will keep you posted.

  • Profile Image
    Nik_C
    Answered on April 04, 2019 at 12:33 PM

    Thank you for the additional information.

    Please advise if the issue re-appears.