Announcement

Collapse
No announcement yet.

SendReceipt field not passing to server with other FaaS fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • SendReceipt field not passing to server with other FaaS fields

    We would like our FaaS form to trigger only an AutoResponder email rather than the standard portal receipt from our WID form, right now in testing both receipts are generated. To do this I am trying to set the FaaS SendReceipt field to "false". Is this the correct approach to take to only send the AutoResponder Receipt?

    I'm sure I am missing something obvious but I'm not able to get my FaaS code to work correctly and pass the SendReciept value. All the other fields are working correctly. Perhaps you can help spot the error.

    Here is the BillingPhone field (this, like the others works great):
    <input type="text" name="BillingPhone" class="blurrable firstToFocus" id="BillingPhone" value="206-388-4511" size="30" maxlength="255" /></div>

    Here is the SendReceipt field:

    <input type="text" name="sendreceipt" class="blurrable firstToFocus" id="sendreceipt" value="false" size="30" maxlength="255" /></div>

    When I review the C&P Data detail for this transaction the SendReceipt field does not appear amongst all the others.

    Thanks for any thoughts on places to look for my error.



  • #2
    Good day!

    May I ask that you change the field to: SendReceipt not sendreceipt

    <input type="text" name="SendReceipt" class="blurrable firstToFocus" id="sendreceipt" value="false" size="30" maxlength="255" /></div>

    It is case sensitive.

    Test it and let us know.
    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
      Thanks for the reply. I have tried with this use of cases also:

      <input type="text" name="SendReceipt" class="blurrable firstToFocus" id="SendReceipt" value="false" size="30" maxlength="255" /></div>

      Still no luck, thanks for any other thoughts.

      Comment


      • #4
        Charles,

        I would like to suggest that you do a simple test.

        Change the POST to https://verify.faas.cloud.clickandpledge.com

        The post will take you to a page and shows what you are posting. You have a number of JavaScripts and it is not easy for us to figure out what is going on.

        I would like to know if that value is being posted to the API.
        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
          I have made this change and it doesn't seem to work. It replies that the SSL Status is Insecure. Yet the form has been working in Test mode to our sandbox just fine. I have been puzzled by the results of this page as I have been testing.

          From the first line of the response page:

          Site Inspection:
          Description SSL Status Required? Posted Error?
          Form SSL Status Insecure SSL
          Invalid: Will not
          process

          Comment


          • #6
            Good day!

            Do you have the link to the test page?

            Please change it to https://verify.faas.cloud.clickandpledge.com and post the link to the form.
            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


            • #7
              Here is the link which I have made public from our staging server:

              Ways to support Washington Trails Association's programs through donations, endowments, workplace giving and more.



              Note that we are using the SSL certificate for www.wta.org on this site: staging.wta.org so that you will get a certificate error from your browser. Perhaps this is what is causing the verify form not to work?


              Thanks for your help

              Comment


              • #8
                Good day!

                It is a bit confusing as the Verify shows nothing is being posted to it.

                When I tested the form all fields for receipt appear blank.

                have you tested it?
                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


                • #9
                  Yes, i have tested it and it posts to the API just fine. In Salesforce looking at the C&P Data for each transactions I can see the values for each field. Except, as I noted, the SendReceipt field.

                  So, looks like two issues:
                  1) Why doesn't the verify show any results when using the verify field and using: https://faas.cloud.clickandpledge.com works? I have changed that sample test form to use this now and you can verify that it takes you to the Success page with a Order Number.

                  2) Why the form doesn't send the SendReceipt field and value to the API.

                  Comment


                  • #10
                    Charles,

                    Sorry but I did not know your are looking at the C&P Data in Salesforce. My complete mistake.

                    C&P Data does NOT have all that you post. We only post to Salesforce what is absolutely needed. Salesforce fields have a limit of 32,500 characters so we are quite careful what we post back.

                    If you give me the order number of a transaction I can see if your XML includes the send receipt.
                    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


                    • #11
                      Ah yes, I recall reading about that limit in Salesforce. How do you determine what data to send back to SF?

                      A recent order is: 1404011720166341111

                      Thank you for checking on this. Is there a way I check the full contents of a transaction?

                      Comment


                      • #12
                        Good day!

                        Here is the XML you posted. I replaced personal information with *****

                        In the upcoming updates to the Connect platform we will make it easy for you to see the posted XML. Let us know if you need more info.

                        <?xml version="1.0"?>
                        <CnPAPI xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:APISchema.xsd">
                        <Version>1.2</Version>
                        <Engine>
                        <Application>
                        <ID>CnP_FaaS</ID>
                        <Name>CnP_FaaS</Name>
                        <Version>FaaS.20140307.001.035.002.000.035</Version>
                        </Application>
                        <Request>
                        <Operation>
                        <OperationType>Transaction</OperationType>
                        <IPAddress>205.179.19.106</IPAddress>
                        <DeclineFraud>false</DeclineFraud>
                        <UrlReferrer>https://staging.wta.org/support/test-membership/view</UrlReferrer>
                        </Operation>
                        <Authentication>
                        <AccountGuid>0cfd61b9-22b9-4f97-8ec7-59c5bb626b28</AccountGuid>
                        <AccountID>27948</AccountID>
                        <UserName>11a4d4d735d2bdb249f6</UserName>
                        <Password>fec42ee0dee4b6944bb1</Password>
                        </Authentication>
                        <Order>
                        <OrderMode>Test</OrderMode>
                        <CardHolder>
                        <BillingInformation>
                        <BillingFirstName>Charlie</BillingFirstName>
                        <BillingMI />
                        <BillingLastName>Kahle</BillingLastName>
                        <BillingEmail>charle******</BillingEmail>
                        <BillingPhone>206********</BillingPhone>
                        </BillingInformation>
                        <BillingAddress>
                        <BillingAddress1>705 *******</BillingAddress1>
                        <BillingCity>Se******</BillingCity>
                        <BillingStateProvince>WA</BillingStateProvince>
                        <BillingPostalCode>9****</BillingPostalCode>
                        </BillingAddress>
                        <PaymentMethod>
                        <PaymentType>CreditCard</PaymentType>
                        <CreditCard>
                        <NameOnCard>Charlie ******</NameOnCard>
                        <CardNumber>xxxxxxxxxxxxxxxx</CardNumber>
                        <Cvv2>xxx</Cvv2>
                        <ExpirationDate>08/15</ExpirationDate>
                        </CreditCard>
                        </PaymentMethod>
                        </CardHolder>
                        <ThirdParty />
                        <OrderItemList>
                        <OrderItem>
                        <ItemID>1122</ItemID>
                        <ItemName>Donation</ItemName>
                        <Quantity>1</Quantity>
                        <UnitPrice>7700</UnitPrice>
                        <UnitDeductible>0</UnitDeductible>
                        <UnitTax>0</UnitTax>
                        <UnitDiscount>0</UnitDiscount>
                        <SKU>Donation</SKU>
                        <Campaign />
                        </OrderItem>
                        </OrderItemList>
                        <Receipt>
                        <SendReceipt>false</SendReceipt>
                        <CheckOutPageID>77673</CheckOutPageID>
                        <EmailNotificationList>
                        <NotificationEmail>charles*****</NotificationEmail>
                        <NotificationEmail />
                        </EmailNotificationList>
                        </Receipt>
                        <Transaction>
                        <TransactionType>Payment</TransactionType>
                        <CurrentTotals>
                        <TotalDiscount>0</TotalDiscount>
                        <TotalTax>0</TotalTax>
                        <TotalDeductible>0</TotalDeductible>
                        <Total>7700</Total>
                        </CurrentTotals>
                        </Transaction>
                        </Order>
                        </Request>
                        </Engine>
                        </CnPAPI>
                        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


                        • #13
                          Thank you, this is most helpful. Can you be more specific about which upcoming update will include this capability.

                          I see that infact the SendReceipt field and value is being reported so that answer my question. Thanks again.

                          Comment


                          • #14
                            Good day!

                            It will be in Connect update later this year as we move features from Portal to Connect.

                            We will have a user permission for developers so we can provide information that may be confusing for other users. Nothing will be more confusing than showing XML to someone that does not know what it is.

                            Hang in there.. a lot is coming.
                            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
                            😀
                            🥰
                            🤢
                            😎
                            😡
                            👍
                            👎