Announcement

Collapse
No announcement yet.

Custom Auth/Decline/Error Pages

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

  • Custom Auth/Decline/Error Pages

    Hi there,

    We have our donation page up and (ostensibly) working at https://secure.iava.org. I ran a successful transaction with a real card through and everything seemed to be okay, and I received a receipt. When I did this, the auth/decline/error URL's were still set to the example ones hosted at click and pledge.

    Then I created https://secure.iava.org/authorization, and .../declined and .../error respectively. When attempting a donation, it directs to the declined page every time, even though it's the same card from before. However, opportunity records are created in Salesforce for these transactions and marked as "closed won." I don't receive a receipt for these transactions, however.

    Is there more customization needed for these pages?

  • #2
    As a note I tried setting the URL's back to the C&P defaults, and still get declined. My order mode is "Production," not test, and am using real card #'s.

    Comment


    • #3
      Good day,

      Please let me know where the donation page is located. The link you sent:

      - https://secure.iava.org

      does not show me the form.

      There are 3 parameters in the form: OnSuccessURL, OnDeclineURL, and OnErrorURL. What sites are you listing for each of these?
      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


      • #4
        Originally posted by Support.Department View Post
        Good day,

        Please let me know where the donation page is located. The link you sent:

        - https://secure.iava.org

        does not show me the form.

        There are 3 parameters in the form: OnSuccessURL, OnDeclineURL, and OnErrorURL. What sites are you listing for each of these?
        Indeed, sorry about that. Currently we're working with this test page: https://secure.iava.org/megan-test-page-630pm.

        Currently I have order mode set to production, and the auth/decline/error URL's are set to the C&P example defaults. Any real card I try to process is still declined every time.

        Comment


        • #5
          https://secure.iava.org/megan-test-page-630pm

          Comment


          • #6
            Great.. this helps.

            Lines: 616 - 618

            HTML Code:
            <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl"     value="https://www.clickandpledge.com/developers/faas/example/response/authorize.asp" />
            <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl"     value="https://www.clickandpledge.com/developers/faas/example/response/Decline.asp" />
            <input type="hidden" name="OnErrorUrl" id="OnErrorUrl"         value="https://www.clickandpledge.com/developers/faas/example/response/Error.asp" />
            as you see these links are going to our demo pages. Please update them and point them to your site and the page address designed for each action.

            Please change the URL and let me know so we can review the code.
            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
              Originally posted by Support.Department View Post
              Great.. this helps.

              Lines: 616 - 618

              HTML Code:
              <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl"     value="https://www.clickandpledge.com/developers/faas/example/response/authorize.asp" />
              <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl"     value="https://www.clickandpledge.com/developers/faas/example/response/Decline.asp" />
              <input type="hidden" name="OnErrorUrl" id="OnErrorUrl"         value="https://www.clickandpledge.com/developers/faas/example/response/Error.asp" />
              as you see these links are going to our demo pages. Please update them and point them to your site and the page address designed for each action.

              Please change the URL and let me know so we can review the code.
              I've set the URL's to our own custom pages now. Our web team is currently making content based changes, so now the most current test page is located here: https://secure.iava.org/test-donation-page-6

              However, now whenever I try to process a transaction I am directed to our error page and see that first name is required. First name (and everything else) is in fact filled in, however. We recently added jquery field validation, could this have something to do with it?

              Comment


              • #8
                When the program returns an ERROR stating First name is required it simply receives a NULL value for First Name field.

                You may want to test the form and see what you are posting to us. Simply change https://FaaS.Cloud.ClickandPledge.com with https://Verify.FaaS.Cloud.ClickandPledge.com

                The Verify option will simply show you a page with all your fields shown in a table. Using the Verify you will know what you are actually posting.
                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
                  Originally posted by Support.Department View Post
                  When the program returns an ERROR stating First name is required it simply receives a NULL value for First Name field.

                  You may want to test the form and see what you are posting to us. Simply change https://FaaS.Cloud.ClickandPledge.com with https://Verify.FaaS.Cloud.ClickandPledge.com

                  The Verify option will simply show you a page with all your fields shown in a table. Using the Verify you will know what you are actually posting.
                  Aha - found the problem with the null first name. Turns out we were missing quotes at the end of the class elements for some of the fields. So, all of the data is now posting appropriately. However, any card I try now is once again always declining. Any help would be much appreciated, we're getting close to our friday launch of our campaign. Thank you!

                  Comment


                  • #10
                    Good day.

                    Please change the mode to Test so we can test it. When you are in production before all is working it makes it hard to debug.

                    Once in Test mode let me know so we can run a couple of test transactions
                    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
                      Okay - it's set to test mode now. Thanks!

                      Comment


                      • #12
                        Good day!

                        I tested your form on our test platform with our test account and all works fine. There is no problem with the form using our TEST account.

                        I can't test the form with your account since you have put a restriction on the URL that the form may be posted from. The form has to be posted from secure.iava.org and as a result I can't test it.

                        Please remove the restriction in the Account Info > Profile > API Information so we can test it with your account setting.
                        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
                          Your form works fine in TEST mode. So all parameters are correct.

                          Now please put it back in Production mode so we can test with a live card. I am not sure why you are getting a decline since all TESTS are working fine.
                          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


                          • #14
                            I just reviewed your account and noticed that you have a number of $1 and $2 transactions that were authorized without any issues. I believe your primary problem has been the URL's you were using for Authorize & Decline. Our system simply redirects to the URL you specify for each type of transaction.

                            Once your site is in production we can go ahead and do a test transaction with a live card.
                            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
                              Ah I see. I didn't realize that was to restrict URL's, thought it was to whitelist or allow them. My bad. It's been removed now. Should I set the ordermode back to Production or leave it in test? Thanks again.

                              Comment

                              Working...
                              X