Announcement

Collapse
No announcement yet.

Can i use my existing WID with a mobile website dontation page using Faas

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

  • Can i use my existing WID with a mobile website dontation page using Faas

    Sorry to posting a long text here, following is the mobile site donation page i am creating, but getting a error "We can't find your account number in the system". I am following the guides on your website about naming the fields in the donation page and set the three hidden variables as:
    <input type="hidden" name="WID" id="WID" value="41463" />
    <input type="hidden" name="AccountGuid" id="AccountGuid" value="53450cd8-cf9d-472b-9eaf-200d59b0526c18269" />
    <input type="hidden" name="AccountID" id="AccountID" value="18269" />

    I am not sure what I did wrong. Could you please help. Thanks,

    ---mobile donation page--
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
    <title>Credit Card_Donate Now_ahcf</title>
    <link rel="stylesheet" href="ahcfcss.css" />
    <!--delete javascript-->
    </head>
    <body>
    <form name="myForm" id="myForm" action="https://faas.cloud.clickandpledge.com" method="post">
    <div class="Box">
    <div class="header">
    <span style="float:left;"><a href="index.html" target="_self"><img src="images/logo.png" alt="ahcf"/></a></span>
    <div class="shadow"></div>
    </div>

    <div class="header_bt">
    Credit Card
    </div>

    <div class="card_top">&nbsp;&nbsp;&nbsp;&nbsp;<font>STE P 1</font>&nbsp;&nbsp;&nbsp;&nbsp;<h3>My Donation</h3></div>
    <table border="0" cellpadding="0" cellspacing="0" class="input_table">
    <tr>
    <td width="100%" height="40" colspan="2" align="center" valign="middle"><h4>Choose Your Amount</h4></td>
    </tr>
    <tr>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="1" checked="checked" /> $1&nbsp;&nbsp;</td>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="50" /> $50&nbsp;&nbsp;</td>
    </tr>
    <tr>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="10" /> $10</td>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="100" /> $100</td>
    </tr>
    <tr>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="25" /> $25</td>
    <td width="50%" height="30" align="center" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="250" /> $250</td>
    </tr>
    <tr>
    <td colspan="2" align="center" height="50" valign="middle">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="27%" height="30" align="right" valign="middle"><input type="radio" name="UnitPrice" id="UnitPrice" value="Other" /> $</td>
    <td width="73%" height="30" align="center" valign="middle"><input name="Other" type="text" id="Other" style="width:80%" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td colspan="2" height="30" style="border-top:1px solid #ddd;" align="left" valign="middle">
    &nbsp;&nbsp;<input name="recurringPayment" id="recurringPayment" type="checkbox" value="" />&nbsp;&nbsp;Make my payment a recurring payment:
    </td>
    </tr>
    <tr>
    <td colspan="2" height="30" style="border-top:1px solid #ddd;" align="left" valign="middle">
    &nbsp;&nbsp;<input name="mobilePayment" id="mobilePayment" type="checkbox" onclick="ShowMobilePayment()" />&nbsp;&nbsp;Enable Mobile Payment
    </td>
    </tr>
    <tr id="showMobilePayment0" style="display:none;">
    <td colspan="2" height="30" align="left" valign="middle">
    Enter text message enabled cell phone number.
    </td>
    </tr>
    <tr id="showMobilePayment1" style="display:none;">
    <td colspan="2" height="30" align="center" valign="middle">
    <input name="CellPhoneNumber" id="CellPhoneNumber" type="text" style="width:80%; margin:0 10%;" />
    </td>
    </tr>
    </table>

    .....

    <div class="card_top">&nbsp;&nbsp;&nbsp;&nbsp;<font>STE P 3</font>&nbsp;&nbsp;&nbsp;&nbsp;<h3>Your Credit Card</h3></div>
    <table border="0" cellpadding="0" cellspacing="0" class="input_table" style=" margin-bottom:-10px;">
    <tr>
    <td width="100%" height="40" colspan="2" align="left" valign="middle">
    <table width="80%;" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="60%" height="30" align="center" valign="middle"><input name="r_PaymentType" id="c_PaymentType" type="radio" checked onclick="SetPaymentType()" /> Credit Card</td>
    <td width="40%" height="30" align="center" valign="middle"><input name="r_PaymentType" id="e_PaymentType" type="radio" onclick="SetPaymentType()" /> eCheck</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <table id="t_creaditCard" border="0" cellpadding="0" cellspacing="0" class="input_table">
    <tr>
    <td align="right" width="40%" height="36" valign="middle">Name on Card <font>*</font></td>
    <td align="left" valign="middle"><input name="NameOnCard" id="NameOnCard" type="text" /></td>
    </tr>
    <tr>
    <td align="right" width="40%" height="36" valign="middle">Card Number <font>*</font></td>
    <td align="left" valign="middle"><input name="CardNumber" type="text" id="CardNumber"/></td>
    </tr>
    <tr>
    <td align="right" width="40%" height="50" valign="middle">Expiration Date <font>*</font></td>
    <td align="center" valign="middle">
    <table width="90%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="50%" align="left" valign="middle">
    <select name="ExpirationMonth" id="ExpirationMonth" style="margin:0;">
    <option value="01">January</option>
    </select>
    </td>
    <td width="50%" align="right" valign="middle">
    <select name="ExpirationYear" id="ExpirationYear">
    <option value="12" selected="selected">2012</option>

    </select>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="right" width="40%" height="36" valign="middle">Verification Security Number <font>*</font></td>
    <td align="left" valign="middle"><input name="" type="text" /></td>
    </tr>
    <tr>
    <td align="right" width="40%" height="30" valign="middle">We gladly accept: <font> </font></td>
    <td></td>
    </tr>
    <tr>
    <td colspan="2" align="center" height="60" valign="middle">
    <table width="80%;" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="25%" height="50" align="center" valign="middle"><img src="images/visa.png" alt="VISA" /></td>
    <td width="25%" height="50" align="center" valign="middle"><img src="images/discover.png" alt="Discover" /></td>
    <td width="25%" height="50" align="center" valign="middle"><img src="images/mastercard.png" alt="Mastercard" /></td>
    <td width="25%" height="50" align="center" valign="middle"><img src="images/americanexpress.png" alt="American Express" /></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    <table id="t_echeck" border="0" cellpadding="0" cellspacing="0" class="input_table" style="display:none;">
    ....</td>
    </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" class="input_table" style="margin-top:-10px;">
    <tr>
    <td colspan="2" align="left" valign="middle">
    &nbsp;&nbsp;<input name="c_understand" id="c_understand" type="checkbox" value="" />&nbsp;&nbsp;
    <span id="s_understand">I understand that this charge will appear as "Alternating hemplegia" on my credit card. </span>
    </td>
    </tr>
    </table>
    <div class="card_top">&nbsp;&nbsp;&nbsp;&nbsp;<font>STE P 4</font>&nbsp;&nbsp;&nbsp;&nbsp;<h3>Terms & Conditions</h3></div>
    <table border="0" cellpadding="0" cellspacing="0" class="input_table">
    <tr>
    <td width="100%" colspan="2" align="center" valign="middle"><h4>I have read and agree to the following Terms & Conditions.</h4></td>
    </tr>
    <tr>
    <td colspan="2" align="left" valign="middle">Want to mail a check? Make Check Payable to : AHCF 31250 Plymouth RD Livonia, MI 48150 If your donation is in honor of someone, please put in the memo.</td>
    </tr>
    <tr>
    <td colspan="2" align="center" height="60" valign="middle">
    <input name="ItemID" type="hidden" id="ItemID" value="1" />
    <input name="ItemName" type="hidden" id="ItemName" value="Donation" />
    <input name="Quantity" type="hidden" id="Quantity" value="1" />
    <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="100%" />

    <input type="hidden" name="OnSuccessUrl" id="OnSuccessUrl" value="http://staging.smartonline.com/ahcf/authorize.html" />
    <input type="hidden" name="OnDeclineUrl" id="OnDeclineUrl" value="http://staging.smartonline.com/ahcf/Decline.html" />
    <input type="hidden" name="OnErrorUrl" id="OnErrorUrl" value="http://staging.smartonline.com/ahcf/Error.html" />

    <input type="hidden" name="RefID" id="RefID" value="Mobile-Payment" />
    <input type="hidden" name="Tracker" id="Tracker" value="Mobile-Payment" />
    <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="PaymentType" type="hidden" id="PaymentType" value="CreditCard" />
    <input type="hidden" name="WID" id="WID" value="41463" />
    <input type="hidden" name="AccountGuid" id="AccountGuid" value="53450cd8-cf9d-472b-9eaf-200d59b0526c18269" />
    <input type="hidden" name="AccountID" id="AccountID" value="18269" />

    <input name="Submit" type="button" id="Submit" value="Submit" onclick="Check()" />
    </td>
    </tr>
    </table>
    </div>
    </form>
    </body>
    </html>

  • #2
    Good day!

    That sure is a long email

    The AccountGUID for your account is: 53450cd8-cf9d-472b-9eaf-200d59b0526c

    Based on what you posted you have added the account number to the end of the GUID. That is why your account cannot be located.

    Hope that 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


    • #3
      Hi,

      We are still getting the same error after changing the GUID , here is the updated one we are using in this donation page: http://staging.smartonline.com/ahcf/credit_card.html

      <input type="hidden" name="OrderMode" id="OrderMode" value="Production" />
      <input type="hidden" name="WID" id="WID" value="41463" />
      <input type="hidden" name="AccountGuid" id="AccountGuid" value="53450cd8-cf9d-472b-9eaf-200d59b0526c" />
      <input type="hidden" name="AccountID" id="AccountID" value="18269" />

      Please help. Thanks.

      Comment


      • #4
        Good day!

        Please change the OrderMode to Test so we can test and see the error message.

        Let us know when update is done so we can test.
        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


        • #5
          One other point after reviewing your code:

          <input name="ItemID" type="hidden" id="ItemID" value="1" />
          <input name="ItemName" type="hidden" id="ItemName" value="Donation" />
          <input name="Quantity" type="hidden" id="Quantity" value="1" />
          <input name="UnitDeductible" type="hidden" id="UnitDeductible" value="100%" />

          Please change them to:

          <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%" />


          While what you have will work, it is better to change it to take advantage of the new release. The system is backward compatible but with the new release we require a number prior to each item in the basket, even when there is only 1.
          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


          • #6
            Hi,

            We have made two pages, one with test mode :http://staging.smartonline.com/ahcf/...card_test.html
            one with production mode : http://staging.smartonline.com/ahcf/...roduction.html

            We have also updated the name and id to add "1". Looking forward to your response.

            Thanks

            Comment


            • #7
              Good day!

              This is indeed strange. We have copied your site to our test servers and with any other account the form does not have any issue but with your account there is an issue. We are trying to find the cause of the problem with your account.

              For now please fix one issue with your form.

              When you changed the item fields by adding 1 to the end you did not change the UnitPrice fields to match the name. Please note that all those fields are in the same family so their suffixes should match. Please change the radio button to also reflect this, for example:

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

              I will let you know shortly why your account is causing this issue and sorry for the inconvenience.
              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


              • #8
                Hi,

                Any luck on solving the account problem. I am surprised how quickly the response was on the forum. Thanks for helping out, we need to release the new page in a day or two and are stucked with this. Please help.

                Thanks.

                Comment


                • #9
                  Good day!

                  Finally we have an answer and one that we had to add a few more error messages to find the reason.

                  Of course we tested it on your staging and the URL is not correct. You had added URL restriction to the API setup and as a result your site posting to us does not match the URL listed in the API restriction.

                  When testing we get the following error:

                  - URL restriction violation

                  Please remove the restriction during the development process and once all works then add the final URL to the restriction list if you wish to add it. You can also add the testing URL to the list as well and later remove it when done.

                  Please handle the restriction and test. Let us know what you find out.
                  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

                  Working...
                  X