定制 mijnpartnergroep-nl/whmcs-sidn-suggestion-tool 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mijnpartnergroep-nl/whmcs-sidn-suggestion-tool

Composer 安装命令:

composer require mijnpartnergroep-nl/whmcs-sidn-suggestion-tool

包简介

This module allows you to show accurate .nl domain suggestions to your customers

README 文档

README

SIDN Suggestion module for WHMCS

Requirements and Authorization

To use the API you must request access by sending a request to support@sidn.nl or contacting your SIDN representative. When approved you will be provided with access to the API. The API uses the Client Authorization flow for server-side authorization. To start the authorization flow, you need to request a clientId and clientSecret. You can request these from SIDN Support.

Installation

Initial setup

The easiest way to install this addon is by downloading the zip file from the releases and upload it's contents to the root of your WHMCS installation.

After this go to the folder using a cli to execute the following command: composer install, which will install the required dependensies.

Template

This module assumes the following template to be available inside the /templates/orderforms/standard_cart/domainregister.tpl or at the location for your own template:

<div class="sidn-suggestions suggested-domains">
    <div class="panel-heading card-header">
        {$suggestiontool_title}
    </div>
    <div class="list-group">
        <div class="domain-suggestion list-group-item w-hidden">
            <span class="domain"></span><span class="extension"></span>
            <div class="actions">
                <span class="price"></span>
                <button type="button" class="btn btn-add-to-cart" data-whois="1" data-domain="">
                    <span class="to-add">{$LANG.addtocart}</span>
                    <span class="loading">
                        <i class="fas fa-spinner fa-spin"></i> {lang key='loading'}
                    </span>
                    <span class="added"><i class="far fa-shopping-cart"></i> {lang key='checkout'}</span>
                </button>
            </div>
        </div>
    </div>
</div>

Furthermore add the following line in the bottom of the same file:

<script src="{$sidnscriptpath}" type="text/javascript"></script>

Configuration

Login to the admin dashboard and go to System settings > Addon modules

Click activate for the SIDN Suggestion Tool module.

Now go to Configure and fill in the Client ID and Client Secret as aquired by SIDN and explained in the section Requirements and Authorization above.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固