Haven Protocol Gateway for WooCommerce

Haven Protocol Gateway for WooCommerce

Wordpress plugin

Install on Wordpress

App Details

  • Payment validation done through either haven-wallet-rpc or the explorer.havenprotocol.org blockchain explorer.
  • Validates payments with cron, so does not require users to stay on the order confirmation page for their order to validate.
  • Order status updates are done through AJAX instead of Javascript page reloads.
  • Customers can pay with multiple transactions and are notified as soon as transactions hit the mempool.
  • Configurable block confirmations, from 0 for zero confirm to 60 for high ticket purchases.
  • Live price updates every minute; total amount due is locked in after the order is placed for a configurable amount of time (default 60 minutes) so the price does not change after order has been made.
  • Hooks into emails, order confirmation page, customer order history page, and admin order details page.
  • View all payments received to your wallet with links to the blockchain explorer and associated orders.
  • Optionally display all prices on your store in terms of Haven Protocol.
  • Shortcodes! Display exchange rates in numerous currencies.

Requirements

  • Haven Protocol wallet to receive payments – PRODUCTS
  • BCMath – A PHP extension used for arbitrary precision maths

Installing the plugin

  • Download the plugin from the releases page or clone with git clone https://github.com/haven-protocol-org/haven-woocommerce-gateway
  • Unzip or place the haven-woocommerce-gateway folder in the wp-content/plugins directory.
  • Activate “Haven Protocol Woocommerce Gateway” in your WordPress admin dashboard.
  • It is highly recommended that you use native cronjobs instead of WordPress’s “Poor Man’s Cron” by adding define('DISABLE_WP_CRON', true); into your wp-config.php file and adding * * * * * wget -q -O - https://yourstore.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 to your crontab.
  • Your store’s currency needs to be set to a supported xAsset currency in WooCommerce > Settings > General – Currency (currently USD, EUR, CNY, GOLD)
  • Switch on Haven as a Payment method in WooCommerce > Settings > Payment
  • Note: The receiving wallet should be not be used to make payments to the store.

Option 1: Use your wallet address and viewkey

This is the easiest way to start accepting Haven Protocol on your website. You’ll need:

  • Your Haven Protocol wallet address starting with hvx
  • Your wallet’s Private View Key

Then click the Show Keys button and copy the Private View Key option in the settings page and paste your address and viewkey. You’re all set!

Note on privacy: when you validate transactions with your private viewkey, your viewkey is sent to (but not stored on) https://explorer.havenprotocol.org/ over HTTPS. This could potentially allow an attacker to see your incoming, but not outgoing, transactions if they were to get his hands on your viewkey. Even if this were to happen, your funds would still be safe and it would be impossible for somebody to steal your money. For maximum privacy use your own haven-wallet-rpc instance.

Option 2: Using `haven-wallet-rpc`

The most secure way to accept xUSD, xEUR and other xAssets on your website. You’ll need:

After downloading (or compiling) the Haven Protocol binaries on your server, install the systemd unit files or run havend and haven-wallet-rpc with screen or tmux. You can skip running havend by using a remote node with haven-wallet-rpc by adding --daemon-address https://vault.havenprotocol.org to the haven-wallet-rpc.service file.

Note on security: using this option, while the most secure, requires you to run the Haven wallet RPC program on your server. Best practice for this is to use a view-only wallet since otherwise your server would be running a hot-wallet and a security breach could allow hackers to empty your funds.

Configuration

  • Enable / Disable – Turn on or off Haven Protocol gateway. (Default: Disable)
  • Title – Name of the payment gateway as displayed to the customer. (Default: Haven Protocol Gateway)
  • Discount for using Haven Protocol – Percentage discount applied to orders for paying with Haven Protocol. Can also be negative to apply a surcharge. (Default: 0)
  • Order valid time – Number of seconds after order is placed that the transaction must be seen in the mempool. (Default: 3600 [1 hour])
  • Number of confirmations – Number of confirmations the transaction must recieve before the order is marked as complete. Use 0 for nearly instant confirmation. (Default: 5)
  • Confirmation Type – Confirm transactions with either your viewkey, or by using haven-wallet-rpc. (Default: viewkey)
  • Haven Protocol Address (if confirmation type is viewkey) – Your public Haven Protocol address starting with 4. (No default)
  • Secret Viewkey (if confirmation type is viewkey) – Your private viewkey (No default)
  • Haven Protocol wallet RPC Host/IP (if confirmation type is haven-wallet-rpc) – IP address where the wallet rpc is running. It is highly discouraged to run the wallet anywhere other than the local server! (Default: 127.0.0.1)
  • Haven Protocol wallet RPC port (if confirmation type is haven-wallet-rpc) – Port the wallet rpc is bound to with the --rpc-bind-port argument. (Default 18080)
  • Testnet – Check this to change the blockchain explorer links to the testnet explorer. (Default: unchecked)
  • SSL warnings – Check this to silence SSL warnings. (Default: unchecked)
  • Show QR Code – Show payment QR codes. (Default: unchecked)
  • Show Prices in Haven Protocol – Convert all prices on the frontend to Haven Protocol. Experimental feature, only use if you do not accept any other payment option. (Default: unchecked)
  • Display Decimals (if show prices in Haven Protocol is enabled) – Number of decimals to round prices to on the frontend. The final order amount will not be rounded and will be displayed down to the nano Haven Protocol. (Default: 12)

Shortcodes

This plugin makes available a [haven-accepted-here] shortcode that you can use in your theme.

Haven accepted here badge

This will display a badge showing that you accept Haven-currency.

[haven-accepted-here] 

Setting up a wallet

The easiest and quickest way is to visit the Haven web wallet for an in depth guide visit the Haven Protocol knowledge base

Donations

By donating to the following Haven address, you are supporting the Haven Project

any haven-currency: hvxy8SJK1xoEMZv7wyDspxH8gwTwcRvhVRaLQhq4o8rPYoGA8c6Q9Ey9KFNhQUZcn62q9jZTuU5E2QpoXDM63jyy6YAHZwV1Db

Thank you for your support. The team are very grateful.

Pricing

Starting from $0 per month.

Check Out the Capterra Reviews Widget

By Common Ninja

Capterra ReviewsTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

No tags

Developed By

blueyred

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Capterra Reviews for Wordpress logo

Capterra Reviews

Show Capterra reviews to build trust, strengthen credibility, and help visitors make confident software buying decisions that support higher sales.

Process for Wordpress logo

Process

Use a process widget to present tasks in a clear visual sequence, showing each step with images and text to improve understanding and user engagement.

Card Carousel for Wordpress logo

Card Carousel

Showcase content with a card carousel that combines images and text, improves visual design, and helps visitors explore key information.

Pomodoro Timer for Wordpress logo

Pomodoro Timer

Add a Pomodoro timer to your site so users can structure focus and break cycles, improving time management and productivity.

Instagram Slider for Wordpress logo

Instagram Slider

Add an Instagram slider to your site to display social posts dynamically and keep your visual content engaging and current.

X Feed for Wordpress logo

X Feed

Show posts in an X feed that keeps updates visible, improves content discovery, and helps visitors stay engaged with your latest activity.

G2 Reviews for Wordpress logo

G2 Reviews

Show G2 reviews to build trust, strengthen credibility, and help visitors make confident SaaS buying decisions that support higher sales.

Corner Button for Wordpress logo

Corner Button

Corner button that stays fixed on the screen to highlight promotions, improve navigation, and guide visitors toward important actions with clear visibility.

Card Builder for Wordpress logo

Card Builder

Add customizable content cards to your site to display structured information clearly with flexible layout and design options.

Reviews Badge for Wordpress logo

Reviews Badge

Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.

Tilted Image for Wordpress logo

Tilted Image

Use tilted image effects to rotate visuals, add creative style, and keep visitors engaged with dynamic images on your site.

Linkedin Feed for Wordpress logo

Linkedin Feed

Show LinkedIn posts in a live feed that keeps updates current, builds credibility, and helps visitors engage with your brand.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms