Thanks for your help on this. I think we have it resolved!
No more empty baskets! And, users can purchase an item and make a cash donation in one transaction.
Announcement
Collapse
No announcement yet.
"Empty Basket" - I think it is a bug that needs fixing.....
Collapse
This topic is closed.
X
X
-
Good day!
Sorry we did not announce the new release yesterday as promised. The application was updated yesterday but we needed a little more time to update the site, the manual, and the downloadable examples.
Please see the following announcement: http://forums.clickandpledge.com/showthread.php?388-Release-1.16.2-Addition-of-Percentage-to-UnitDeductible&p=958#post958
In short:
We have added the functionality of UnitDeductible = 10% where adding % sign to the value will make the tax deductible portion a percentage of the unit cost.
Also you have a mistake in your form. OTHER field is not a field you should use with open text fields. OTHER is only designed for radio button fields with an "OTHER" open text option.
HTML Code:<input name="Other" type="text" id="Other" size="8" /> <input name="ItemID" type="hidden" id="ItemID" value="4" /> <input name="ItemName" type="hidden" id="ItemName" value="Cash Donation" /> <input name="Quantity" type="hidden" id="Quantity" value="1" /> <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="100%" />
HTML Code:<input name="UnitPrice" type="text" id="UnitPrice" value="10" size="10" /> <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="100%" /> <input name="ItemID" type="hidden" id="ItemID" value="2" /> <input name="ItemName" type="hidden" id="ItemName" value="Cash Donation" /> <input name="Quantity" type="hidden" id="Quantity" value="1" />
Leave a comment:
-
The value of 9.98 is not a problem. You can process that now if you don't mix the type.
Leave a comment:
-
Great. I'll be looking forward to testing that tomorrow.
While you're at it, will a deductible amount of 9.98 parse through the system OK? Or, will it only take amounts without a decimal point?
Leave a comment:
-
The problem you are seeing is related to mixing the UnitDeductible with UnitDeductiblePercentage. Let me explain.
The FaaS platform looks at the tax deductible portion as a uniform request and gives UnitDeductiblePercentage top priority. If it sees UnitDeductiblePercentage it assumes that all entries are based on percentage. Your form uses UnitDeductiblePercentage for the last item and as result the service takes all other entries as % and not a flat fee.
Solution:- Change all tax deductible behavior to percentage or make them all flat fee.
- Wait till tomorrow (June 21, 2011) for the new update that will address this peculiarity.
- UnitDeductible = 10 results in $10 being tax deductible per unit sold.
- UnitDeductible = 10% results in 10% of the unit price being tax deductible.
Leave a comment:
-
The call is now going to https://faas.cloud.clickandpledge.com
The form processes, but not completely.....yet!
Try ordering one "enjoy life again" report and making a cash donation for $12.00
The cash donation does not come through at all in the receipt, and the deductible amount for the "enjoy life" report is 0.00 when it should be 9.98. Does it mean the faas system wants to see whole numbers (no decimals) as deductible?
Leave a comment:
-
We are close!
Please change the form post to https://faas.cloud.clickandpledge.com
the verification appears to work. I simply entered a number in each of the fields and the verification shows all fields are being passed correctly. I like to see it post and check the error message (if any).
Leave a comment:
-
Strange.. the example html was not right on our site. The site is correct and you can see the form if you view the source. I just fixed the example and it should be correct now. The file date should be 6/17/2011 for your reference.
All fields should have the same name so you should not have any increments in the name. ItemID is whatever you wish to use- for example it may be SKU - it is just a reference ID.
I will review your code shortly and post another comment.
Leave a comment:
-
I think we're making progress. Would you run the form again to see if I'm on the right track?
BTW - I used the code from example form #003 originally. That form uses the quantity fields. However, the code as downloaded may have been why I got the code wrong. Here is a sample of the code from form #003 as opened in BBEdit (not Dreamweaver) and pasted here:
<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td width="180" align="right"> </td>
<td><strong>Quantity</strong></td>
</tr>
<tr>
<td width="180" align="right"> Adult Ticket ($50) </td>
<td><input name="Quantity" type="text" id="Quantity" value="2" size="5" />
<input name="ItemID" type="hidden" id="ItemID" value="1" />
<input name="ItemName" type="hidden" id="ItemName" value="Adult Ticket" />
<input name="UnitPrice" type="hidden" id="UnitPrice" value="50" />
<input name="UnitDeductible" type="hidden" id="UnitDeductible" value="10" /></td>
</tr>
<tr>
<td width="180" align="right"> Senior Citizen Ticket ($40) </td>
<td><input name="Quantity2" type="text" id="Quantity" size="5" />
<input name="ItemID" type="hidden" id="ItemID" value="2" />
<input name="ItemName" type="hidden" id="ItemName" value="Senior Citizen" />
<input name="UnitPrice1" type="hidden" id="UnitPrice1" value="40" />
<input name="UnitDeductible" type="hidden" id="UnitDeductible" value="10" /></td>
</tr>
<tr>
<td width="180" align="right"> Children under 12 ($15) </td>
<td><input name="Quantity2" type="text" id="Quantity" size="5" />
<input name="ItemID" type="hidden" id="ItemID" value="3" />
<input name="ItemName" type="hidden" id="ItemName" value="Children under 12" />
<input name="UnitPrice2" type="hidden" id="UnitPrice2" value="10" />
<input name="UnitDeductible" type="hidden" id="UnitDeductible" value="10" /></td>
</tr>
<tr>
<td width="180" align="right"> Members ($10) </td>
<td><input name="Quantity2" type="text" id="Quantity" value="3" size="5" />
<input name="ItemID" type="hidden" id="ItemID" value="4" />
<input name="ItemName" type="hidden" id="ItemName" value="Donation" />
<input name="UnitPrice3" type="hidden" id="UnitPrice3" value="50" />
<input name="UnitDeductible" type="hidden" id="UnitDeductible" value="0" /></td>
</tr>
</table>
I assume the only value that increments is the item ID numbers? The other values should not increment, i.e. UnitPrice3 about five lines up from this sentence?
Leave a comment:
-
I see the issue. Please check this example:
In Dreamweaver when you copy form fields it automatically adds a number at the end of each field name. Your form has the following:
HTML Code:<tr> <td align="right"> <input name="Quantity3" type="text" id="Quantity2" size="5" /> <input name="ItemID2" type="hidden" id="ItemID2" value="1" /> <input name="ItemName2" type="hidden" id="ItemName2" value="1 BoneSmart Bracelet" /> <input name="UnitPrice" type="hidden" id="UnitPrice" value="5" /> <input name="UnitDeductible2" type="hidden" id="UnitDeductible2" value="4" /></td> <td>1 BoneSmart Bracelet ($5 – $4 Tax Deductible) </td> </tr> <tr> <td align="right"> </td> <td> </td> </tr> <tr> <td align="right"> <input name="Quantity4" type="text" id="Quantity3" size="5" /> <input name="ItemID3" type="hidden" id="ItemID3" value="2" /> <input name="ItemName3" type="hidden" id="ItemName3" value="2 BoneSmart Bracelets" /> <input name="UnitPrice1" type="hidden" id="UnitPrice1" value="6" /> <input name="UnitDeductible3" type="hidden" id="UnitDeductible3" value="4" /></td> <td>2 BoneSmart Bracelets ($6 – $4 Tax Deductible)</td> </tr> <tr> <td align="right"> </td> <td> </td> </tr> <tr> <td align="right"> <input name="Quantity2" type="text" id="Quantity4" size="5" /> <input name="ItemID4" type="hidden" id="ItemID4" value="3" /> <input name="ItemName4" type="hidden" id="ItemName4" value="Enjoy Life Again Report" /> <input name="UnitPrice2" type="hidden" id="UnitPrice2" value="16.90" /> <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="9.98" /></td> <td>Enjoy Life Again! Printed and Bound Report ($16.90 – $9.98 Tax Deductible)</td> </tr> <tr> <td align="right"> </td> <td> </td> </tr> <tr> <td align="right"> <input name="Other" type="text" id="Other" size="10" /> <input name="ItemID" type="hidden" id="ItemID" value="4" /> <input name="ItemName" type="hidden" id="ItemName" value="Cash Donation" /> <input name="Quantity" type="hidden" id="Quantity" value="1" /> <input name="UnitDeductiblePercentage" type="hidden" id="UnitDeductiblePercentage" value="100" /></td> <td>$ Cash Donation</td> </tr>
If, with your code, one selects the top item with a quantity of "1" you are posting the following:
HTML Code:<input name="Quantity3" type="text" id="Quantity2" size="5" /> <input name="ItemID2" type="hidden" id="ItemID2" value="1" /> <input name="ItemName2" type="hidden" id="ItemName2" value="1 BoneSmart Bracelet" /> <input name="UnitPrice" type="hidden" id="UnitPrice" value="5" /> <input name="UnitDeductible2" type="hidden" id="UnitDeductible2" value="4" /></td>
Hope that makes sense.
Leave a comment:
-
This form is the one that does not work, and it is the one I'd prefer to use. The call has been changed in this form to:
https://Verify.FaaS.Cloud.ClickandPledge.com
Leave a comment:
-
I am confused
Your first form is not working but you say you changed the second form that works to point to verify?
why do we need to test a page that is working?
The form that you stated is not working is: https://bonesmart.org/support-resear...nate-quantity/
Leave a comment:
-
Done. The call has been changed in the "test donate quantity" form.
Leave a comment:
-
Would you please change the form post to https://verify.faas.cloud.clickandpledge.com
It will help us finding out what you are not posting and it makes it easier to debug.
Leave a comment:
-
Hi,
I'll give you two links. The first is to a test page that I cannot get to work, and it is the preferred page for accepting donations:
The password for all the test pages is: click&pledge
The second page works, but is not the preferred method because it restricts the donation method to only one item. (bracelet, report book, or cash donation)
Thanks for your help on this.
Leave a comment:
Leave a comment: