Jump to content

Problem with DevKit for Custom Gateways


eutelnet

Recommended Posts

Hi everyone,

I have already posted on Support, but seems like WHMCS asks me to pay them to speed it up.

 

Anyway, problem is with Dev Kit for gateways.

 

Think is in include section:

Current (v5) DevKit says

include("../../../dbconnect.php");
require_once("../../../includes/functions.php");
require_once("../../../includes/gatewayfunctions.php");
require_once("../../../includes/invoicefunctions.php");

 

This results in fatal error

Fatal error: Class 'WHMCS\Invoice' not found in includes/gatewayfunctions.php on line 0

 

Except fatal error, I didn't find dbconnect.php anymore since as it seems v6 is using Laravel's Eloquent package.

 

I have event tried to include autoloader, but then class DI in Application.php is not found.

 

Can we get an update for this, since our payment are down at this point.

Regards,

Nemanja

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated