Our X3M WooToken plugin for WordPress/WooCommerce offers the option to set digital products, with users receiving a unique generated token/license key when purchased. The plugin was mainly developed to integrate with out X3M Website Report plugin to allow premium reports generation and inclusion of dofollow backlinks in the reports. The plugin can of course be easily repurposed for other integrations.

X3M WooToken

The plugin version of X3M WooToken is a simple plugin that integrates with WooCommerce to set new digital product types which generate and deliver an activation token or license key. These keys can be used to redeem services. Built to be used with X3M Website Report or X3M Web Directory, and allow purchasing premium service reports/premium listings using the WooCommerce ecosystem of payment integrations and customer management, the plugin can be used for other implementations as well with a little bit of coding.

If you download our X3M WooToken plugin you agree with X3M Media Privacy Policy as well as with its Terms & Conditions of use. You are granted a non-transferable, non-exclusive license to use this plugin for personal or commercial use. You may not modify, redistribute, or resell the plugin or any part of its code without prior written consent.

The idea behind this integration started from the fact that backlinks are still a valuable resource for SEO. The X3M Website Report plugin can generate custom reports based on a set template. Similarly the X3M Web Directory allows users to submit listings in the web directory, article directory or business directory. A backlink to the domain is also included, but as per general settings is set to be “nofollow”. This limits the value of SEO for those users generating reports, but even with the attribute “nofollow” it will still work as an incentive to webmasters to generate reports (hence generate traffic and content on the website using the X3M Website Report or X3M Web Directory).

With the X3M WooToken there a simple integration that automates the flow of getting “dofollow” backlinks included in the report for those webmasters willing to pay. Follow below steps to get this system up and functional.

Prerequisites:

  1. your WordPress website
  2. X3M Website Report or the X3M Web Directory plugin installed and setup
  3. WooCommerce plugin installed and setup – you can get it in your WordPress admin > Plugins > Add Plugin > search for WooCommerce
  4. X3M WooToken plugin installed

We imagine you already have the WordPress website already and the X3M Website Report or X3M Web Directory plugin installed if you already got to this page. Next we move on with WooCommerce and WooToken setups.

WooCommerce Setup

Once you have installed WooCommerce in your WordPress website, follow their instructions into setting up the store. You will be required to fill different details about your store, set location, regions where you want to sell, currency and this sort of things. In their Settings page > Payments tab, make sure to set up a payment option as well (WooPayments, PayPal, Stripe etc…).

WooToken Setup

After WooCommerce was set up, we can move on installing and setting the X3M WooToken plugin. Download the plugin and install it using the WordPresss Plugins section and activate it. In WP Admin dashboard go to WooToken > Settings and make any changes if necessary, or leave the default data as is and hit Save.

WooCommerce Product Setup

Once WooCommerce store and WooToken were set up, go to Products section and Add new product. Add necessary info like product title, description, and in the Product Data Form select “Simple product” and select the “Virtual” checkbox. In the General tab set the price of the product (1 token) and also select the checkbox “Generate Token”. All these are presented in below screenshot:

wootoken product setup

Once the product was set up, hit Save.

WooCommerce Email Integration

There are 3 options to integrate the tokens in the WooCommerce email notifications. This way, customers will get their tokens by email when the order is completed (paid). Using WooCommerce system this way will automate the entire flow without any input from your end. The email integration should be done for the “Completed Order” email template, for the customer to receive the tokens only once payment is confirmed.

Method 1: Through WooCommerce Email Templates

  1. Go to WooCommerce > Settings > Emails
  2. Click on “Customer completed order” (or the email you want to customize)
  3. In the email content/template, add the shortcode:

Email Token

<h3>Your Digital Tokens</h3>
<p>Thank you for your purchase! Here are your access tokens:</p>
[x3m_token_list show_product="yes"]

<p><strong>Important:</strong> Please save these tokens as they can only be used once.</p>
Method 2: Customize Email Templates in Your Theme

  1. Copy the WooCommerce email template to your theme: /wp-content/themes/your-theme/woocommerce/emails/customer-completed-order.php
  2. Add the shortcode in the template:

Email Token

<?php
   /**
    * Customer completed order email
    */
   
   // ... existing template code ...
   
   // Add tokens section
   echo '<div class="order-tokens">';
   echo '<h3>' . __('Your Access Tokens', 'woocommerce') . '</h3>';
   echo do_shortcode('[x3m_token_list show_product="yes" show_status="no"]');
   echo '</div>';
   
   // ... rest of template ...
   ?>
Method 3: Automatic Integration (Already Implemented)

The plugin automatically adds tokens to order completion emails! You can configure this behavior:

  1. Go to WooCommerce > Settings > Emails
  2. Look for X3M WooToken settings (if available in admin)
  3. The tokens are automatically appended to order completion emails

Website Report Setup

Last step is to activate it in X3M Website Report plugin. For this in the WP Admin dashboard visit X3M Web Report > Settings > Select the “Enable Multiple Deep Links Publishing” checkbox & set the “Maximum Deep Links” and hit Save Settings.

This is all needed to start making money from your website SEO analyzer / value calculator. Visit the page where you have the Generate Report shortcode included and check the new WooToken functionality.

The same would need to be done for the X3M Web Directory plugin. For this in the WP Admin dashboard visit X3M Directory > Settings > Select “Enable Premium Listings” checkbox and hit Save Settings.

Once this service is activated, you can visit the Custom Fields page of the plugin and check the position of the Premium Token field in the submission form. You may change its position by dragging it up or down. Visit the page where you have the Submit Listing shortcode included and check the new WooToken premium functionality.

X3M WooToken FAQ

Is the WooToken plugin really free?
The X3M WooToken plugin is indeed free to download and use, either for personal or commercial use. It is however distributed under a proprietary license which does not permit to modify, redistribute, or resell the plugin.
Yes, weather you use WooToken for integration with X3M WebReport plugin or any other WP plugins / services, the revenues generated are 100% yours.
Yes, you may integrate the WooToken plugin functionality with other WP features / plugins / services. Check the WooToken documentation for integration details, hooks, API endpoints which can be used.
If you have some ideas for improving the current version of the X3M WooToken plugin, you are welcomed to contact us and tell us your thoughts. We will analyse your ideas and if we find them useful and with time to implement them, we will do that and distribute a new version of the plugin to all users.