Announcement

Collapse
No announcement yet.

Error Message - MaxInclusive constraint failed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error Message - MaxInclusive constraint failed

    I'm receiving the following error message when trying to place a donation. Please advise:

    The 'urn:APISchema.xsd:Quantity' element is invalid - The value '11111111' is invalid according to its datatype 'Long' - The MaxInclusive constraint failed.

    https:///medasf.org/home/make-a-donation-test/

    Thank you.

  • #2
    Good day!

    The error should be quite self explanatory - What it says is: The Quantity field is now having a value of 1111111 - which is quite large for the quantity field.

    If you look at a similar example it will help you see how it should be done: https://www.clickandpledge.com/Platf...s/example/002/

    Since you are still developing I strongly suggest that you change the following line:

    Line 845: <input id="OrderMode" type="hidden" name="OrderMode" value="Production" /><br />

    To "Test" mode so you can test with the test card number.

    Modified: <input id="OrderMode" type="hidden" name="OrderMode" value="Test" /><br />

    Please change the mode so we can run a test on your form. The FaaS forms are extremely easy if you follow the examples. The example I posted above is almost the same as what you are trying to do.
    Regards,
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      Thank you for your response. I used that example form to model ours after initially, but was getting basket errors. I then changed the code to match that of another c&p client (a rep had sent us some examples of live forms using FaaS/API) and received the above error. I reviewed again and saw the error. The initial one was mine - one of the hidden inputs had a typo.

      Comment


      • #4
        Great!

        so is the form working now? are there any issues?
        Regards,
        Click & Pledge Support Department

        On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
        Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

        Comment


        • #5
          Thank you for your follow up. The form is working, but now our cards are being declined due to our overzealous testing. I submitted a separate thread for that since it is a different issue.

          Comment

          Working...
          X