Jump to content

Invalid Domain Name Provided after Addon is Activated


enginbakir

Recommended Posts

Hello,

I am trying to develop an addon.

There is a problem with this addon that makes whmcs not working properly.

There are some hooks in this addon such as AcceptOrder, ClientAdd, AfterRegistrarRegistration etc. these hooks works without any error.

also I have used  Capsule::connection()->getPdo() function to interact with DB.

WHMCS version 7.6

So here is the problem.

after activating the addon If I come to client area to buy a product and click test product then it redirect me to a new page to choose a domain. 

I can choose the option register a new domain . but I cannot choose the option use my existing domain. after writing the name of domain and clicking use button this error happens and cannot view cart.

 onerror.png.3b39698078705d70e22858a706174b24.png

After deactivating the addon everythings work fine and cart appears..

 oncart.png.3243d5f87e323f205bb3bb48178b488d.png

Do you have any idea why is this happening ?

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