Connect with us


Auto Send Virtual KeyCard Products / Image Codes

Live Preview                                                                                  Free Download 

With this PHP script it’s possible to send virtual products to your customers automatically. For instance if you are selling Xbox Live, World of Warcraft, iTunes, Playstation (PSN) cards or any other image based products you can easily send them to your customers using this script.

As soon as your customer checks out in your Woocommerce based e-commerce store, the hook in this PHP script will check if the product the customer ordered is available for direct delivery. If it is, it will not only show the product image immediately after the checkout process, but this script will also e-mail the product to the customer.

Your stock is automatically updated and all the sold cards are moved automatically to a “used” folder on your server so it’s easy for you to keep track of which cards are used and sold, and which cards are not.

Key Features:

  • Shows products directly after the customer makes the payment
  • Sends a copy to your customer by e-mail
  • Contents of the e-mail is fully configurable
  • Works even when a customer orders a virtual and physical product
  • Script saves all the used codes in a separate clear folder
  • Updating your stock is as easy as uploading new images and updating the number of available items in WooCommerce
  • Supports 1 or more products during checkout
  • Text/CSV based version available, please contact me using the support tab


  • Does this script only work for WordPress/WooCommerce or also any other e-commerce software?
  • This script is developed for WooCommerce. If you need it for any other e-commerce store, please see my portfolio. If your preferred store is not listed, please contact me.

  • Are my product codes/images safe?
  • Yes! They are saved in a secured folder which is only readable by this script

  • I also sell physical products, would that be a problem?
  • Not at all! This script ignores all the other products and will only process the products you have setup using the installation instructions

  • Can my customer order multiple virtual products?
  • Yes that is possible, this script reads the whole order and processes all the found products

  • Is this a WordPress or Woocommerce extension/component?
  • No this is a PHP script that uses a hook to read the order information on checkout. This is an advantage since you can easily modify the script or use it for any other e-commerce solutions

  • How does the hook with Woocommerce work?
  • You need to add a few lines of code to your existing Woocommerce theme in order for this script to read the customer- and order data on checkout. The installation instructions will help you add the correct code in the correct file. If you have any questions about this, please let me know.

  • Do my products need to be of type ‘simple’ in Woocommerce?
  • I advise you to add your products into Woocommerce as ‘simple’ products. But actually all the Woocommerce product types are supported:
    Simple, Grouped, Variable

  • I have another question that’s not been answered here yet!
  • Please let me know in the comments section or contact me using my e-mail address


  • 18 january 2017 – Version 1.4:
    – Updated PHPMailer
  • 26 january 2015 – Version 1.3:
    – Updated the documentation to be able to only send out products when order status is completed.
  • 15 september 2014 – Version 1.2:
    – Only updated the documentation for WooCommerce 2.2.2.
  • 5 august 2014 – Version 1.1:
    – You can now easily add a BCC address in the config file.
    – Changed the filename of used products to something more identifiable.
    – Bugfix for customers that order multiple products of the same SKU where only 1 would been sent out.
    – Some improvements in the code.


Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Download Png Image

Subscribe Our   Youtube Channel


ThumbsUp ThumbsUp
Wordpress Plugin4 months ago


[ad_1] LIVE PREVIEWBUY FOR $17 ThumbsUp 2.2 ThumbsUp is a flexible PHP voting script. It allows visitors to vote for...

Ultra WordPress Admin Theme Ultra WordPress Admin Theme
Wordpress Plugin4 months ago

Ultra WordPress Admin Theme

[ad_1] LIVE PREVIEWBUY FOR $23 Ultra Admin brings your WordPress Admin Panel to LIFE. Along with White Label Branding features,...

Vectors4 months ago

Business people with connection icons

Free Png Image Download

Laravel CMS  - Ajax CRUD Plugins Laravel CMS  - Ajax CRUD Plugins
Wordpress Plugin4 months ago

Laravel CMS – Ajax CRUD Plugins

[ad_1] LIVE PREVIEWDownload $13> NOW AVAILABLE FOR SXIMO 3 & 5.1 LTS Sximo Ajax CRUD is patch/plugin for improve cruds...

The Inventory The Inventory
Wordpress Plugin4 months ago

The Inventory

[ad_1] LIVE PREVIEWDownload $16> The Inventory – a simple and user friendly piece of code for maintaining a warehouse of...

Ultimate WooCommerce Brands Plugin Ultimate WooCommerce Brands Plugin
Wordpress Plugin4 months ago

Ultimate WooCommerce Brands Plugin

[ad_1] LIVE PREVIEWBUY FOR $29 Ultimate WooCommerce Brands Plugin for WordPress This plugin allow you to easy add brands with...

Facebook Downloader Video & Gif Facebook Downloader Video & Gif
Wordpress Plugin4 months ago

Facebook Downloader Video & Gif

[ad_1] LIVE PREVIEWBUY FOR $12 Facebook Downloader Video & Gif is use for download videos from facebook android app. The...

WPBakery Page Builder for WordPress WPBakery Page Builder for WordPress
Wordpress Plugin4 months ago

WPBakery Page Builder for WordPress

[ad_1] LIVE PREVIEWBUY FOR $64 WPBakery Page Builder – current version 6.0.5 available for download! WPBakery WordPress Page Builder Plugin...

Real Estate Agency Portal Real Estate Agency Portal
Wordpress Plugin4 months ago

Real Estate Agency Portal

[ad_1] LIVE PREVIEWBUY FOR $39                                   2500+ Happy users! Thank You So Much! Similar WordPress theme also available Frontend user login...

Vectors4 months ago

Money bag background design

Free Png Image Download

eForm - WordPress Form Builder eForm - WordPress Form Builder
Wordpress Plugin4 months ago

eForm – WordPress Form Builder

[ad_1] LIVE PREVIEWBUY FOR $39 Premium WordPress Form Builder Plugin For complete form management solution, quizzes, surveys, data collection, payment...

Online Store CMS Online Store CMS
Wordpress Plugin4 months ago

Online Store CMS

LIVE PREVIEW                                    ...

Slider Revolution jQuery Visual Editor Addon Slider Revolution jQuery Visual Editor Addon
Wordpress Plugin4 months ago

Slider Revolution jQuery Visual Editor Addon

[ad_1] LIVE PREVIEWBUY FOR $49 Slider Revolution jQuery Visual Editor Addon Are you looking to utilize the full visual editing...

Booksi - Property & Vacation Rental Management CMS Booksi - Property & Vacation Rental Management CMS
Wordpress Plugin4 months ago

Booksi – Property & Vacation Rental Management CMS

[ad_1] LIVE PREVIEWDownload $69> Booksi is a Rental and Directory Management CMS, that will help you make your own website...

Team Showcase for Visual Composer WordPress Plugin Team Showcase for Visual Composer WordPress Plugin
Wordpress Plugin4 months ago

Team Showcase for Visual Composer WordPress Plugin

[ad_1] LIVE PREVIEWBUY FOR $18 Team Showcase for Visual Composer is the best well made and up to date Plugin...