Skip to content

Cosmos Pay - WooCommerce - Powered by BitCanna

License

Apache-2.0, GPL-2.0 licenses found

Licenses found

Apache-2.0
LICENSE.md
GPL-2.0
LICENSE.txt
Notifications You must be signed in to change notification settings

BitCannaGlobal/cosmospay-woocommerce

Repository files navigation

Cosmos Pay - WooCommerce

Table of Contents

Requirements

  • Last version of WordPress
  • WooCommerce installed
  • Keplr (client part)

Installation

Download our script and install it in the plugin folder of your wordpress (by FTP or by the administrator interface)

  1. In admin panel, click on activate from Cosmos-pay
    image

  2. Once the plugin is activated, the "Accept disclaimer" link will appear, click on it to configure your BitCanna payment module
    image

Configuration

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:

image

  1. Link to configure your reception address of all chains selected
  2. Enable the payment method
  3. Title of the payment module that appears in the list of payment choices
  4. The description of the payment module
  5. Selection of chains to activate for customers

Use of the module

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:

image

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.

image

  1. The converted amount of the selected chain. The price is retrieved from the CoinGecko api
  2. Selection of the chain for the payment, this can be edited in the administration panel
  3. Payment method (Keplr or manual)
  4. The cancel order button, the customer can cancel his order
  5. 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:

  1. Verification of the memo
  2. Verification of the receiving address
  3. Verification of the amount.

Example with Keplr:

image

Once the payment has been verified and validated, a confirmation message with the link to the transaction will appear!

image

The order will be validated in the backend, you can now check

image