Help & Support

Help / Tutorials / How to integrate cryptocurrency payments to WordPress with WooCommerce ALFAcoins Plugin
How to integrate cryptocurrency payments to WordPress with WooCommerce ALFAcoins Plugin

Now you can make cryptocurrency payments easier and safer for your venture. 

This manual will help you to integrate cryptocurrency payments on your website powered by WordPress with the help of ALFAcoins WooCommerce plugin.
Just follow the steps below.

1. Install on WordPress

1.1. Open Developers Page on ALFAcoins.com and choose Shopping Cart Plugins by clicking the WordPress Plugin.

How to add the ALFAcoins API7

1.2. Download the plugin for WordPress by clicking on the "Download" button.

How to add the ALFAcoins API8

2. Woocommerce Plugin Installation

2.1 After logging into the admin area of your website, you need to click on the Plugins menu on the left, and click on the “Add New” button.

How to add the ALFAcoins API7

2.2 Next step, click “Upload Plugin”.

How to add the ALFAcoins API10

choose the downloaded file (p. 2.2.) and click the “Install Now” button:

How to add the ALFAcoins API11

2.3 After a successful installation, click on the “Activate Plugin” button.  

How to add the ALFAcoins API12

3. ALFAcoins API setup

3.1 Access your account at ALFAcoins.com or register a new account (if you don’t have one yet).

How to add the ALFAcoins API-api1

3.2 Next, click on the Merchant section on the left menu block and click the "Integration" button.

How to add the ALFAcoins API2

3.3 Once inside the Integration menu, choose the tab “API” and click “Add API”.

ALFAcoins Website Guide

3.4 Next page is the API settings page. Here you can manage and configure your API for your business needs. Let’s take a look.

Main settings block

a. Enter your project title (website, online shop, Internet business, online game, etc.)

b. Choose the fiat currency of your project. More than 150 currencies are available.

c. Choose the cryptocurrency you want to manage with the API. You can choose here any supported cryptocurrency:

  • Bitcoin

  • Litecoin

  • Ethereum

  • Bitcoin Cash

  • Dash

  • XRP

  • Tether ERC-20

  • USD Coin

  • Binance Smart Chain

  • Cosmos

  • Polkadot

  • Stellar

  • Dogecoin


 Payments will come to the primary accounts in the chosen currencies. 

d. Next, choose the period for auto-complete the paid invoices. The invoices with unconfirmed transactions will be completed automatically after the period expires.

e. After that, you can configure who will pay the service's fees.

  • Merchant - Fees will be deducted from the Merchant account.
  • Customer - Fees will be applied to the Invoice/Payout amount.

f. Check and choose the permissions you need.

How to add the ALFAcoins API4

How to add the ALFAcoins API5

Security settings block

g. Your private security key – you’ll need it to get access when connecting to API.
It’s provided by ALFAcoins when you connect the API for the first time.

Keep this key in a safe place!

h. Password - your password for the API access. You can set and confirm it by yourself.

* Don’t forget to set a strong password using lowercase and uppercase letters, numbers, and symbols. Make it at least 6 characters.

i. Allowed API list – you’ll be able to send a direct request to the API only from these IP addresses.

If you leave it blank – any computer will be allowed to handle your account.

j. After you made the changes, click the Save button.

How to add the ALFAcoins API5

Congratulations! You’ve just added and configured your API.

How to add the ALFAcoins API6

4. ALFAcoins Woocommerce Plugin Installation

4.1 After plugin activation, you need to go to the Plugins page and find ALFAcoins for Woocommerce there. Then click on the Settings.

How to add the ALFAcoins API13

4.2 Enter the API data obtained in the process of API creation: 

a. API Project Title (from p. 3.a section of this guide)
b. API Secret Key (from p. 3.g section of this guide)
c. API Password (from p. 3.h section of this guide)

How to add the ALFAcoins API14

4.3 Select the default cryptocurrency for payments (e.g. Bitcoin). Indicate the order status transitions (same as on the example screenshot), and set the Notification URL and Redirect URL. Don’t forget to replace https://yourwebsite.com with your actual website! 

Click on the “Save Changes” after filling in all required fields.

How to add the ALFAcoins API15

4.4 Now, you need to make sure that everything went well: go to the Woocommerce on the left menu, select Settings → Payments, and make sure that the ALFAcoins plugin for Woocommerce is enabled.
 

How to add the ALFAcoins API16

Congratulations! 

Now you can accept cryptocurrency payments on your website!

After your customer creates the order in your online shop, they will receive the invoice to pay.

The payment page will look like this:

How to add the ALFAcoins API17

If something is not working or you’re having an issue in setting up your store, don’t hesitate to ask our support team!