How can I sell license keys as file?

6 replies
I want to be able to input a list of license key files for a certain product, and have ONE of them automatically sent to the purchaser after they buy it. After that, I want it to delete it/move onto the next one for the next order.

Does such a thing exist?

I've looked into WooCommerce for Wordpress that but I have no idea where to put a list of keys and have a customer only receive one key at a time
#file #keys #license #plugins #sell #woocommerce #wordpress
  • Profile picture of the author emuigai
    Yes, this can be achieved. After they buy you can send them an email with the license key from the database and mark it as done. Never been the one to delete items from database Feels I might need this items later.
    {{ DiscussionBoard.errors[10416454].message }}
    • Profile picture of the author webiscore
      Originally Posted by emuigai View Post

      Yes, this can be achieved. After they buy you can send them an email with the license key from the database and mark it as done. Never been the one to delete items from database Feels I might need this items later.
      Thanks for the reply but what I am looking for is an automatic process and not manual besides the file will be popup in front of the buyer on his screen and not only sent as an email.
      {{ DiscussionBoard.errors[10418141].message }}
  • Profile picture of the author JohnyData
    emuigai was dead on and it CAN be automated...

    The simplest way would be to create a simple IPN script (or have one created for you) which when called (after successful purchase of course), would display the next AVAILABLE license key, send it via email to the buyer as well, and then mark it as USED within the database.

    When the next order comes in, it would then skip past the USED keys and display/use the next AVAILABLE key and then mark that one as USED as well.

    The cycle would continue on that way (displaying only the next AVAILABLE key)

    If you would like further assistance with this, I can certainly help you out. Please PM me and we can discuss this further.
    {{ DiscussionBoard.errors[10425838].message }}
  • Profile picture of the author tracker411
    Hi
    If your using wordpress I believe wp-estore fits your requirements. https://www.tipsandtricks-hq.com/eco...g-feature-1618
    Signature

    Hello Everyone

    {{ DiscussionBoard.errors[10425947].message }}
  • Profile picture of the author nbatioco
    Just like Johny said, all you need to do is create a script ( or find someone to create for you)

    1. When someone successfully purchased something or these keys in your wordpress ecommerce then
    2. The script will read which keys are not yet "used" and it will create a txt file for them to download (not recommended) or sent via email (recommended)
    3. Then marked those sent keys as "used" as well as add another field for which client you have sent those keys.

    ++++
    And additional to that is you should manage this keys inside wordpress
    {{ DiscussionBoard.errors[10427689].message }}
  • Profile picture of the author JohnyData
    As a software/web app programmer, I'm constantly working with licensing scripts. I was working on one of my current scripts last night and decided to tweak one a bit to get it to work as you would need.

    1. displays a general thank you page once payment is received
    2. checks database and the next available license key is marked as USED
    3. users PayPal email address and IP address added to the license key entry
    4. license key and thank you message sent to users PayPal email address

    The database info, thank you email message, and thank you page are all configured within the settings section of the script. If you still need a solution and you'd like a copy of the script, let me know and I will PM you the download location. As you can tell from the description above, the script currently works with PayPal. If you need it changed to another payment processor, let me know and I am sure we can figure something out. And if you need the license key shown on the thank you page, that can be done as well if you'd like.
    {{ DiscussionBoard.errors[10427943].message }}

Trending Topics