Ahmad Awais

NAVIGATE


SHARE


Cash On Delivery Abuse: A Technical Solution & Pakistani Startup Idea

Ahmad AwaisAhmad Awais

This post is not meant for the general audience of my blog. It’s a comment I posted on Facebook in response to a post in Pakistani Startups group β€” reposted here for more visibility and such.

Solve Cash on Delivery Abuse Issues β€” Screen Shot 2018 05 13 At 1.11.39 Am

My Answer!#

πŸ€” C’mon guys! You’re a bunch of crazy founders. Build a solution for this problem. Engineers are problem solvers. Here let me help.

1. Make an API that can reduce this in an exponential manner with time. Call that API a #CODAbuser Blacklist.

2. Make sure you call and confirm the order. The address could be fake but the phone number is not.

3. When you get #CODAbuse keep data on who abused you and then integrate that data with your eCommerce like WooCommerce (pretty easy to do that), β€” to not send orders to #CODAbusers

4. How? β€” Start keeping a simple JSON file on Azure/AWS/GCP that contains this info based on priority. 1) Phone # (Confirmed abuser as 99% of them will use their original phone numbers so phone # has the highest priority in your graph) then 2) Item that was ordered (to help decide which categories and items are more prone to #CODAbuse but with normal priority coz it could be a fake selection) and finally 3) address (#CODAbuser might have listed fake address so this should have the least priority in your graph)

5. Whenever you confirm your order, be very nice and kindly share with them on phone that you get #CODAbuse so you’re verifying that this is actually what they ordered β€” coz if they return that for no obvious reason then you people will be forced to put them in a #CODAbuse blacklist and no online store will entertain their orders from then on. (be very cautious on this, it’s better to get some sort of legislation support here to share with your customers a law instead of your rule. Make sure you use the right words and not offend anyone) β€” E.g. get PTA to sign on it or something, and tell the customer that if they did #CODAbuse they’ll be reported to PTA

6. If someone from the same address tries to order, your integration makes a simple HTTP request to an online serverless function to see if that address/phone is in the #CODAbuse list and then that customer gets a notice about why you can’t deliver to that address/phone and you get them to pay advance or explain the situation with care and make them give you more proof like CNIC # etc.

7. One party can start keeping this info (which should always be kept private) β€” this party can be funded by all the eCommerce stores who want to use their integration on a monthly basis like we do in DevOps/Open Source community β€” or you can build this integration into a paid product and make a deal like β€” this service is free but anytime it saves an eCommerce store from potential #CODAbuser you get paid a pre-decided fee

8. As far as the cost of this setup is involved a good developer can code this API, Node.js backend, NGINX reverse-proxied rate limited access to a Virtual Machine or a serverless function over Azure/AWS/GCP + integration with WooCommerce in say about 20 to 50 hours

9. Once built, as a serverless function (1 Million executions are free per month at most providers and then $0.20 per million executions, $0.000016/GB-s β€” I estimate if you get a load of 100 eCommerce stores that make 100k orders in a day β€” you’ll still be able to keep the overall cost less than $40/$50 a month which will be a bargain)

10. Also, make it easy for businesses to report a #CODAbuser so you get data for free.

11. The cherry on the top, use Azure Machine Learning Studio to feed this data to make an AI that can predict #CODAbuse and finally sell this to Alibaba as an exit strategy

It’s after midnight, I just came out of a 5-hour long meetup that I arranged and had a talk for 2.5 hours. I am exhausted β€” which means that this is a crude and raw idea. Don’t judge me on this. But it can be polished pretty easily and executed like so.

Have fun while you do all this. Even just by collecting this data you’ll be doing everyone a favor, it’ll teach our nation that there’re actual real-life consequences if you fake/lie/abuse/misuse anything online.

P.S. Don’t ask me to do it. My plate is already full and I don’t have anything to do with Pakistani clients β€” which is sometimes such a blessing.

Peace!✌

Helping businesses understand developers. Head of Developer Relations RapidAPI.

πŸ“Ÿ Edutainer at Node.js CLI Automation course (100 videos Β· 22 Projects) & VSCode.pro course (over 20K devs). 🎩 Award-winning Open Source Engineer & Dev Advocate 🦊 Google Developers Expert Web DevRel πŸš€ Mars Ingenuity Helicopter code contributor πŸ† 8th GitHub Stars Award recipient 🌳 Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator.

✌️ Author of various open-source dev-tools and software libraries used by millions of developers worldwide ⓦ WordPress Core Developer πŸ“£ TEDx Speaker with 100+ international talks.

πŸ”₯ Satya Nadella Β· CEO of Microsoft, said β€” Awais is an awesome example for developers.
πŸ™Œ Leading developers and publishing technical content for over a decade πŸ’œ Loves his wife (Maedah) ❯ Read more about Ahmad Awais.

πŸ‘‹β€¦ Awais is mostly active on Twitter @MrAhmadAwais

πŸ“¨

Developers Takeaway

Takeaway my professional opinion on open-source, developer relations, growing your business with family, and everything in between! Delivered to your inbox a couple of times every year. I'm even funny at times. I hate spam β€” pinky-promise!

πŸ‘¨β€πŸ’»πŸ‘©β€πŸ’» 118,947 Developers Already Subscribed
Comments 10
  • Fahad
    Posted on

    Fahad Fahad

    Reply Author

    Good professional approach. But if you ask for their CNIC number upfront, it will reduce the number of spammers manifolds. People in Pakistan are brave enough to risk their additional phone sim but hesitate to play with their CNIC.


    • Ahmad Awais
      Posted on

      Ahmad Awais Ahmad Awais

      Reply Author

      Asking for CNIC from everyone will reduce the conversion of your store ten folds. Not recommended at all.


  • Muhammad Idrees
    Posted on

    Muhammad Idrees Muhammad Idrees

    Reply Author

    Any Plugin that was help in this problem


  • Hassan Murtaza
    Posted on

    Hassan Murtaza Hassan Murtaza

    Reply Author

    Awesome Ideas Bro :).

    It seemed pretty obvious. It’s fascinating how little things can save so much time.

    Keep it up.


  • Sohail Aslam
    Posted on

    Sohail Aslam Sohail Aslam

    Reply Author

    Why build one when 10+ solutions are already available?


    • Ahmad Awais
      Posted on

      Ahmad Awais Ahmad Awais

      Reply Author

      My understanding is that none of those international solutions are optimized for our local market.


  • Nadia Kazi
    Posted on

    Nadia Kazi Nadia Kazi

    Reply Author

    You could have easily avoided the mishap had you done a little bit of research before placing your order. You should be well aware of the fact that there are many fly-by-night and phony delivery companies operating around whose only objective is to make a quick buck for fraudulent or poor services. I have come across a lot of people who often encounter this problem because they don’t bother to do proper research before placing their orders. That said, however, not all companies are dishonestβ€”and Forrun.co is a great example. I have used their services on many occasions and all the time they lived up to my expectations; not only did they deliver my shipments on time, but they also charged very reasonable fees for their excellent services.


    • Ahmad Awais
      Posted on

      Ahmad Awais Ahmad Awais

      Reply Author

      You could have easily avoided the mishap had you done a little bit of research before placing your order.

      Not sure if you understood anything I posted above.


  • Aliaziz
    Posted on

    Aliaziz Aliaziz

    Reply Author

    any one have done the idea yet or similar?