PHPackages                             spectrocoin/whmcs-merchant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. spectrocoin/whmcs-merchant

ActiveWhmcs-gateways[Payment Processing](/categories/payments)

spectrocoin/whmcs-merchant
==========================

SpectroCoin cryptocurrency payment gateway for WHMCS

747[3 issues](https://github.com/SpectroCoin/WHMCS-Bitcoin-Payment-Gateway-Plugin/issues)PHPCI passing

Since Nov 20Pushed 9mo ago4 watchersCompare

[ Source](https://github.com/SpectroCoin/WHMCS-Bitcoin-Payment-Gateway-Plugin)[ Packagist](https://packagist.org/packages/spectrocoin/whmcs-merchant)[ RSS](/packages/spectrocoin-whmcs-merchant/feed)WikiDiscussions master Synced today

READMEChangelog (4)DependenciesVersions (1)Used By (0)

SpectroCoin WHMCS Crypto Payment Extension
==========================================

[](#spectrocoin-whmcs-crypto-payment-extension)

Integrate cryptocurrency payments seamlessly into your WHMCS store with the [SpectroCoin WHMCS Payment Extension](https://spectrocoin.com/en/plugins/accept-bitcoin-whmcs.html). This extension facilitates the acceptance of a variety of cryptocurrencies, enhancing payment options for your customers. Easily configure and implement secure transactions for a streamlined payment process on your WHMCS website.

Installation
------------

[](#installation)

1. Download latest release from github.
2. Extract the contents of the zip file.
3. Access WHMCS site root directory via ftp and navigate to */modules/gateways/*, upload *spectrocoin*, *spectrocoin.php*, *logo.png* and *whmcs.json*
4. While in the same directory, navigate to */callback/* folder and upload *spectrocoin.php* file.
5. From WHMCS admin dashboard navigate to **Addons** -&gt; **Apps &amp; Integrations** -&gt; **Payment Gateways** -&gt; **All Payment Gateways** -&gt; **Browse** -&gt; **Payments** -&gt; **SpectroCoin** -&gt; **Manage**.
6. Move to section [Setting up](#setting-up).

Setting up
----------

[](#setting-up)

1. **[Sign up](https://auth.spectrocoin.com/signup)** for a SpectroCoin Account.
2. **[Log in](https://auth.spectrocoin.com/login)** to your SpectroCoin account.
3. On the dashboard, locate the **[Business](https://spectrocoin.com/en/merchants/projects)** tab and click on it.
4. Click on **[New project](https://spectrocoin.com/en/merchants/projects/new)**.
5. Fill in the project details and select desired settings (settings can be changed).
6. Click **"Submit"**.
7. Copy and paste the "Project id".
8. Click on the user icon in the top right and navigate to **[Settings](https://test.spectrocoin.com/en/settings/)**. Then click on **[API](https://test.spectrocoin.com/en/settings/api)** and choose **[Create New API](https://test.spectrocoin.com/en/settings/api/create)**.
9. Add "API name", in scope groups select **"View merchant preorders"**, **"Create merchant preorders"**, **"View merchant orders"**, **"Create merchant orders"**, **"Cancel merchant orders"** and click **"Create API"**.
10. Copy and store "Client id" and "Client secret". Save the settings.

Test order creation on localhost
--------------------------------

[](#test-order-creation-on-localhost)

We gently suggest trying out the plugin in a server environment, as it will not be capable of receiving callbacks from SpectroCoin if it will be hosted on localhost. To successfully create an order on localhost for testing purposes, **change these 3 lines in *CreateOrderRequest.php***:

```
$this->callbackUrl = isset($data['callbackUrl']) ? Utils::sanitizeUrl($data['callbackUrl']) : null;,
$this->successUrl = isset($data['successUrl']) ? Utils::sanitizeUrl($data['successUrl']) : null;,
$this->failureUrl = isset($data['failureUrl']) ? Utils::sanitizeUrl($data['failureUrl']) : null;
```

**To**

```
$this->callbackUrl = "https://localhost.com/";,
$this->successUrl = "https://localhost.com/";,
$this->failureUrl = "https://localhost.com/";
```

Don't forget to change it back when migrating website to public.

Testing Callbacks
-----------------

[](#testing-callbacks)

Order callbacks in the SpectroCoin plugin allow your WordPress site to automatically process order status changes sent from SpectroCoin. These callbacks notify your server when an order’s status transitions to PAID, EXPIRED, or FAILED. Understanding and testing this functionality ensures your store handles payments accurately and updates order statuses accordingly.

1. Go to your SpectroCoin project settings and enable **Test Mode**.
2. Simulate a payment status:
    - **PAID**: Sends a callback to mark the order as **Completed** in WordPress.
    - **EXPIRED**: Sends a callback to mark the order as **Failed** in WordPress.
3. Ensure your `callbackUrl` is publicly accessible (local servers like `localhost` will not work).
4. Check the **Order History** in SpectroCoin for callback details. If a callback fails, use the **Retry** button to resend it.
5. Verify that:
    - The **order status** in WordPress has been updated accordingly.
    - The **callback status** in the SpectroCoin dashboard is `200 OK`.

Contact
-------

[](#contact)

This client has been developed by SpectroCoin.com If you need any further support regarding our services you can contact us via:

E-mail:
Skype: [spectrocoin\_merchant](https://join.skype.com/invite/iyXHU7o08KkW)
[Web](https://spectrocoin.com)
[X (formerly Twitter)](https://twitter.com/spectrocoin)
[Facebook](https://www.facebook.com/spectrocoin/)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 53.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef0e5a1d6d4825db2c7013f8332514e9b9417b631974cabb4eb8e0f8a8e6b48b?d=identicon)[spectrocoin](/maintainers/spectrocoin)

---

Top Contributors

[![SteinCode](https://avatars.githubusercontent.com/u/94236278?v=4)](https://github.com/SteinCode "SteinCode (30 commits)")[![jdojff](https://avatars.githubusercontent.com/u/8099887?v=4)](https://github.com/jdojff "jdojff (10 commits)")[![devops-primary](https://avatars.githubusercontent.com/u/9993519?v=4)](https://github.com/devops-primary "devops-primary (8 commits)")[![ktamasauskas](https://avatars.githubusercontent.com/u/23361466?v=4)](https://github.com/ktamasauskas "ktamasauskas (6 commits)")[![andrijaitisTom](https://avatars.githubusercontent.com/u/73620305?v=4)](https://github.com/andrijaitisTom "andrijaitisTom (2 commits)")

### Embed Badge

![Health badge](/badges/spectrocoin-whmcs-merchant/health.svg)

```
[![Health](https://phpackages.com/badges/spectrocoin-whmcs-merchant/health.svg)](https://phpackages.com/packages/spectrocoin-whmcs-merchant)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
