Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
You are here: Home

will@snaplegalsoftware.com

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • November 19, 2011 at 12:33 am in reply to: Selling a digital download with a license key #26984
    will@snaplegalsoftware.com
    Member

    I want to assign license keys to product downloads that I will retrieve from a database table based on the product id. I am planning to create a function to find the next available number(s) for the product and associate it with the TXN_ID via a custom table.

    I would like the serial numbers to be displayed on the post-payment page and in the email.

    I saw the following code in paypal.php:

    //Product license key generation if using the license manager
    if (function_exists('wp_lic_manager_install'))
    {
    $product_license_data .= eStore_check_and_generate_license_key($retrieved_product,$this->ipn_data);
    $this->debug_log('License Data...'.$product_license_data,true);
    }

    If I create the ‘wp_lic_manager_install’ and ‘eStore_check_and_generate_license_key’ functions and include them in paypal.php, would that allow me to assign the key(s) and make them available through the {license_data} short code, or am I reading this wrong?

    Will Binns

  • Author
    Posts
Viewing 1 post (of 1 total)

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ