Nimiq Checkout for WooCommerce
A plugin for WordPress WooCommerce to handle payments in the Nimiq (NIM) cryptocurrency.
Automatic currency conversion from supported store currencies to NIM during checkout
Automatic transaction validation and WooCommerce order status updates
Configurable conversion and validation service providers
Configurable confirmation times with sane defaults
Includes the NIM currency for WooCommerce
Automatic Currency Conversion
This plugin can automatically convert from your store currency to NIM during checkout. Here is a list of supported currencies for the included conversion services:
Order Status Updates
After an order is submitted using the Nimiq payment method, the order is placed “on-hold”. Transactions are validated automatically on a short interval, and can also be validated manually with a Validate Transactions bulk action from the Orders admin page. When a transaction is validated, the order status changes to “processing”.
Adding A New Validation Service
Validation services are defined under
https://wordpress.org/plugins/woo-nimiq-gateway/validation_services/. Each service class must implement the
WC_Gateway_Nimiq_Service_Interface, defined in
https://wordpress.org/plugins/woo-nimiq-gateway/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
validation_service 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.
This Nimiq gateway is based on skyverge’s WooCommerce Offline Gateway, which in turn forks the WooCommerce core “Cheque” payment gateway.
Be sure you’re running WooCommerce 3.5 or higher in your shop.
Upload the latest release .zip file with the plugin files under Plugins > Add New > Upload.
Activate the plugin through the Plugins menu in WordPress.
Go to WooCommerce > Settings > Payments and select the “Nimiq” method to configure this plugin.