Announcement

Collapse
No announcement yet.

Error Message - MaxInclusive constraint failed

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

  • abowles
    replied
    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.

    Leave a comment:


  • CnP.Support
    replied
    Great!

    so is the form working now? are there any issues?

    Leave a comment:


  • abowles
    replied
    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.

    Leave a comment:


  • CnP.Support
    replied
    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.

    Leave a comment:


  • abowles
    started a topic Error Message - MaxInclusive constraint failed

    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.
Working...
X