• Resolved dstauble

    (@dstauble)


    First, thanks for a very handy plugin! I needed to send the results of a CF7 form to a custom REST service and it is working. I have 2 questions:

    1) Are you going to test it with more recent versions of WordPress? It is an important plugin for us now and I hope it will continue to function.

    2) How can I get the return value from the REST service to display a message? I tried putting in an invalid URL and it still said the message was sent successfully. The logging did show “cURL error 6: Could not resolve host: ***.com” but no error was displayed. I need to inform the user if the REST service returns an error or it can’t connect.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kenny Meyer

    (@kennymeyer)

    Please test again – I just released a bugfix release.

    Thread Starter dstauble

    (@dstauble)

    Hi. Thanks for looking into this. I updated to the current version of the plugin but it still displays “Thank you for your message. It has been sent” even though the server returned the following in your debug log:

    [response] => Array
    (
    [code] => 400
    [message] => Bad Request
    )

    It would be very helpful if anything but 200 showed a message about an error so the user doesn't think it was processed correctly when it failed. Thanks!

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CF7 API return value’ is closed to new replies.