StockUnlocks mobile unlock module – Drupal and Dhru Fusion Client API

Finally: The StockUnlocks module for Drupal powered websites! Utilizing Ubercart and the v2.0 API for the Dhru Fusion GSM Portal Client, this module will automate many of your daily unlocking tasks.

Check out the YouTube Channel for a brief video overview.

I think that you’ll find the StockUnlocks module useful if you’re new to mobile phone unlocking or currently relying on spreadsheets and manual email processing – especially if you’re using multiple providers.

What it Does

Either way, using this module, you’ll effortlessly import your Provider’s services directly into your own website and modify the presentation of them until your heart’s content.

Your Drupal website will automatically process unlocking requests between your website and your provider’s, notifying your customers, while you’re asleep or away from the office. You can even manage everything from your smartphone or tablet.

How to Get it

UPDATE: As of August 2013 the module has been approved. Get the StockUnlocks Drupal module here.

So, how do you get a hold of this module? Well, the kind folks over at are looking out for you. Rather than take my word for it, they’ve arranged for me to upload the entire module into a “sandbox” on their website.

It’s currently labeled: “Experimental Project – This is a sandbox project, which contains experimental code for developer use only.”

This is normal for first-time module developers like myself. Once it’s approved, it will be available on the “production” side of Actually, you can download the module right now, if you had a link to it 😉

Needless to say, the module works just fine. I’m using it on this website right now and have been since December 2012. has Coding Standards, security and best practices in place that must be adhered to or your project remains “experimental”.

You can read about’s standard and best practices.

I’m in the process of verifying every file and line of code to be sure that everything gets the’s stamp of approval. If you’d like to take the module for a spin, here it is: the StockUnlocks pre-released Drupal module. I’m more than happy to give it to you.

Don’t Forget!

Please, just keep this in mind though: The StockUnlocks module has been initially developed to run on Drupal websites that are dedicated to unlocking mobile devices, particularly brand new installations.

However, it’s quite possible that this new module may work perfectly fine with your existing Dupal/Ubercart configuration. If you wish to try it, please do so in a controlled test environment first before deploying it in your production environment.

You should always backup your website data before installing any new module!

If you haven’t seen this yet, take a look at what you need to do to get started using the module developed by here. With that said, I’ll have a module forum and support area up and running … soon.

Take care,

12 replies on “StockUnlocks mobile unlock module – Drupal and Dhru Fusion Client API

    • SU Admin

      Hi George,

      Many apologies for the delayed response.

      What you want to do is quickly demonstrated in this video (around the 30 second mark):

      To edit prices, go to:

      1. /suapi/imeiservicelist/
      2. Click on the service that you would like to modify
      3. When it fully appears on screen, click the “edit” tab
      4. Scroll down to the “Product Information” section
      5. You’ll see fields for “List Price”, “Cost”, and “Sell Price”
      6. Modify “Sell Price” as this is the price that appears to the customer and what will be charged via your payment system.

      That’s all! Take care.

  • fernando

    HELP ME INSTALL WITH WordPress I do not find any product I have to buy dhru fusion? I want to start creating mobile unloking business

    Reply Edit
  • Kartikeya

    hello i am interested also…i am based in India as well as USA. I have so far done a few hundered unlocking of iphones using third party services.

    Reply Edit
  • Sam

    Hello, I am using your stock unlocks module. I added the providers. I am able to see their lists but none of them I am able to successfully import. only one providers gives me an error message to go off of.

    PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect decimal value: ” for column ‘cost’ at row 1: INSERT INTO {uc_products} (vid, nid, model, list_price, cost, sell_price, weight, weight_units, length, width, height, length_units, pkg_qty, default_qty, ordering, shippable) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14, :db_insert_placeholder_15); Array ( [:db_insert_placeholder_0] => 80 [:db_insert_placeholder_1] => 79 [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => 0 [:db_insert_placeholder_7] => lb [:db_insert_placeholder_8] => 0 [:db_insert_placeholder_9] => 0 [:db_insert_placeholder_10] => 0 [:db_insert_placeholder_11] => in [:db_insert_placeholder_12] => 1 [:db_insert_placeholder_13] => 1 [:db_insert_placeholder_14] => 0 [:db_insert_placeholder_15] => 1 ) in drupal_write_record() (line 7383 of /home/**EDITEDOUT**/public_html/includes/

    Have you seen this before and how do I fix it? Also will I need to run a specific CRON to get the orders to process with the api servers?

    Reply Edit

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.