About this plugin
With this plugin you are able to sell your own special Liquid Assets to customers (learn more about Liquid Network). Which they can then later use to pay for a product using BTCPay Server WooCommerce plugin. Think of it like a voucher or gift card.
You can configure Liquid Asset relationship on a per product basis and during checkout the user will be asked to enter their Liquid address. io or your own Elements node.
Plugin Configuration
go to WooCommerce -> Liquid Assets Settings
General:
io mode (depending on that continue with the matching section)
Enter the email recipients that should receive notifications in case of errors on either RPC or coinos mode. You can enter one or more separated by comma.
io:
io profile settings page)
Elements RPC:
RPC Host: enter the host or proxy accepting Elements RPC requests
conf)
conf)
Product configuration
On the product edit form you have 2 new fields in the “General” data tab:
* Liquid Asset ID: enter Liquid Asset ID here you want to send to customer
* Customer Liquid address: the text entered here will be shown on the frontend product page as label.
Product page / Add to cart form (frontend) styling
If you enter above mentioned new product fields you will now see the label and a input text field on the product page, here the user can add their Liquid address.
The examples here apply for the default WordPress theme “twentytwentyone”. You might also need the following classes to adjust the styling of the input field and label for your custom theme.
Example:
wcla-liquid-address-wrapper { margin-bottom: 30px; }
wcla-liquid-address-label { display: block; }
input#wcla-liquid-address { width: 100%; }
Orders and orders notes
io API. io and their API (or Elements RPC) response was not status 200 OK or the request timed out. If you configured the admin notification mails those recipients will get also emails in case there was an error.
io account / Elements node has enough funds of Liquid Assets and L-BTC for the fees to send.