This plugin is an add-on for WooCommerce by SpectroCoin.
Bitcoin Payments for WooCommerce is a Wordpress plugin that allows to accept bitcoins at WooCommerce-powered online stores.
Welcome to the world of seamless cryptocurrency transactions on your WooCommerce site! With SpectroCoin’s innovative WordPress Bitcoin payment plugin, you can now accept a wide range of cryptocurrencies, including BTC, ETH, USDT, and over 25 other popular digital assets, right on your online store.
Why is this the perfect solution for WooCommerce users? If you are already using WooCommerce, integrating our plugin is the recommended method for venturing into the world of crypto payments. It opens up a whole new realm of possibilities, allowing customers to make secure and hassle-free purchases on your site.
Sign up for a Spectroin Account.
Log in to your Spectroin account.
On the dashboard, locate the “Business” tab and click on it.
Click on “New project.”
Fill in the project details and select desired settings (settings can be changed).
The Private Key can be obtained by switching on the Public key radio button (Private key won’t be visible in the settings window, and it will have to be regenerated in settings). Copy or download the newly generated private key.
Click “Submit”.
Copy and paste the Merchant ID and Project ID.
Generate a test product. Create a test page on your WordPress website with a payment form connected to the Spectroin payment gateway. Perform a trial transaction using the test payment gateway (Test mode can be activated in project settings) to validate the integration’s functionality. Verify the transaction details on the Spectroin dashboard to ensure it was successfully processed.
Note: Keep in mind that if you want to use the business services of SpectroCoin, your account has to be verified.
Install WooCommerce plugin and configure your store (if you haven’t done so already – https://wordpress.org/plugins/woocommerce/).
Download SpectroCoin plugin or upload SpectroCoin plugin directory to the /wp-content/plugins/
directory.
Generate private key (Automatically via SpectroCoin.com)
See detailed guide “How to get API credentials” below.
shell
# generate a 2048-bit RSA private key
openssl genrsa -out "C:private" 2048
Activate the plugin through the WordPress dashboard -> Plugins -> Activate.
When page reloads click on “Settings”.
Enter your Merchant Id, Project Id and Private key (see How to get API credentials).
Can I use this plug-in on more than one sites?
Absolutely.
If you have any questions please contact us at info@spectrocoin.com or skype us spectrocoin_merchant and We’ll be happy to answer them.
Version 1.0.0 (07/31/2023):
Fixed: Corrected a typo in the plugin’s description. Changed “aplugin” to “a plugin” for better clarity.
Added: Included a link to access SpectroCoin plugin settings directly from the plugin page. This enhancement provides users with easier access to the configuration options.
Updated: Implemented an “if” statement to handle compatibility with older PHP versions (PHP 8 and below) for the function openssl_free_key($public_key_pem). This change is necessary as PHP 8
deprecates openssl_free_key and now automatically destroys the key instance when it goes out of scope. (Source: https://stackoverflow.com/questions/69559775/php-openssl-free-key-deprecated)
Improved: In the WC_Gateway_Spectrocoin class, made changes to prevent deprecated messages related to the creation of dynamic properties. The properties (merchant_id, protected_id, private_key, and order_status) are now explicitly declared as protected, and getter functions are added to ensure better encapsulation. This update is particularly important for PHP version 8.2 and above.
Added: Specified a dependency on the WooCommerce plugin for the SpectroCoin plugin. The SpectroCoin plugin now requires WooCommerce to be installed and active on the site. If the user deletes or deactivates WooCommerce, a notice will be displayed, and the SpectroCoin plugin will be deactivated automatically.
Added: Enhanced the style of the admin’s payment settings window to match the design of SpectroCoin.com, providing a more cohesive user experience.
Added: Introduced an informative message on the admin page, guiding users on how to obtain the mandatory credentials required for using the SpectroCoin plugin effectively. This addition helps users easily find the necessary information for setup and configuration.