nimiq / woocommerce-gateway-nimiq

A plugin for WooCommerce to handle payments with Nimiq (NIM), Bitcoin (BTC) and Ethereum (ETH).

Home Page:https://wordpress.org/plugins/woo-nimiq-gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cryptocurrency Checkout by Nimiq

Cryptocurrency Checkout by Nimiq for WooCommerce

A plugin for Wordpress to handle WooCommerce payments in the Nimiq (NIM), Bitcoin (BTC), and Ethereum (ETH) cryptocurrency.

Features Include:

  • Bitcoin, Ethereum and Nimiq support
  • Automatic conversion from supported store currencies like USD or EUR to crypto at latest market prices
  • Full order status feedback in your WooCommerce panel
  • Decentralized and non-proprietary
  • Configurable conversion and validation service providers
  • Configurable confirmation times with sensible defaults

Installation

  1. Be sure you're running WooCommerce 3.5 or higher in your shop.
  2. Search for "nimiq" in your Wordpress plugin section
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Go to WooCommerce > Settings > Payments and select the "Nimiq" method to configure this plugin.

Check this in-depth tutorial for support.

Changelog

Please see the Changelog section in readme.txt.

Development

Adding A New Validation Service

Validation services are defined under ./validation_services/. Each service class must implement the WC_Gateway_Nimiq_Validation_Service_Interface, defined in ./validation_services/interface.php. The easiest way to start is to take an existing service (e.g. nimiq_watch.php) and rename and adapt it to the new service. The new service then also needs to be registered in the respective validation_service_<currency> setting. The value of the setting must match the file name (without the .php extension) of the service definition. If the new service requires additional setting fields, settings.js also needs to be adapted to show/hide those fields conditionally.

Acknowledgement

This Nimiq gateway is based on skyverge's WooCommerce Offline Gateway, which in turn forks the WooCommerce core "Cheque" payment gateway.

About

A plugin for WooCommerce to handle payments with Nimiq (NIM), Bitcoin (BTC) and Ethereum (ETH).

https://wordpress.org/plugins/woo-nimiq-gateway

License:GNU General Public License v3.0


Languages

Language:PHP 92.0%Language:JavaScript 4.7%Language:CSS 3.2%Language:Shell 0.1%