Announcement

Collapse
No announcement yet.

Error messages and processing them

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

  • Error messages and processing them

    Hello,

    I'm about to create a donation form for a client using FaaS. I have couple of questions:

    1) Is there a list if all error messages available?
    2) Are errors returned back one at a time, or at once? In other words, if e.g. First Name and Last Name are missing, is the validity of Last Name checked / returned before First Name is checked?

    Thanks!

  • #2
    The PaaS platform has detailed error list but the FaaS is simply a front end to the PaaS and not designed to be complex. It offers a simple Error response.

    It won't reply back with fields missing, etc. You provide 3 URL's for Error, Authorize, and Decline. Errors are reported together and posted to the Error URL provided at the time of posting.

    It may not be a bad idea to do inline error checking for fields missing information prior to posting.

    Let us know if you have any other questions.
    Regards,
    Click & Pledge Support Department

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/

    Comment


    • #3
      Do you have any working examples on HOW TO DO THIS?

      Working code on how to process the URL to generate an error message would be a godsend...

      Comment


      • #4
        Not sure what you mean by: "how to process the URL to generate an error message"?

        are you referring to how to parse the URL that is sent by the FaaS service in case of error?
        Regards,
        Click & Pledge Support Department

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/

        Comment


        • #5
          I spent the hours developing it on my own, but yes, a WORKING PHP script of how to handle URL parsing would be very valuable to developers. Otherwise people will think it's just as simple as creating three pages, but it wont work if they don't parse the URL (will get a file not found message).

          Comment


          • #6
            Also: https://developers.clickandpledge.com/ is giving me a "webpage not available message". Is your site down? I can't get a list of error codes so can you please post it here?

            Comment


            • #7
              Sorry.. it seems like the security team revising the firewall had a typo in the developers forum IP and by mistake blocked port 443. It is fixed now. Sorry for the inconvenience.
              Regards,
              Click & Pledge Support Department

              Join us @ the educational webinars: https://clickandpledge.com/webinars/
              Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/

              Comment

              Working...
              X