Support ticket issues

Hello, we've recently installed the WHMCS WP Integration plugin and have setup a "client area". The plugin appears to work as described, but when I log-in and attempt to submit a support ticket, nothing happens. I don't get an error and I never see a thank you page or message either... not sure what exactly is wrong. Any suggestions?

  • aecnu
    • WP Unicorn

    Greetings jwmmarketing,

    Welcome to WPMU Dev!

    Thank you for this great question and bringing this significant issue to our attention.

    Have you checked for any anomalies from the WHMCS script site? In other words have you tried to submit a support ticket on the main WHMCS script site? Or is it working flawlessly there?

    Does the main site have SSL by any chance?

    Please advise.

    Cheers, Joe

  • jwmmarketing
    • New Recruit

    Thanks for the reply... everything is working fine in WHMCS. I can log-in as a customer there and submit a support ticket and I receive the thank you response with the ticket number and it shows up in the admin section like it should. Also, there isn't any SSL setup on WHMCS either.

    I can log into the same customer account through the WP Plugin and see the tickets that are submitted when I enter them directly through WHMCS... so the plugin is showing them correctly, but not submitting them correctly.

  • aecnu
    • WP Unicorn

    Greetings jwmmarketing,

    Thank you for the additional feedback, it is greatly appreciated.

    Please post the WP URL so that we may take a look at your WHMCS WP Integration and of course if I do not spot anything the lead developer will need it for sure when I call him in here.

    Furthermore the URL to the main WHMCS installation front page would be great too.

    Please advise.

    Cheers, Joe

  • aecnu
    • WP Unicorn

    Greetings jwmmarketing,

    Indeed I visited your site again and tried to submit a ticket but found that I have to have log in credentials to access the support system and I did not see anyplace to "subscribe" to the system without placing an order.

    Great looking site by the way.

    I cannot see anything from the outside as an issue and though I could try to confirm the issue, I certainly am not a coder enough to fix it.

    Therefore I will see if I can get the lead developer in here with his invaluable insight into this plugin for his advice/advise for us.

    Though this may take a bit longer then a normal ticket, I will try to get him in here asap.

    Cheers, Joe

  • jwmmarketing
    • New Recruit

    I deactivated CloudFlare as you mentioned above and I checked the class-http.php file and the only instance of the "WHMCS" in the file was in a comment as follows:

    if(apply_filters('http_api_redirect', true)) //Added by WHMCS Integration

    So, I'm not sure this was installed correctly. I went ahead and removed the installation completely and reinstalled using the WPMUDEV Dashboard > Plugins and installed from there. Installation went smoothly and it shows as v1.1.2 again, but still no dice on the support ticket and the class-http.php file is still only showing the single instance of "WHMCS" above.

  • Arnold
    • El Macho WP

    That would mess it up if you don't have both. Easiest way since it's apparently trying to patch it would be go to updates and reinstall Wordpress. Or put an original copy of class-http.php back in and run the ticket. It will automatically repatch it.

  • Arnold
    • El Macho WP

    You can also do it manually. At around line 1128 add this filter line

    curl_setopt( $handle, CURLOPT_FILE, $stream_handle );
    }
    
     $r['headers'] = apply_filters('http_curl_headers', $r['headers']); //Added by WHMCS Integration
    
      if ( !empty( $r['headers'] ) ) {
      // cURL expects full header strings in each element

    Only the line starting with $r['headers'] is added. The rest is there for context.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.