Skip to content

Releases: SpectroCoin/OpenCart-Bitcoin-Payment-Gateway-Extension

1.0.0

17 Feb 11:09
92967dc
Compare
Choose a tag to compare

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 extension. The previous private key and merchant ID functionality have been deprecated.

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.

Reworked: SpectroCoin callback handling was reworked. Added appropriate callback routing for success, fail and callback.

Updated: Instead of using outdated addOrderHistory for changing the order status, we now use the new addHistory method.

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.

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 Enhanced the style of the admin's payment settings window to match the design of SpectroCoin.com, providing a more cohesive user experience.

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

Added Settings field sanitization.

Added Settings field validation. In this case we minimized possible error count during checkout, SpectroCoin won't appear in checkout until settings validation is passed.

Added "spectrocoin_" prefix to functiton names.

Added "SpectroCoin_" prefix to class names.

Added Validation and Sanitization when request payload is created.

Added Validation and Sanitization when callback is received.

Added Components class "SpectroCoin_FormattingUtil" changed to "SpectroCoin_Utilities".

Added Appropriate error logging to OpenCart admin.

Added API error form.

Optimised: Removed the The whole $_REQUEST stack processing. Now only needed callback keys is being processed.