Posted on June 22, 2019 at 11:00 AM
Accept Altcoins on WooCommerce

How to accept Cryptocurrency on WMHCS Stores.


In this article we are going to show you how to integrate the CryptocurrencyCheckout Platform into your WHMCS Platform/Store so that you can start accepting Cryptocurrencies like: Bitcoin, Ethereum, Litecoin, Dash, Send, and CryptoDezireCash as payment for your Sales/Services.


Things we want to achieve in this integration:
  1. We would like to maintain all of our orders inside of WMHCS's platform. This includes using WHMCS's checkout process to securely generate an order, collect buyer info, calculate shipping costs, taxes, offer discounts, allow coupon codes, etc.
  2. We would also like to leave the ability for customers to be able to review their past orders, and maintain all order records on our WMHCS Platform itself.
  3. We want the order to stay in “Pending” status until we can manually verify we have received the crypto payment, allowing us to make sure that all confirmations are received on the blockchain before changing the order status to “Paid” or "Completed".
  4. We want to be able to use our standard Bookkeeping integrations for WHMCS, without needing any additional plugins or software to add CryptocurrencyCheckout to our WHMCS Platform.

Now that we've discussed how we plan to integrate, let's get started with the installation.


WHMCS Cryptocurrency Checkout Installation.


Step 1: Create CryptocurrencyCheckout Connection.


Log into your CryptocurrencyCheckout.com Dashboard.

Click on the “New Connection” option.

Insert your Store details.

Now insert the Wallet Addresses of all the Cryptocurrencies you would like to receive.

If there is any Cryptocurrencies you do not want to accept on your store just leave the section blank.

Optional: Select if you would like to charge a markup to accept an individual crypto, or offer a store discount.

Optional: You can also view how to use our Market Volatility Protection Tools Here

Click Submit.




Step 2: Generate CryptocurrencyCheckout WHMCS Integration.


Log into your CryptocurrencyCheckout.com Dashboard.

Click “API Keys” Generate an API key for your store.

Copy and paste the API Key into notepad, or another text editor for later.

In the dashboard, go to the Installation Scripts section, and select “WHMCS Store”

Paste the API key you saved earlier into the “Insert API Key” Section.

Click the “Generate Installation Scripts” button.

The Installation Settings and your WHMCS Module/Plugin will be automatically generated.

Keep this page open in a separate tab so you can refer back to it later.



Step 3: Installing the WHMCS Plugin Module on your Store.


Download the latest version of the WHMCS-Payment-Gateway-Module

Or go to our GitHub and download the latest Github Source Code there.


(Installation Method #1: FTP Upload Module to WHMCS Folder)

FTP into your webserver, or use the Cpanel File Manager.

Go into the public_html/your_whmcs_folder
(On an Ubuntu VPS or non Cpanel Server the directory might look like: /var/www/html/your_whmcs_folder)

Upload the WHMCS-Payment-Gateway-Module.zip file.

Extract the zip file contents into the WHMCS folder. The extracted files should be located at:

public_html/your_whmcs_folder/modules/gateways/cryptocurrencycheckout.php


In your WHMCS Admin Dashboard, go to "Setup", select "Payments" and Click "Payment Gateways".

Go to the "All Payment Gateways" Tab, and enable CryptocurrencyCheckout.

This should take you to the "Manage Existing Gateways" tab.

Copy and Paste all of the Settings you generated in your CryptocurrencyCheckout Dashboard on Step #2.

Click Save Changes.



Step 4: Testing your CryptocurrencyCheckout WMHCS Integration.


To confirm your Integration is properly working create a test order:

Go to your test product/service, and press order now.

Once in your Shopping Cart, go to Checkout.

Select CryptocurrencyCheckout as the Payment Method.

Click Complete Order

Verify all of the Wallet Addresses and Order info, and make sure the Validation Tests all have a Green Check Mark.

If you like you can now proceed to making a test payment.



Step 5: Marking a Payment as Received on WHMCS.


Login to your WHMCS Admin Dashboard.

Go to the Billing Tab, Invoices, and Click "Unpaid".

You will see the Test Orders Marked as “Unpaid”

Verify the Coins are in your chosen Cryptocurrency Wallet (The addresses you input in Step #1.)

You may also use a Block Explorer to verify if the transaction was processed.

Select the paid order in WHMCS, and click the "Mark Paid" button.




You have successfully integrated Cryptocurrency Checkout into your
WHMCS Web Hosting and Billing Platform!

If you have any issues feel free to send us a message, or join us on discord.