Announcement

Collapse
No announcement yet.

FaaS Help.

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

  • FaaS Help.

    Below is the page I had created.

    https://www.inspirationcampaign.com/tester/

    After selecting the donation and trying to process it, this page returns this error:
    http://www.inspirationcampaign.com/e...Dg3OQ==&RefID=


    I would really like to get this up and running as soon as possible, so any help is greatly appreciated.

  • #2
    Good day Robert,


    Please read the URL since it is telling you exactly what is going on.
    • Error: err=The%20basket%20is%20empty

    That says Basket is empty which means ItemName is not being passed or the quantity is null.

    Now let us look at your code:
    <input name="ItemID" type="hidden" id="ItemID" value="1" /><br />
    <input name="ItemName" type="hidden" id="ItemName" value="Donation" /><br />
    <input name="Quantity" type="hidden" id="Quantity" value="1" /><br />
    <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="100%" />

    All the above names are countless- ItemID, ItemName, etc.

    If you look at your prices:
    <input id="UnitPrice1" type="radio" name="UnitPrice1" value="100" />

    You have 1 next to the item so these have a count.

    The names don't match the unit price naming convention.

    To fix this you should add 1 to each of your names:
    <input name="ItemID1" type="hidden" id="ItemID1" value="1" /><br />
    <input name="ItemName1" type="hidden" id="ItemName1" value="Donation" /><br />
    <input name="Quantity1" type="hidden" id="Quantity1" value="1" /><br />
    <input name="UnitDeductible1" type="hidden" id="UnitDeductible1" value="100%" />

    This will fix this error. I am not sure of other errors since this is the only error I am seeing now.
    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 for the fix. However I am running into another issue. I want to have a monthly recurring option only, and I want it to be a radio button and do not want a drop down box showing. Here is my page again:

      https://www.inspirationcampaign.com/tester/

      Comment


      • #4
        Robert,

        That is simple HTML - change the recurring to a hidden field and pass the value for Periodicity to Month

        http://manual.clickandpledge.com/For...g_Transactions

        take a look at this example: https://www.clickandpledge.com/Platf...s/example/005/

        what you need is to simply pass Periodicity as Month or Null based on the radio button option.

        Hope this helps.
        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