dongping4901 2018-06-11 20:58
浏览 52

使用REST API将WHMCS与我的网站连接

please, I have just purchased a WHMCS licence to create a plugin. the idea is to send a request from WHMCS to my website to create an account on my website for the clients of the web hosting company who will use my module.

for example when a client purchases my product from the web hosting company. I must receive a request to create an account for the client. I want to know what I should create a Module or a Hook. or both so the idea it's very easy: if the hoster assign my product using the WHMCS, I must receive a request to create the client account on my server by the way I have an idea about WHMCS & REST API. just I want to know the concept what should I create a module or a hook. thanks for the help

  • 写回答

1条回答 默认 最新

  • dpi10335 2018-06-13 09:04
    关注

    In WHMCS you will create a Product and assign Provisioning Module to it.

    For example, WHMCS has built-in cPanel module. The company will create, for example, Linux Plan 1 in Setup > Products and Services. Then in the product page, under Module Settings tab, you choose your module.

    If you check the documentation, there is CreateAccount function that you will use to write code to create client in your side, using API or cURL.

    评论

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程