Announcement

Collapse
No announcement yet.

WordPress Plugin Contact 7 Compatibility

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • WordPress Plugin Contact 7 Compatibility

    Hi,

    The client is using Contact 7 to build forms. We have included the module for hidden fields and created a simple form here https://rchumanesociety.org/preprodu...hp/test-write/

    Upon submit it goes to white screen and the transaction (in test mode) is not posting to the account

    So I tested using https://Verify.FaaS.Cloud.ClickandPledge.com and it says no fields are posting to Click and Pledge...

    So thinking there are compatibility issues here - but unsure what - when I view source code the required fields are there. I do note that Contact7 is putting in some extra hidden fields as well as some class values... I have double checked to make sure all page elements are secure. So need to know if we can make this work of if we need to explore other possibilities.

    Thanks in advance

    **Ann

  • #2
    Ann,

    When posting to FaaS shows a blank page it means you are posting to the FaaS processor from an insecure page.

    FaaS requires SSL. If the page posting is http:// it won't respond for security & PCI mandates. We simply won't acknowledge anything and show a blank page.

    When the form is in TEST mode we respond to the post from both http:// and https:// but when in production we ONLY respond to https: (SSL).

    Hope this answers your question.
    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
      Take a look at the example please...

      Originally posted by Support.Department
      Ann,

      When posting to FaaS shows a blank page it means you are posting to the FaaS processor from an insecure page.

      FaaS requires SSL. If the page posting is http:// it won't respond for security & PCI mandates. We simply won't acknowledge anything and show a blank page.

      When the form is in TEST mode we respond to the post from both http:// and https:// but when in production we ONLY respond to https: (SSL).

      Hope this answers your question.
      Nope doesn't even begin to... don't think you even looked at my example url because it is https... and all elements on the page are secure. Additionally it is in Test mode which you also would have seen if viewed. https://rchumanesociety.org/preprodu...hp/test-write/

      Need an answer to this to see if I need the client to go in a different direction.

      Thanks

      **Ann

      Comment


      • #4
        Ann,


        I reviewed your code but can't say anything about what it is the form is doing. Please see the post method:

        <form action="/preproduction/index.php/test-write/#wpcf7-f942-p918-o1" method="post" class="wpcf7-form" novalidate="novalidate">

        The action is going to "/preproduction/index.php/test-write/#wpcf7-f942-p918-o1"

        I have absolutely no idea what that page is or does.

        The form fields are OK but they are posting to the /preproduction/index.php/test-write/#wpcf7-f942-p918-o1 page and what that page is doing I can't say.
        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
          Really? no answer.... and I note you did not post my response outlining that in fact my example form is running in TEST mode meaning it should go through regardless if elements are https or not (which mine are)

          So the canned response given offers absolutely no assistance in sorting out this issue. I will have to recommend to the client to pursue other solutions.

          Comment


          • #6
            Good day @acmc,

            Your form is NOT posting to the FaaS processor. No field values are being posted so there is not much I can do to help with debugging the issue.

            The verify shows absolutely 0 fields being posted to it. Your form is posting to another page:

            <form action="/preproduction/index.php/test-write/#wpcf7-f942-p918-o1" method="post" class="wpcf7-form" novalidate="novalidate">

            and the form fields showing up in the verify are blank.

            As you explained the https://Verify.FaaS.Cloud.ClickandPledge.com returns blank. You can easily test this yourself by creating a page and outputing what is being posted to it. Your form is not posting anything to us.

            I am not sure how I can help you & believe me I want to.

            The following is your form & the test I did:

            Click image for larger version

Name:	FaaS_Form.jpg
Views:	1
Size:	44.6 KB
ID:	15196

            & the following shows the form values:

            Click image for larger version

Name:	FaaS_Reply.jpg
Views:	1
Size:	39.7 KB
ID:	15197

            Now please look at the following form which I simply copied from your site and hosted it locally:

            Click image for larger version

Name:	Beta_FaaS_Post_Form.jpg
Views:	1
Size:	59.5 KB
ID:	15198

            & the result when it posts to the Verify:

            Click image for larger version

Name:	Beta-FaaS_Post.jpg
Views:	1
Size:	188.7 KB
ID:	15199

            Here is the code- as you see the only thing I did was to remove your form action and post it directly to our FaaS verify site:

            HTML Code:
            <!doctype html><html><head><meta charset="utf-8"><title>Untitled Document</title></head>
            <body><form action="https://Verify.FaaS.Cloud.ClickandPledge.com" method="post"><input type="hidden" name="UnitPrice1" value="25" id="UnitPrice1"  /><input type="hidden" name="ItemID1" value="25" id="ItemID1" /><input type="hidden" name="ItemName1" value="25" id="ItemName1"  /><input type="hidden" name="Quantity1" value="25" id="Quantity1"  /><input type="hidden" name="UnitDeductible1" value="100%" id="UnitDeductible1" /><p>First Name (required)<br /><input type="text" name="BillingFirstName" value="Account" size="40" id="BillingFirstName" /></p><p>Last Name (required)<br /><input type="text" name="BillingLastName" value="Verification" size="40" id="BillingLastName" /></p><p>Card Name (required)<br /><input type="text" name="CardName" value="Account Verification" size="40" id="CardName" /></p><p>Card Number (required)<br /><input type="text" name="CardNumber" value="4111111111111111" size="40" id="CardNumber" /></p><p> Cvv (required)<br /><input type="text" name="Cvv2" value="123" size="40"  id="Cvv2"  /></p><p>Expiration Date<br /><select name="ExpirationMonth" id="ExpirationMonth"><option value="January">January</option><option value="February">February</option><option value="March">March</option><option value="April">April</option><option value="May">May</option><option value="June">June</option><option value="July">July</option><option value="August">August</option><option value="September">September</option><option value="October">October</option><option value="November">November</option><option value="December" selected>December</option></select></p><p>Expiration Year<br /><select name="ExpirationYear" id="ExpirationYear"><option value="2013">2013</option><option value="2014">2014</option><option value="2015">2015</option><option value="2016">2016</option><option value="2017">2017</option><option value="2018">2018</option><option value="2019">2019</option><option value="2020">2020</option></select><input type="hidden" name="OnSuccessUrl" value="https://rchumanesociety.org/preproduction/index.php/donation-success" id="OnSuccessUrl" /><input type="hidden" name="OnDeclineUrl" value="https://rchumanesociety.org/preproduction/index.php/donation-decline" id="OnDeclineUrl" /><input type="hidden" name="OnErrorUrl" value="https://rchumanesociety.org/preproduction/index.php/donation-error" id="OnErrorUrl" /><input type="hidden" name="AccountGuid" value="fd9bcb3c-5ac9-4193-85ba-c51f9a1772ba" id="AccountGuid"  /><input type="hidden" name="AccountID" value="19471" id="AccountID"  /><input type="hidden" name="WID" value="48216" id="WID" /><input type="hidden" name="RefID" value="Donation" id="RefID"/><input type="hidden" name="Tracker" value="Donation" id="Tracker"/><input type="hidden" name="SendReceipt" value="True" id="SendReceipt"  /> <input type="hidden" name="OrderMode" value="Test" id="OrderMode"  /><input type="hidden" name="TransactionType" value="Payment" id="TransactionType"  /><input name="Submit" type="submit" id="Submit" value="Submit Donation" /></form></body></html>

            The above form shows all fields posted correctly. As stated before we have no way of knowing what your form is doing when it posts to the page you have listed.

            Please let me know how else we can be of assistance.
            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
              Duh eh? I got all excited cause thought I could use the Contact 7 with an 'after form submitted' call. Ended up writing a handler plugin. Thanks for pointing out the obvious;-)

              Comment


              • #8
                Good day @acmc,

                Are you aware of the following node?



                The Postback node posts back all posted fields back to you, except the credit card number and the card verification code.

                So instead of saving the info pre-post you can save it after the post. We also post back the authorization code, etc.

                I am only suggesting this since you stated that you wrote a handler plugin which tells me you may know what I am talking about.

                Let me know if you need more clarification.
                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
                😀
                🥰
                🤢
                😎
                😡
                👍
                👎