Skip to content

2.0.0

Choose a tag to compare

@github-actions github-actions released this 20 Feb 12:19
· 18 commits to master since this release
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'.