- Last version of WordPress
- WooCommerce installed
- Keplr (client part)
Download our script and install it in the plugin folder of your wordpress (by FTP or by the administrator interface)
-
Once the plugin is activated, the "Accept disclaimer" link will appear, click on it to configure your BitCanna payment module
In this part, we will configure the module to be connected to our blockchain, the configuration is very simple! In the setting part of the payment module, here are the different points to edit:
- Link to configure your reception address of all chains selected
- Enable the payment method
- Title of the payment module that appears in the list of payment choices
- The description of the payment module
- Selection of chains to activate for customers
Once the configuration is done, you can start using your payment module! To do your test, add a product for a few cents and go through the normal process to buy the product. When selecting payment, you will see the BitCanna option, like this:
Here the verification of the payment is made. For this, the customer must use Keplr or directly from our webwallet to make the payment and validate the order.
- The converted amount of the selected chain. The price is retrieved from the CoinGecko api
- Selection of the chain for the payment, this can be edited in the administration panel
- Payment method (Keplr or manual)
- The cancel order button, the customer can cancel his order
- The user has 1 hour to place his order
Once the payment has been sent, a few seconds later, our system will detect the payment using the memo. 3 checks are made:
- Verification of the memo
- Verification of the receiving address
- Verification of the amount.
Example with Keplr:
Once the payment has been verified and validated, a confirmation message with the link to the transaction will appear!
The order will be validated in the backend, you can now check