Accept Electroneum Instant Payments on your WooCommerce store.
Screenshots
The Electroneum QR code as displayed to the customer on checkout.
The success message after payment has been confirmed.
Plugin settings page, where you can enter your Electroneum vendor details.
FAQ
Where do I sign up as an Electroneum Vendor?
Navigate to the Electroneum user vendor page and follow the prompts to enter your details and create a vendor outlet.
Where do I get my API credentials?
After signing up as a vendor on Electroneum’s website, your API key and API secret will be displayed on the user vendor page. Your vendor outlet ID will be displayed on the outlets page.
What is an API Webhook?
The API Webhook is a web address that you enter on your Electroneum vendor page, that points to a background page on your website. Electroneum sends payment information to this page every time a customer has made a payment. This enables automatic checking for payment confirmation in the background and streamlines the front-end user experience.
How do I set my API Webhook?
Navigate to the Electroneum user vendor page and insert the following webhook in the appropriate field:
https://yoursite.com/wc-api/electroneum_ips_gateway/
…replacing yoursite.com with your website’s main URL. Note that this URL must start with https://
What is the use of the “I’ve Made the Payment Button”?
Although the payments page will update automatically when a payment is received, the button is left in place for users who don’t have Javascript implemented, and for instances where the web developer has failed to enter the webhook callback URL on Electroneum’s website, or made a typo. Basically, the button serves as a backup for possible technology failures.
When using Safari, the payment page does not update automatically with a successful payment. What’s wrong?
The way in which the Safari browser treats SSL security certificates may cause front-end AJAX Javascript to fail and therefore the payment page won’t display a success message automatically, even though everything else works perfectly. A fix for this is to add the following line to your server’s .htaccess file:
BrowserMatch "Safari" nokeepalive
If you’re using an Nginx server, you can edit your server configuration by adding this code.
Note that customers can still get around this by clicking the “I’ve Made the Payment” button after payment, which should show them a success message.
ChangeLog
1.1.6
- Fix – Replaces URL for QR code generator service following deprecation of Google’s QR code server
1.1.5
- Fix – Implemented a fix that checks the ETN amount sent before confirmining the transaction
1.1.4
- Feature – More verbose order notes to inform store owner of payment progress (visible on order page in WordPress dashboard).
- Fix – Error messages are no longer persistent when saving API keys on settings page
- Fix – Implemented workaround for servers who don’t allow opening of external files from the web (e.g. file_get_contents)
- Fix – Implemented workaround for functions not available in older PHP versions
- Tweak – Checks if native store currency is supported by ETN and shows appropriate errors if not
- Tweak – Security improvements on the order page
- Tweak – Style improvements
- Other – Word order, grammar, and other miscellaneous improvements
1.1.3
1.1.2
- Fix – Fix path to Javascript libraries
1.1.0
- Feature – Automatic checking for payment confirmation in the background
- Tweak – Improved order flow for better user experience and cart-retention