Announcement
Collapse
No announcement yet.
FaaS Help.
Collapse
X
-
Tags: None
-
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
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/ -
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:
Comment
-
Robert,
That is simple HTML - change the recurring to a hidden field and pass the value for Periodicity to Month
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
Join us @ the educational webinars: https://clickandpledge.com/webinars/
Live Support- read more: https://support.clickandpledge.com/s/article/general-information-live-support/Comment
Comment