With the launch of the Electroneum Instant Payments API, it is now possible to accept Electroneum as payment on WooCommerce via an easy-to-install plugin. The plugin ties seamlessly into the WooCommerce cart software and guides the customer through the entire payment process.
Features
Among other things, the plugin has the following features:
- It shows an Electroneum QR code to the customer on checkout, which the customer can then scan with his Electroneum app or click to open the app (on mobile) or the web-based wallet manager (on desktop).
- Payment confirmation is checked in the background, and a success image is displayed automatically immediately once the customer has sent the payment.
- The plugin supports multiple ways of checking for payment and can work with your unique server setup.
Installation
Plugin installation is extremely easy. Simply search, install, activate, and configure your vendor settings. And you’re good to go! Note that you must have WooCommerce installed for this to work.
Let’s walk through it step-by-step:
Install and Activate
Log in to your site’s WordPress dashboard and navigate to Plugins -> Add New.
Search for “electroneum woocommerce” in the Search plugins box, and look for the plugin called Electroneum Instant Payments for Woocommerce (by Electroneum101). Click on Install, and then Activate.
Alternatively, you can download the plugin from the WordPress plugin directory, upload to your site, install, and activate.
Setup Electroneum Vendor Account
Visit the Electroneum vendor page (requires login) or click on the Vendor Settings link in the navigation menu of the web wallet. If you’ve not already set up a vendor account, click on Enable BETA Access.
Follow the steps to complete your business profile, including name, address, and contact representative information.
If you are asked to insert an API webhook URL, type in the following:
https://yoursite.com/wc-api/electroneum_ips_gateway/
…and replace yoursite.com
with your own site’s main URL. Note that you must use an HTTPS address for this to work.
You will also need to create at least one vendor outlet (an outlet is a unique point of purchase – i.e. if you sell on two websites, you will need to create two outlets).
Configuring your Settings
We are now ready to configure the plugin. In your WordPress dashboard, click on Electroneum IPS in the left-hand column. This will take you to the payment settings page in WooCommerce.
Now enter your unique API key and API secret as displayed on your vendor settings page. The API key starts with key_live_ and is 32 characters long, while the API secret starts with sec_live_ and is 64 characters long.
Also enter the unique 13-character vendor outlet ID as found on the vendor outlets page.
Finally, press the Save changes button to save your configuration.
As a final check, make sure that the API webhook URL on the vendor settings page is set to:
https://yoursite.com/wc-api/electroneum_ips_gateway/
…with yoursite.com
being your own site’s main URL.
And you’re good to go! Your store can now accept Electroneum as a form of payment, and any payments will be paid directly into your online Electroneum wallet.
Help Us Develop
This plugin is still in beta testing phase. If you have any suggestions or want to contribute to the code, please visit the project’s Github repository.
What about mobile sites? How can I scan my device screen?
Very good question… The QR code is also clickable. When you click it on a device with Electroneum installed, it opens the app with the correct transaction loaded for confirmation. There is text underneath the QR code that directs the reader to click the QR code.