Announcement

Collapse
No announcement yet.

Setting up a new recurring donation page

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

  • Setting up a new recurring donation page

    Hi,

    I would like to set up a donation page specifically for monthly recurring donations. Is it ok to have it go to the same error and decline pages as our general donation page or do I need to create new error/decline pages? Also, can you check the code to make sure it will actually charge it every month and is working ok? Right now I have it in test mode. Is there a way to reduce the space between the credit card information and the submit button?

    Thanks for your help!

    Here is a link to the page: https://uppervalleyhaven.org/haven-heroes/

    Thank you!

  • #2
    Good day!

    I will review your recurring shortly but for now take a look at the bottom of your code & see all the <br />.

    The hidden fields should not have <br /> at the end since that adds a line break. Simply remove <br /> and the button will move up.

    <p><input id="OnSuccessUrl" type="hidden" name="OnSuccessUrl" value="https://uppervalleyhaven.org/3791-2/" /><br />
    <input id="OnDeclineUrl" type="hidden" name="OnDeclineUrl" value="https://uppervalleyhaven.org/3802-2/" /><br />
    <input id="OnErrorUrl" type="hidden" name="OnErrorUrl" value="https://uppervalleyhaven.org/error/" /><br />
    <input id="AccountGuid" type="hidden" name="AccountGuid" value="f*********************f98cd" /><br />
    <input id="AccountID" type="hidden" name="AccountID" value="******" /><br />
    <input id="OrderMode" type="hidden" name="OrderMode" value="test" /><br />
    <input id="TransactionType" type="hidden" name="TransactionType" value="Payment" /><br />
    <input id="Tracker" type="hidden" name="Tracker" value="Haven Recurring Donation Form" /><br />
    <input id="WID" type="hidden" name="WID" value="*****" /><br />
    <input id="SendReceipt" type="hidden" name="SendReceipt" value="true" /><br />
    <input id="Subm Donation" type="submit" name="Subm Donation" value="Submit Donation" /></td>
    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! I've removed the <br>s. When I see the code in WordPress it doesn't show up as <br> so I made it all one paragraph and it worked!

      Looking forward to more of your feedback!

      Thanks again.

      Originally posted by Support.Department View Post
      Good day!

      I will review your recurring shortly but for now take a look at the bottom of your code & see all the <br />.

      The hidden fields should not have <br /> at the end since that adds a line break. Simply remove <br /> and the button will move up.

      <p><input id="OnSuccessUrl" type="hidden" name="OnSuccessUrl" value="https://uppervalleyhaven.org/3791-2/" /><br />
      <input id="OnDeclineUrl" type="hidden" name="OnDeclineUrl" value="https://uppervalleyhaven.org/3802-2/" /><br />
      <input id="OnErrorUrl" type="hidden" name="OnErrorUrl" value="https://uppervalleyhaven.org/error/" /><br />
      <input id="AccountGuid" type="hidden" name="AccountGuid" value="f*********************f98cd" /><br />
      <input id="AccountID" type="hidden" name="AccountID" value="******" /><br />
      <input id="OrderMode" type="hidden" name="OrderMode" value="test" /><br />
      <input id="TransactionType" type="hidden" name="TransactionType" value="Payment" /><br />
      <input id="Tracker" type="hidden" name="Tracker" value="Haven Recurring Donation Form" /><br />
      <input id="WID" type="hidden" name="WID" value="*****" /><br />
      <input id="SendReceipt" type="hidden" name="SendReceipt" value="true" /><br />
      <input id="Subm Donation" type="submit" name="Subm Donation" value="Submit Donation" /></td>

      Comment


      • #4
        Good day!

        This is quite a nice job. I like what you have done and it should work.

        Have you tested it in TEST mode? does it work?
        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
          Glad to see the button is now in the right place.

          Nothing beats reviewing the raw HTML. Editors at times don't do the HTML rendering as you expect it.. reviewing the HTML is the absolute version of truth.
          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


          • #6
            I tried it in test mode using your example information on the main website and it gave me the error message. Can you remind me what information should I use for testing? Do I use my credit card? Will it be charged while it is in test mode?

            Thanks!

            Originally posted by Support.Department View Post
            Good day!

            This is quite a nice job. I like what you have done and it should work.

            Have you tested it in TEST mode? does it work?

            Comment


            • #7
              Test transactions may only be made using the following information:

              - Credit card #: 4111111111111111 (4 and 15x1's)
              - Expiration date: any future date
              - CV2: any 3 digit number

              Please let us 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


              • #8
                This test mode didn't work. I go to the error page. How can I view what isn't working? Is there a place in the admin portal? If you try it with test info, does it work?

                Thanks for your help!

                Originally posted by Support.Department View Post
                Test transactions may only be made using the following information:

                - Credit card #: 4111111111111111 (4 and 15x1's)
                - Expiration date: any future date
                - CV2: any 3 digit number

                Please let us know if we can be of any further assistance.

                Comment


                • #9
                  The error message is given to you immediately through the URL if you are using GET or will post back to you if you are using POST.

                  Have you checked the URL? Post it here so we can see what the system is telling 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


                  • #10
                    This is what I received:

                    https://uppervalleyhaven.org/error/?...ZDg3OQ==&RefID=

                    What does it mean the basket is empty? I clicked on one of the radio button options I wanted.

                    Does this mean we are using GET? How can I change it to POST? It would be nice to have the exact error show up in the webpage so people can see the issue.

                    Thanks!

                    Originally posted by Support.Department View Post
                    The error message is given to you immediately through the URL if you are using GET or will post back to you if you are using POST.

                    Have you checked the URL? Post it here so we can see what the system is telling you.

                    Comment


                    • #11
                      Good day!

                      HTML Code:
                      https://uppervalleyhaven.org/error/?err=The%20basket%20is%20empty&hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZWY5NTYwMTg5MGFmZDg3OQ==&RefID=
                      Let's parse the string:
                      • err= The%20basket%20is%20empty (remove %20 as space & you get: The basket is empty


                      the error is simply telling you that the ItemName is being passed as blank

                      You may want to use: https://Verify.FaaS.Cloud.ClickandPledge.com to see what you are posting. The verify site simply shows you all fields that are being posted and their respective values. If the error says basket is empty then ItemName is blank.

                      The rest of the string:
                      • hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZWY5NTYwM Tg5MGFmZDg3OQ==


                      hashresonse is a security string that you may pass to the FaaS and get it back to verify that the response you are getting is actually coming back from us. You may want to read the following:


                      The hashtag is set in the administrative portal in the API section as discussed below:
                      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


                      • #12
                        When I go to the verify site I see Field Name and Field Value with nothing underneath them. Is that what I'm suppose to see? If not, how do I change it? Is it something in the code or something I need to change in the administrative portal?

                        In the code, I have the ItemName set as "Donation".

                        I'm less familiar with how this part of the donation processing works and appreciate your help (as well as the links to learn more about it below).

                        Thank you!

                        Originally posted by Support.Department View Post
                        Good day!

                        HTML Code:
                        https://uppervalleyhaven.org/error/?err=The%20basket%20is%20empty&hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZWY5NTYwMTg5MGFmZDg3OQ==&RefID=
                        Let's parse the string:
                        • err= The%20basket%20is%20empty (remove %20 as space & you get: The basket is empty


                        the error is simply telling you that the ItemName is being passed as blank

                        You may want to use: https://Verify.FaaS.Cloud.ClickandPledge.com to see what you are posting. The verify site simply shows you all fields that are being posted and their respective values. If the error says basket is empty then ItemName is blank.

                        The rest of the string:
                        • hashresponse=ZGEzOWEzZWU1ZTZiNGJkMzI1NWJmZWY5NTYwM Tg5MGFmZDg3OQ==


                        hashresonse is a security string that you may pass to the FaaS and get it back to verify that the response you are getting is actually coming back from us. You may want to read the following:


                        The hashtag is set in the administrative portal in the API section as discussed below:

                        Comment


                        • #13
                          The error says that ItemName is blank.

                          When you post to Verify- you should see a table with all field names and their respective values.

                          What do you see for ItemName?

                          this is not in Portal- this is the problem (bug) in your code. Please review your code and make sure when you are posting you are actually post a value for ItemName.

                          Also note that your quantity may also be set to 0 instead of 1 and your unit price may also be 0 or null.

                          The 3 values that identify a basket have to be correct.

                          - ItemName <> NULL
                          - UnitPrice >0
                          - Quantity >0
                          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
                            ok. It looks like some of the original code was missing when I transfered it from Dreamweaver to WordPress. That part is fixed. Now when I do the test I get the declined message. Am I suppose to get that in test mode?

                            Here is the URL:
                            https://uppervalleyhaven.org/3802-2/...NDE5OWM0&RefID=

                            How
                            Originally posted by Support.Department View Post
                            The error says that ItemName is blank.

                            When you post to Verify- you should see a table with all field names and their respective values.

                            What do you see for ItemName?

                            this is not in Portal- this is the problem (bug) in your code. Please review your code and make sure when you are posting you are actually post a value for ItemName.

                            Also note that your quantity may also be set to 0 instead of 1 and your unit price may also be 0 or null.

                            The 3 values that identify a basket have to be correct.

                            - ItemName <> NULL
                            - UnitPrice >0
                            - Quantity >0

                            Comment


                            • #15
                              Great.. we are getting close.

                              The response is simply a decline. Are you sure you are using TEST mode?
                              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