We have a form connected to FaaS. You can see it here: https://financialwomensf.org/raffle-internal-sales. (You may need to log in - use username: FWSF2015 and PW: member2015$. When we post a test transaction, even though all the fields are populated and named correctly, we get a "Basket is empty" error.
Here's the HTML of the key fields:
<tr>
<td align="right" width="180">Number of Raffle Tickets</td>
<td><input id="Quantity1" type="text" name="Quantity1" size="5" data-parsley-type="integer" />
<input id="ItemID1" type="hidden" name="ItemID1" value="1" />
<input id="ItemName1" type="hidden" name="ItemName1" value="Raffle Ticket" />
<input id="UnitPrice1" type="hidden" name="UnitPrice1" value="100" />
<input name="SKU1" type="hidden" id="SKU1" value="ABC-1234" />
<input name="Campaign1" type="hidden" id="Campaign1" value="Raffle Tickets" />
<input id="UnitDeductible1" type="hidden" name="UnitDeductible1" value="0" /> (<em>each ticket is $100</em>)</td>
</tr>
<tr>
<td align="right" width="180">Additional Donation:</td>
<td><input id="Quantity2" type="hidden" name="Quantity2" value="1" size="5" />
<input id="ItemID2" type="hidden" name="ItemID2" value="2" />
<input id="ItemName2" type="hidden" name="ItemName2" value="Additional Donation" />
<input id="UnitPrice2" type="text" name="UnitPrice2" size="5" data-parsley-type="integer" />
<input name="SKU2" type="hidden" id="SKU2" value="ABC-1234" />
<input name="Campaign2" type="hidden" id="Campaign2" value="Other Donation" />
<input id="UnitDeductible2" type="hidden" name="UnitDeductible2" value="0" /> (<em>whole-dollar amount</em>)</td>
</tr>
The attributes with "parsley" in them are for the form-validation library.
If we send the form to the C&P "Verify" URL, we see a "Site insecure" message, saying the form is invalid and will not post. But, the site is secure and the URL uses the "https" protocol. And the site's security seal is also on the page.
And, here's what the URL looks like with all the field data:
"https://verify.faas.cloud.clickandpledge.com/?Quantity1=11&ItemID1=1&ItemName1=Raffle+Ticket&Un itPrice1=100&SKU1=ABC-1234&Campaign1=Raffle+Tickets&UnitDeductible1=0&Qu antity2=1&ItemID2=2&ItemName2=Additional+Donation& UnitPrice2=1990&SKU2=ABC-1234&Campaign2=Other+Donation&UnitDeductible2=0"
So, what might the problem be here?
Thanks!
Here's the HTML of the key fields:
<tr>
<td align="right" width="180">Number of Raffle Tickets</td>
<td><input id="Quantity1" type="text" name="Quantity1" size="5" data-parsley-type="integer" />
<input id="ItemID1" type="hidden" name="ItemID1" value="1" />
<input id="ItemName1" type="hidden" name="ItemName1" value="Raffle Ticket" />
<input id="UnitPrice1" type="hidden" name="UnitPrice1" value="100" />
<input name="SKU1" type="hidden" id="SKU1" value="ABC-1234" />
<input name="Campaign1" type="hidden" id="Campaign1" value="Raffle Tickets" />
<input id="UnitDeductible1" type="hidden" name="UnitDeductible1" value="0" /> (<em>each ticket is $100</em>)</td>
</tr>
<tr>
<td align="right" width="180">Additional Donation:</td>
<td><input id="Quantity2" type="hidden" name="Quantity2" value="1" size="5" />
<input id="ItemID2" type="hidden" name="ItemID2" value="2" />
<input id="ItemName2" type="hidden" name="ItemName2" value="Additional Donation" />
<input id="UnitPrice2" type="text" name="UnitPrice2" size="5" data-parsley-type="integer" />
<input name="SKU2" type="hidden" id="SKU2" value="ABC-1234" />
<input name="Campaign2" type="hidden" id="Campaign2" value="Other Donation" />
<input id="UnitDeductible2" type="hidden" name="UnitDeductible2" value="0" /> (<em>whole-dollar amount</em>)</td>
</tr>
The attributes with "parsley" in them are for the form-validation library.
If we send the form to the C&P "Verify" URL, we see a "Site insecure" message, saying the form is invalid and will not post. But, the site is secure and the URL uses the "https" protocol. And the site's security seal is also on the page.
And, here's what the URL looks like with all the field data:
"https://verify.faas.cloud.clickandpledge.com/?Quantity1=11&ItemID1=1&ItemName1=Raffle+Ticket&Un itPrice1=100&SKU1=ABC-1234&Campaign1=Raffle+Tickets&UnitDeductible1=0&Qu antity2=1&ItemID2=2&ItemName2=Additional+Donation& UnitPrice2=1990&SKU2=ABC-1234&Campaign2=Other+Donation&UnitDeductible2=0"
So, what might the problem be here?
Thanks!
Comment