Bitcoin Payment Extension for WP WooCommerce

توضیحات

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.

Plugin is now compatible with the new block-based cart, checkout, and order confirmation functionality introduced in WooCommerce 8.3.

Benefits

  1. Accept Multiple Cryptocurrencies: Easily add BTC, ETH, USDT, and 25+ other cryptocurrencies to your WooCommerce site.
  2. Seamlessly integrate the plugin into your existing WooCommerce store without any hassle.
  3. Attract customers from around the world with secure crypto payment options.
  4. Avoid price volatility by settling payments in EUR, USD, GBP, or 20+ supported fiat currencies.
  5. Ensure safe and secure crypto transactions for you and your customers.
  6. Offer a wide range of payment methods to appeal to tech-savvy customers.
  7. Embrace the growing trend of crypto payments, building trust among your audience.
  8. Receive prompt assistance from SpectroCoin’s exceptional customer support team.

How to get API credentials

  1. Sign up for a Spectroin Account.

  2. Log in to your Spectroin account.

  3. On the dashboard, locate the “Business” tab and click on it.

  4. Click on “New project.”

  5. Fill in the project details and select desired settings (settings can be changed).

  6. 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.

  7. Click “Submit”.

  8. Copy and paste the Merchant ID and Project ID.

  9. 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.

Remove plugin

  1. WordPress dashboard -> Plugin -> Installed Plugins.
  2. Search for SpectroCoin plugin and click “Deactivate”.
  3. Click “Delete”.

عکس‌های صفحه

  • How to access plugin settings.
  • SpectroCoin checkout option.
  • SpectroCoin Plugin settings window.
  • Payment window.
  • Payment window.

نصب

  1. Install WooCommerce plugin and configure your store (if you haven’t done so already – https://wordpress.org/plugins/woocommerce/).

  2. Download SpectroCoin plugin or upload SpectroCoin plugin directory to the /wp-content/plugins/ directory.

  3. Generate private key (Automatically via SpectroCoin.com)

See detailed guide “How to get API credentials” below.

  1. Generate private key (Manually using OpenSSL)
    1. Private key:
      shell
      # generate a 2048-bit RSA private key
      openssl genrsa -out "C:\private" 2048
  2. Activate the plugin through the WordPress dashboard -> Plugins -> Activate.
    When page reloads click on “Settings”.

  3. 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.

Which cryptocurrencies does your payment gateway support?
Currently our payment gateway supports more than 30 different cryptocurrencies that are based on ERC-20 network.

List of currently supported merchant currencies: Bitcoin (BTC), Ether (ETH), Tether (USDT), USD Coin (USDC), Aave (AAVE), Basic Attention Token (BAT), Banker (BNK), Binance (BUSD), Chiliz (CHZ), Compound (COMP), Dai (DAI), DASH (DASH), Enjin Coin (ENJ), The Graph (GRT), Holo (HOT), Chainlink (LINK), Decentraland (MANA), Mask Network (MASK), Polygon (MATIC), Maker (MKR), The Sandbox (SAND), Shiba Inu (SHIB), Synthetic (SNX), SushiSwap (SUSHI), True USD (TUSD), UMA (UMA), Uniswap (UNI), PAX Dollar (USDP), Wrapped BTC (WBTC), NEM (XEM), 0x (ZRX).

Can I accept Euro (EUR) or Dollar (USD) using Spectrocoin’s payment gateway?
No, our payment gateway allows users to accept cryptocurrencies only. Though, our merchants can automatically convert all payments that are received via our payment gateway to any other supported currencies on Spectrocoin (FIAT currencies included).

What fees do I have to pay in order to use your cryptocurrency payment gateway?
Every merchant payment will be counted up to 1%. The percentage depends on the type of business and the frequency of payments. There are no other setup or maintenance fees when using our payment gateway!

I want to start accepting cryptocurrencies on my website, what are the steps that I have to take?
In order to integrate our crypto payment gateway our clients have to go through a few simple steps: create an account, verify it, create a merchant project and use its details to connect it to the website where you want to start accepting cryptocurrencies. All of the steps explained in more detail can be found here: https://spectrocoin.com/en/faqs/merchants-and-payment-processing/how-can-i-register-as-a-merchant.html

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.

نقد و بررسی‌ها

13 اکتبر 2023
For me crypto currency was always a mystery, but also very interesting. I recently opened my store and wanted to add something new, so I found this plugin. The set up is very easy and straightforward.
12 اکتبر 2023
Awesome plugin if you are looking for crypto payment gateway for your woocommerce shop. Took 5 minutes to set it up and customer support was very helpful in answering all of my questions 🙂
30 ژوئن 2017
Not good compared to bitpay plugin. 1. The orders are stuck in "on hold" status. They don't send confirmation for sure. It is broken. 2. Spectrocoin gateway page does not allow to copy paste bitcoin address and value for people who want to pay from their wallet application on a website or software.
3 سپتامبر 2016
Features Needed ----------------------------------- 1) No option to show company logo on the payment page. 2) Real name in your account is shown on payment page even if you are a business. 3) Default conversion currency is EUR. 4) No option to select the timeout period. It defaults to 24 hours which can lead to inventory being in limbo awaiting payment before it fails. 5) No overpayment or underpayment handling. 6) No ability to hide the language translations, select alternate ones, or choose a default language. Bugs/Issues ----------------------------------- Gateway can take 10 seconds before showing the payment options. Not sure if this is a plugin, or server issue. Probably a server issue.
خواندن تمامی 4 نقد و بررسی‌

توسعه دهندگان و همکاران

“Bitcoin Payment Extension for WP WooCommerce” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Bitcoin Payment Extension for WP WooCommerce” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

Version 1.5.0 MINOR (02/05/2024):

Added: Compatibility with the new block-based checkout functionality introduced in WooCommerce 8.3.

Fixed: Deprecated functions/methods/variables.

Removed: Empty instructions variable, if needed, it will be added in future versions.

Fixed: Compatibility with “High-Performance Order Storage” introduced in WooCommerce 8.2.

Added: Test mode checkbox. When enabled, if order callback is received, then test order will be set to selected order status (by default – “Completed”). Also SpectroCoin payment option will be visible only for admin user.

Added: Messages related with order processing to order notes.

Fixed: “Failed” status with failed and expired orders.

Version 1.4.1 PATCH (01/26/2024):

Removed: Plugin dependency from plugin directory names.

Fixed: Fatal error for new installations.

Version 1.4.0 MINOR (01/03/2024):

This update is significant to plugin’s security and stability. The posibility of errors during checkout is minimized, reduced posibility of XSS and SQL injection attacks.

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: Admin notice in admin plugin settings for all fields validation.

Added: Escaping all output variables with appropriate functions.

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_ValidationUtil” for specific validation functions.

Added: Logging to WordPress log when errors occur.

Added: Logging to WooCommerce status log when errors occur.

Fixed: is_available() function sometimes returned false, even if all settings were correct.

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

Updated: Removed hardcoded notice display from admin_options() function.

Updated: spectrocoin_admin_error_notice() function, added additional parameter to allow hyperlink display. Also the notice will be displayed once and won’t be displayed in other admin screens except SpectroCoin settings.

Version 1.3.0 MINOR (10/04/2023):

Fixed: Replaced hardcoded order statuses in plugin settings.

Added: Custom order statuses created manually or using plugins will appear in SpectroCoin settings menu.

Added: During checkout, if error is occured, now client will see the error code and message instead of generic error message.

Added: Now plugin checks the FIAT currency, if it is not supported by SpectroCoin, payment will not be available.

Added: Added admin notice in admin plugin settings to notify that shop currency is not supported by SpectroCoin.

Version 1.2.0 MINOR (09/10/2023):

Added: Implemented plugin string internationalization, for plugin translation to various languages.

Added: Included two additional links within admin window connecting to official wordpress.org website to easily rate, leave feedback and report bugs.

Tested: Tested and checked compatibility with WordPress 6.3 and WooCommerce 8.0.1

Modified: Added style changes in settings window

For Developers: Added documentation with parameters and return variables before every function

Version 1.1.0 (07/31/2023):

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.

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.