Announcement

Collapse
No announcement yet.

States Listed as "NA" in Transaction Receipts

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

  • States Listed as "NA" in Transaction Receipts



    We have been experiencing some issues with our receipts where the state is listed as "NA" and we are not sure how to fix this in the virtual terminal.
    Click & Pledge Support via email suggested that I post here to get some specific help on the issue.

    This is the XML for an example transaction where this occurred:

    <?xml version=“1.0” encoding=“UTF-8”?>
    <CnPTransactionData><Version>40</Version>
    <Application><ID>CnP_FaaS</ID>
    <Name>CnP_FaaS</Name>
    <Version>FaaS.20131015.001.035.001.001.035</Version>

    </Application> <Patron> <BillingInformation><BillingFirstName>Josh</BillingFirstName> <BillingMI></BillingMI> <BillingLastName>Local</BillingLastName> <BillingEmail>[email protected]</BillingEmail> <BillingPhone></BillingPhone> </BillingInformation> <BillingAddress><BillingAddress1>7509 Mifflin Kenedy</BillingAddress1> <BillingAddress2></BillingAddress2> <BillingAddress3></BillingAddress3> <BillingCity>Austin</BillingCity> <BillingStateProvince>NA</BillingStateProvince> <BillingPostalCode>78749</BillingPostalCode> <BillingCountryName>United States of America</BillingCountryName> </BillingAddress>

    Please let me know what further information I can post to assist in fixing the problem. We haven't experienced it within the last week but we want to be sure that whatever glitch was there is now fixed. Thank you!

    Virginia Mills
    Communities for Recovery
    [email protected]

  • #2
    Good day!

    Since this is posted to the FaaS forum I am assuming that you are using a custom form on your website. May I have the link to the form?

    also where is this NA showing up? In the Portal report or Salesforce? Where did you get this XML from?
    Regards,
    Click & Pledge Support Department

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

    Join us @ the educational webinars: https://clickandpledge.com/webinars/
    Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
    Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

    Comment


    • #3
      Originally posted by Support.Department View Post
      Good day!

      Since this is posted to the FaaS forum I am assuming that you are using a custom form on your website. May I have the link to the form?

      also where is this NA showing up? In the Portal report or Salesforce? Where did you get this XML from?

      Yes, this transaction was processed through a custom form on our website. Here is a link: https://cforr.secure.force.com/donate/PRCRegistration

      The NA is showing up in the receipt from the Portal but the information appears to be correct in Salesforce. The XML is from my email correspondence with C&P support.

      Comment


      • #4
        Good day!

        The only way this may happen is if the donor does not select the state. See your code - highlighted below

        Click image for larger version

Name:	State-NA.jpg
Views:	1
Size:	52.5 KB
ID:	15378

        Based on the above code if the user does not select a state the state name that will be passed will be NA

        I suggest you add a JavaScript code that blocks the user from proceeding with payment if the country is US and State is not selected.

        Your code justifies the behavior you are seeing.

        Hope that helps.
        Regards,
        Click & Pledge Support Department

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

        Join us @ the educational webinars: https://clickandpledge.com/webinars/
        Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
        Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

        Comment


        • #5
          Originally posted by Support.Department View Post
          Good day!

          The only way this may happen is if the donor does not select the state. See your code - highlighted below

          [ATTACH=CONFIG]1086[/ATTACH]

          Based on the above code if the user does not select a state the state name that will be passed will be NA

          I suggest you add a JavaScript code that blocks the user from proceeding with payment if the country is US and State is not selected.

          Your code justifies the behavior you are seeing.

          Hope that helps.
          Thank you - I updated the code and changed the class to "required." However, I also tried to delete the option selection "Select State" but it still displays when I remove it and save the form. I've cleared my cookies and all to try to update the form but I'm still seeing the "Select State" option.

          Comment


          • #6
            Good day!

            The code has not been deleted as it is still there. If you remove it then the first state will be Alabama and anyone not selecting the state will show as Alabama. I think leaving it is better since you know who has not selected it versus not knowing if someone lives in Alabama or not.

            Hope that makes sense.
            Regards,
            Click & Pledge Support Department

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

            Join us @ the educational webinars: https://clickandpledge.com/webinars/
            Live Support available Join between 3:00 - 3:30 p.m. ET Monday - Thursday: https://clickandpledge.com/webinars/
            Are you on Salesforce? Join us at the Power of Us Hub: https://powerofus.force.com/0F980000000CjpC

            Comment

            Working...
            X