Skip to content

Releases: SpectroCoin/WHMCS-Bitcoin-Payment-Gateway-Plugin

2.1.6

Choose a tag to compare

@github-actions github-actions released this 14 Aug 12:05
9db2902

Maintenance release. The callback now recognises the TEST order statuses, which were previously rejected.

2.1.5

Choose a tag to compare

@github-actions github-actions released this 13 Aug 16:27
f781671

Maintenance release. API calls now identify the plugin and its version. Renames the standalone check scripts so they are no longer picked up by PHPUnit's test discovery.

2.1.4

Choose a tag to compare

@github-actions github-actions released this 13 Aug 15:02
d3476b1

Maintenance release. The packaged plugin now includes its runtime dependencies.

2.1.3

Choose a tag to compare

@github-actions github-actions released this 13 Aug 14:46
da211a0

Maintenance release.

2.1.2

Choose a tag to compare

@github-actions github-actions released this 31 Jul 17:25
e274612

Maintenance pass over the payment callback handler.

  • Check the settlement currency and amount reported for the order against the invoice total and the client currency before the payment is recorded; only an underpayment is rejected, with a rounding tolerance.
  • A payload that carries no settlement amount is logged and passes through unchanged.
  • Stop reusing the $data variable for the invoice row - it still held the decoded JSON payload.

Invoice ownership and replay protection were already covered by checkCbInvoiceID() and checkCbTransID(), so nothing was added there.

Note for review: this file uses the legacy mysql_* helpers (mysql_fetch_array, mysql_fetch_assoc), as does spectrocoin/order.php. That predates this branch and relies on WHMCS's own shims; worth confirming it still holds on the WHMCS and PHP versions we support, because the PAID branch would fail there.

No code version field in this plugin, so nothing to bump. Needs a smoke test on both callback formats before release. Merging this fires the release workflow.

2.1.1

Choose a tag to compare

@github-actions github-actions released this 24 Jul 15:59
9ca963d

Security maintenance release.

  • Update guzzlehttp/guzzle 7.9.1 → 7.15.1
  • Update guzzlehttp/psr7 2.7.0 → 2.13.0

Resolves the open Dependabot advisories (moderate) via composer.lock. Dependency-only change; no functional changes. Supersedes Dependabot PRs #14 and #15.

2.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 08:52
ed5b25c

Added support for new JSON and old URL-encoded form data callbacks format. New callbacks will be automatically enabled with new SpectroCoin merchant projects created. With old projects, old callback format will be used. In the future versions old callback format will be removed.

2.0.0

Choose a tag to compare

@github-actions github-actions released this 20 Feb 12:19
ff3ae1b

This major update introduces several improvements, including enhanced security, updated coding standards, and a streamlined integration process. Important: Users must generate new API credentials (Client ID and Client Secret) in their SpectroCoin account settings to continue using the Module. The previous private key and merchant ID functionality have been deprecated.

Updated SCMerchantClient was reworked to adhere to better coding standards.

Updated Order creation API endpoint has been updated for enhanced performance and security.

Removed Private key functionality and merchant ID requirement have been removed to streamline integration.

Added OAuth functionality introduced for authentication, requiring Client ID and Client Secret for secure API access.

Added API error logging and message displaying in order creation process.

Migrated Since HTTPful is no longer maintained, we migrated to GuzzleHttp. In this case /vendor directory was added which contains GuzzleHttp dependencies.

Updated Class and some method names have been updated based on PSR-12 standards.

Updated Composer class autoloading has been implemented.

Added Config.php file has been added to store plugin configuration.

Added Utils.php file has been added to store utility functions.

Added GenericError.php file has been added to handle generic errors.

Added Strict types have been added to all classes.

Added Error logging using WHMCS in-build logActivity() function.

Added documentation with parameters and return variables before every function

Added validation and sanitization when request payload is created and also received.

Added validation and sanitization when callback is received.

Added Expired/Failed orders handling as "Cancelled" invoice status.

Changed success and failure URL's to clientarea.php?action=invoices'.

WHMCS-Bitcoin-Payment-Gateway-Plugin v1.1

Choose a tag to compare

@ktamasauskas ktamasauskas released this 20 Nov 14:25

In this version, we changed private key location. Now you should upload it directly to Plugin settings through admin dashboard and private key will be saved in your database.

WHMCS-Bitcoin-Payment-Gateway-Plugin v1.0

Choose a tag to compare

@ktamasauskas ktamasauskas released this 20 Nov 14:23
Update README.md