Announcement

Collapse
No announcement yet.

Issues processing donations with commas using form as a service

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

  • Issues processing donations with commas using form as a service

    We are unable to change from C&P recognizing commas as decimals using form as a service. I found the DecimalMark hidden field workaround on the forums and our developers made the required changes, however the changes did not fix the issue and commas are still treated as decimals. Is there another workaround to this problem?

  • #2
    Good day!

    That should do the trick. Please send us the link to the form so we can review.

    The solution we provide is to help with those that do not know how to sanitize their forms prior to posting to us. The API expects numeric values and with international settings comma is the decimal separator.

    Once we see your form we can determine the root cause of the issue. Your developers should review the manual and it is discussed here: http://manual.clickandpledge.com/For...ml#DecimalMark

    Please send us the link to your form so we can review.
    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
      When you say "the link to the form" are you looking for a link to the form in the C&P portal, the form on our site, or the source code?

      The link you provided above is what I provided to our developers that did not work for us.

      Thank you.

      Comment


      • #4
        Good day @Samanthap,

        What is the form that people are donating from? Do you have a form that people are donating from that has this issue?

        We need to see the form. Where is the link people use to enter their info & donate?

        Thank you.
        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
          Hi Support.Department,

          ​You can access our donation page here: https://iava.org/donate/. Our donation page references this easyPage: https://co.clickandpledge.com/?wid=47465. I'll need to work with our developers to provide a link to a page with our source code.

          Thank you.

          Comment


          • #6
            Good day!

            The referencing of a FaaS form is not the reason for this issue. The reference is only used for customizing the receipt information.

            I reviewed your form and do not see the node: DecimalMark

            Please see: http://manual.clickandpledge.com/For...ml#DecimalMark

            This node is missing. There is no mention of the node I mentioned in the earlier post.

            If you wish to have us treat comma as a thousand separator please add the DecimalMark node to your code. As stated your form is an API form that your programmer has programmed using our backend API. Since it is an API form you have full control over what you want the behavior to be - we have zero control.

            In testing your form I also realized that the Javascript used for the OTHER field does not allow for adding comma in the numeric entry.

            Click image for larger version

Name:	2016-04-05_6-31-47.jpg
Views:	15
Size:	62.7 KB
ID:	22986

            This makes it impossible to add comma so I am not sure how your patrons are adding comma to the field. There is no way to use comma in the field. Do you know which field is being used to add comma with the value?

            Another observation -- Please ask your developer to remove the expiration dates that are no longer valid. The 2014, 2015 should be removed from the year as shown below:

            Click image for larger version

Name:	ExpirationDate.jpg
Views:	13
Size:	29.5 KB
ID:	22987

            I hope I have answered your question. Please let me know if we can be of any further assistance.
            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


            • #7
              Hi Support.Department,

              Thanks for catching that! I sent you to the wrong form. We've been updating a test page with the DecimalMark solution (it may still have the invalid expiration years, which I will make sure we remove). The form using the recommended solution can be found here: http://iava.org/support/test-donatio...npsp3-sandbox/.

              Thank you!

              Comment


              • #8
                Good day!

                I am a bit confused with your post since your OTHER field does not allow the comma to be entered so there is absolutely no way for a patron to enter 1,000 or any value with comma. If they cannot enter it in the OTHER field there is no other way for them to use comma. Given this why do you want to add the DecimalMark?

                The form you sent does not have DecimalMark added but I do not see any reason to add it to start with. Your developer has blocked addition of comma in the field so you should be fine.

                Why do you think you have an issue with comma?
                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


                • #9
                  Sorry for the confusion. I was not aware our developers had made that change (it was made after I shared the form with you). Are you able to disable javascript? I'm not able to modify the page to remove it. We do not want to have this javascript in the page since it can be easily disabled so we're hoping you can help us get the DecimalMark solution to work.

                  Comment


                  • #10
                    Good day!

                    No we cannot modify your site. Your site is a custom form and resides on your servers.

                    We have no way of updating or doing anything with it. Your web developer is the only person that can change the code. It is a 100% custom form using our open API.

                    Sorry that we cannot help even though we really want to.
                    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


                    • #11
                      When using Chrome, I'm able to open Settings (chrome://settings/content), go to the JavaScript section, click Manage exceptions, and block JavaScript for the IAVA domain. I believe this is possible in other browsers as well and would let you bypass the javascript on the form that's preventing the use of a comma.

                      Click image for larger version

Name:	BlockJavaScript.png
Views:	17
Size:	6.1 KB
ID:	23156

                      Comment


                      • #12
                        Good day!

                        I understand as that is a feature of all browsers. Practically speaking, disabling JavaScript these days will disable majority of the websites. When people do that there will be a lot of other things on your site that will also fail.

                        It is your call. I am just making suggestions. You may ask your web developer to keep the JavaScript but add our code as well for double protection. It is not a bad idea to keep both.
                        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


                        • #13
                          I'm able to tell Chrome to disable javascript on a specific page with no further ramifications by adding a javascript exception, my hope was that you might be able to do this too. We have absolutely no plans on turning off javascript for our site and definitely frown on this as a general practice. I'm asking you to do this because I'm stuck between a rock and a hard place. I, unfortunately, was not apprised of the decision to add javascript to the form I shared with you and cannot remove it, nor can I get in touch with someone to remove it in a timely manner. I'd greatly appreciate your help in resolving the form issue and understanding why the DecimalMark solution does not seem to be working when the javascript on the form has been disabled.

                          Comment


                          • #14
                            Good day!

                            We do not see the DecimalMark in your code. You say you have added it but we do not see it in the code. Can you show me a screenshot of the view source of your page that shows this code.

                            There is a misunderstanding here. I stated earlier that you have NOT added the code as we requested. My comment regarding JS was just secondary as an observation.

                            Please add the DecimalMark and let us know so we can review the page.
                            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


                            • #15
                              Good day!

                              Please see below:

                              Click image for larger version

Name:	2016-04-07_12-20-09.jpg
Views:	15
Size:	158.2 KB
ID:	23164


                              There is no sign or trace of the word "Decimal" in the code for your page. This node has NOT been added.

                              Please discuss this with your developer & let us know what you find out.
                              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

                              Working...
                              X