Support » Plugin: Contact Form 7 » using subscribers_only with API submissions

  • tocllc

    (@tocllc)


    Hi, CF7 submissions are working great on my site via the HTTP API. Except that I don’t seem to be able to use subscribers_only with API submissions. With the user logged in to the site (https), CF7 nonce processing enabled, and subscribers_only on, sending a submission from the same browser gives an CF7 error saying that you must be logged in to submit the form.
    With subscribers_only off, it works fine. Does anyone have any tips on how to troubleshoot this?

    • This topic was modified 2 months ago by tocllc.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where on the site do you have the form having the issue?

    Thread Starter tocllc

    (@tocllc)

    Thank you for your quick response! It’s on a private dev server. I have emailed you an invitation to the site privately.

    The form is just on a test page via the shortcode. It works fine with subscriber_only true or false. The only issue I have is submitting via the HTTP API with subscriber_only set to true.

    Thank you for your help!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter tocllc

    (@tocllc)

    Apologies Mr. Takayuki. It’s not possible to give you access to the form page without logging in. It is possible to access the API URL I posted at this time, as subscribers_only is not turned on right now.

    Do you have any ideas as to what the problem might be with the API endpoint not recognizing that the browser from which the call is sent is actually logged in at that time? As mentioned above, I’ve also implemented the nonce filter you’ve posted, and the form on the page is working perfectly under all situations.

    Thank you for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.