No announcement yet.

Our new FaaS page redirects to a C&P page after submit

  • Filter
  • Time
  • Show
Clear All
new posts

  • Our new FaaS page redirects to a C&P page after submit

    Our new page:

    is working but you process a gift it sends you here:

    Our developers did this from the example pages and can't figure this out.

    Please advise


    Here is the page code:
    <form id="Donation" method="post" action="">
    <div class="row">
    <label>First Name*</label>
    <input name="BillingFirstName" type="text" id="BillingFirstName" size="30" />
    <div class="row">
    <label>Last Name*</label>
    <input name="BillingLastName" type="text" id="BillingLastName" size="30" />
    <div class="row">
    <input name="BillingEmail" type="text" id="BillingEmail" size="30" />
    <div class="row">
    <label>Billing Address*</label>
    <input name="BillingAddress1" type="text" id="BillingAddress1" size="30" />
    <div class="row">
    <input name="BillingCity" type="text" id="BillingCity" size="30" />
    <div class="row">
    <select id="BillingStateProvince" size="1" name="BillingStateProvince">
    <option value="Alabama">AL</option>
    <option value="Alaska">AK</option>
    <option value="Arizona">AZ</option>
    <option value="Arkansas">AR</option>
    <option value="California">CA</option>
    <option value="Colorado">CO</option>
    <option value="Connecticut">CT</option>
    <option value="Delaware">DE</option>
    <option value="Florida">FL</option>
    <option value="Georgia">GA</option>
    <option value="Hawaii">HI</option>
    <option value="Idaho">ID</option>
    <option value="Illinois">IL</option>
    <option value="Indiana">IN</option>
    <option value="Iowa">IA</option>
    <option value="Kansas">KS</option>
    <option value="Kentucky">KY</option>
    <option value="Louisiana">LA</option>
    <option value="Maine">ME</option>
    <option value="Maryland">MD</option>
    <option value="Massachusetts">MA</option>
    <option value="Michigan">MI</option>
    <option value="Minnesota">MN</option>
    <option value="Mississippi">MS</option>
    <option value="Missouri">MO</option>
    <option value="Montana">MT</option>
    <option value="Nebraska">NE</option>
    <option value="Nevada">NV</option>
    <option value="New Hampshire">NH</option>
    <option value="New Jersey">NJ</option>
    <option value="New Mexico">NM</option>
    <option value="New York">NY</option>
    <option value="North Carolina">NC</option>
    <option value="North Dakota">ND</option>
    <option value="Ohio">OH</option>
    <option value="Oklahoma">OK</option>
    <option value="Oregon">OR</option>
    <option value="Pennsylvania">PA</option>
    <option value="Rhode Island">RI</option>
    <option value="South Carolina">SC</option>
    <option value="South Dakota">SD</option>
    <option value="Tennessee">TN</option>
    <option value="Texas">TX</option>
    <option value="Utah">UT</option>
    <option value="Vermont">VT</option>
    <option value="Virginia">VA</option>
    <option value="Washington">WA</option>
    <option value="West Virginia">WV</option>
    <option value="Wisconsin">WI</option>
    <option value="Wyoming">WY</option>
    <div class="row">
    <input name="BillingPostalCode" type="text" id="BillingPostalCode" size="15" />
    <!--Donation Amount Radios-->
    <td style="padding-top: 15px; padding-bottom: 15px;">
    <input name="ItemID1" type="hidden" id="ItemID1" value="1" />
    <input name="ItemName1" type="hidden" id="ItemName1" value="Donation" />
    <input name="Quantity1" type="hidden" id="Quantity1" value="1" />
    <input name="UnitDeductible1" type="hidden" id="UnitDeductible1" value="100%" />
    <td class="header" colspan="5">Donation Amount</td>
    <input type="radio" name="UnitPrice1" id="UnitPrice1" value="25" />

    <td><input type="radio" name="UnitPrice1" id="UnitPrice1" value="50" />

    <td><input type="radio" name="UnitPrice1" id="UnitPrice1" value="100" />

    <td><input type="radio" name="UnitPrice1" id="UnitPrice1" value="250" />

    <td><input type="radio" name="UnitPrice1" id="UnitPrice1" value="Other" /></td>
    <td colspan="2">
    $<input style="width: 88%;" name="Other1" type="text" id="Other1" size="10"/>

    <!--Recurring Information-->
    <td style="padding-bottom: 15px;"><table width="70%" border="0" cellspacing="2" cellpadding="2">
    <td style="width: 100%">
    <label><input type="checkbox" checked="unchecked" name="Installment" value="999" id="Installment" style="margin-right: 3px;" />Make this a recurring monthly donation</label></td>
    <td width="35%" input type="hidden" style="display: none;">Recurring Frequency</td>
    <td width="72%" input type="hidden" style="display: none;"><select name="Periodicity" id="Periodicity">
    <option value="Month" selected="selected">Month</option>
    <!--CC info-->
    <td style="padding-top: 40px; padding-bottom: 15px;"><table width="100%" border="0" cellspacing="2" cellpadding="40">
    <td>Credit Card Number*</td>
    <td><input name="CardNumber" type="text" id="CardNumber" size="40" /></td>
    <td><input name="Cvv2" type="text" id="Cvv2" size="6" /></td>
    <td>Exp. Date*</td>
    <td><select name="ExpirationMonth" id="ExpirationMonth">
    <option value="01">January</option>
    <option value="02">February</option>
    <option value="03">March</option>
    <option value="04">April</option>
    <option value="05">May</option>
    <option value="06">June</option>
    <option value="07">July</option>
    <option value="08">August</option>
    <option value="09">September</option>
    <option value="10">October</option>
    <option value="11">November</option>
    <option value="12">December</option>
    <select name="ExpirationYear" id="ExpirationYear">
    <option value="15">2015</option>
    <option value="16">2016</option>
    <option value="17">2017</option>
    <option value="18">2018</option>
    <option value="19">2019</option>
    <option value="20" selected="selected">2020</option>
    <!--I understand...-->
    <td style="padding-bottom: 40px;"><table>
    <br />
    <td class="someSpacing">
    <input id="chkClickAndPledge" type="checkbox" checked="checked" name="chkClickAndPledge" /><label for="chkClickAndPledge"> Yes, Id like to receive emails from Healthy Schools Campaign</label>


    <!--submit button-->
    <td align="left" class="someSpacing" style="padding-bottom: 40px; padding-top: 10px;">
    <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl" value="" />
    <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl" value="" />
    <input type="hidden" name="OnErrorUrl" id="OnErrorUrl" value="" />

    <input type="hidden" name="AccountGuid" id="AccountGuid" value="2a055cd6-4862-4306-84fa-40f28a3ea73c" />
    <input type="hidden" name="AccountID" id="AccountID" value="29036" />
    <input type="hidden" name="WID" id="WID" value="90070" />

    <input type="hidden" name="RefID" id="RefID" value="Example-002" />
    <input type="hidden" name="Tracker" id="Tracker" value="FaaS-Example-002" />

    <input type="hidden" name="SendReceipt" id="SendReceipt" value="true" />
    <input type="hidden" name="OrderMode" id="OrderMode" value="Production" />
    <input type="hidden" name="TransactionType" id="TransactionType" value="Payment" />

    <input name="Subm Donation" type="submit" id="SubmDonation" value="Submit" /></td>


    <style type="text/css">
    #Donation {
    font-size: 18px;
    color: #333;
    .row {
    width: 100%;
    .row label {
    width: 200px;
    padding-top: 40px;
    display: inline-block;
    .row label.second {
    width: 200px;
    padding-left: 40px;
    display: inline-block;
    .row input[type="text"],
    .row select {
    width: 200px;
    display: inline-block;


  • #2
    Good day!

    There are 3 parameters that you need to specify for Authorized, Declined, and Error'd transactions. See the following lines in the code you pasted:

    Click image for larger version

Name:	2015-12-16_13-24-06.jpg
Views:	23
Size:	74.4 KB
ID:	21004

    The OnSucessURL is for authorized transactions. When a card authorizes we forward the response to the specified page.

    Please see the manual for details:

    I hope that answers your question. Please let us know if we can be of more help.
    Click & Pledge Support Department

    On Salesforce? Help us by rating our app: Click & Pledge Donor Management on AppExchange

    Join us @ the educational webinars:
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday:
    Are you on Salesforce? Join us at the Power of Us Hub: