<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohsin Javaid</title>
    <description>The latest articles on DEV Community by Mohsin Javaid (@iammohsin).</description>
    <link>https://dev.to/iammohsin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4077273%2F808a43e4-57d9-4d09-8913-01d5844e2734.jpg</url>
      <title>DEV Community: Mohsin Javaid</title>
      <link>https://dev.to/iammohsin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iammohsin"/>
    <language>en</language>
    <item>
      <title>3 Payment Gateway Mistakes I Avoided Building a Gift Delivery App</title>
      <dc:creator>Mohsin Javaid</dc:creator>
      <pubDate>Tue, 17 Nov 2026 05:04:50 +0000</pubDate>
      <link>https://dev.to/iammohsin/3-payment-gateway-mistakes-i-avoided-building-a-gift-delivery-app-55pb</link>
      <guid>https://dev.to/iammohsin/3-payment-gateway-mistakes-i-avoided-building-a-gift-delivery-app-55pb</guid>
      <description>&lt;p&gt;I recently shipped &lt;a href="https://www.giftino.pk" rel="noopener noreferrer"&gt;Giftino&lt;/a&gt;, a send-a-gift app for Lahore, Pakistan. Every order is prepaid (card or Raast), because cash on delivery does not work when the person receiving the gift is not the person who ordered it.&lt;/p&gt;

&lt;p&gt;That made the payment flow the most important part of the backend. Here are three mistakes I made sure to avoid.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Trusting the client to say "payment succeeded"
&lt;/h2&gt;

&lt;p&gt;The app returns from the gateway's hosted checkout to a success screen. It is tempting to mark the order paid right there. Don't. The redirect can be faked, dropped, or replayed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I do instead:&lt;/strong&gt; the order stays &lt;code&gt;pending_payment&lt;/code&gt; until the server receives and verifies the gateway's webhook (signature check plus an amount and currency match). The success screen just polls the order status.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Non-idempotent order creation
&lt;/h2&gt;

&lt;p&gt;On slow mobile networks users tap "Pay" twice. Without protection you get two orders and possibly two charges.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I do instead:&lt;/strong&gt; the client sends an idempotency key with checkout. The server returns the existing pending order for a repeated key instead of creating a new one. Webhook handling is idempotent too, so a repeated "paid" event is a no-op.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. No expiry for abandoned payments
&lt;/h2&gt;

&lt;p&gt;People open checkout and walk away. If pending orders live forever, coupon codes and limited stock get locked up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I do instead:&lt;/strong&gt; pending orders expire after a fixed window via a scheduled job, which releases coupons and stock. If a late webhook arrives for an expired order, it is flagged for manual review instead of silently ignored.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrap-up
&lt;/h2&gt;

&lt;p&gt;None of this is novel, but it is easy to skip when you are rushing to launch. If you are building commerce in Pakistan or anywhere with mixed payment rails, get these three right before anything else.&lt;/p&gt;

&lt;p&gt;Giftino is live on the &lt;a href="https://app.giftino.pk" rel="noopener noreferrer"&gt;web&lt;/a&gt; and &lt;a href="https://play.google.com/store/apps/details?id=com.giftino.app" rel="noopener noreferrer"&gt;Android&lt;/a&gt; if you want to see the flow end to end.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>payments</category>
      <category>startup</category>
    </item>
    <item>
      <title>UtilityGrid: Why I Built a 350-Tool “Swiss Army Knife” for the Web — and Made Every Tool Run Entirely in Your Browser</title>
      <dc:creator>Mohsin Javaid</dc:creator>
      <pubDate>Fri, 14 Aug 2026 07:36:14 +0000</pubDate>
      <link>https://dev.to/iammohsin/utilitygrid-why-i-built-a-350-tool-swiss-army-knife-for-the-web-and-made-every-tool-run-1lc8</link>
      <guid>https://dev.to/iammohsin/utilitygrid-why-i-built-a-350-tool-swiss-army-knife-for-the-web-and-made-every-tool-run-1lc8</guid>
      <description>&lt;p&gt;No sign-ups. No file uploads to a server. No paywalls. Just tools that work, instantly.&lt;br&gt;
The Problem I Kept Running Into&lt;br&gt;
Every developer, student, or small business owner has been here before: you need to quickly format a JSON payload, compress an image before uploading it somewhere, calculate a loan’s EMI, or merge two PDFs — and instead of a five-second fix, you end up on a random website plastered with ads, forced to create an account, or uploading your file to a server you know nothing about.&lt;/p&gt;

&lt;p&gt;I got tired of it. So I built UtilityGrid — a single destination with 350+ free tools (and growing every week) that solves this exact problem, without any of the friction.&lt;/p&gt;

&lt;p&gt;You can check it out here: &lt;a href="//utility-grid.com"&gt;utility-grid.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What UtilityGrid Actually Is&lt;br&gt;
UtilityGrid is best described as the Swiss Army knife of the web. It’s not one tool doing one job — it’s an entire toolbox covering the everyday tasks people quietly Google dozens of times a month:&lt;/p&gt;

&lt;p&gt;Developer Tools (50 tools) — JSON formatter &amp;amp; validator, Base64 encode/decode, URL encoder/decoder, JWT decoder, hash generator, UUID/NanoID generator, regex tester, CSS gradient and box-shadow generators, and more.&lt;br&gt;
PDF Tools (11 tools) — merge, split, rotate, delete pages, and edit PDFs directly in-browser.&lt;br&gt;
Image Tools (18 tools) — compress, resize, and convert images between JPG, PNG, and WebP.&lt;br&gt;
Video Tools (8 tools) — compress, convert, trim, extract audio, and turn clips into GIFs.&lt;br&gt;
Audio Tools (7 tools) — text-to-speech, speech-to-text, a tone generator, and a metronome.&lt;br&gt;
AI Tools (40 tools) — an AI text summarizer, email writer, and rewriter/paraphraser.&lt;br&gt;
SEO Tools (12 tools) — meta tag generator, Open Graph generator, Twitter/X card generator.&lt;br&gt;
Writing Tools (19 tools) — word counter, character counter, reading time calculator.&lt;br&gt;
Finance Tools (14 tools) — loan calculator, mortgage calculator, EMI calculator.&lt;br&gt;
Health Tools (14 tools) — BMI, BMR, and calorie (TDEE) calculators.&lt;br&gt;
Education Tools (12 tools) — GPA, CGPA, and grade percentage calculators.&lt;br&gt;
Business Tools (18 tools) — invoice generator, profit margin calculator, markup calculator.&lt;br&gt;
Social Media Tools (10 tools) — engagement rate calculator, hashtag generator, a caption-length checker that validates against every major platform’s limit at once.&lt;br&gt;
Travel Tools (9 tools) — trip budget calculator, fuel cost calculator, world clock.&lt;br&gt;
Everyday Utilities (18 tools) — age calculator, date difference calculator, percentage calculator.&lt;br&gt;
Pakistan Tools (7 tools) — Zakat calculator, gold Zakat calculator, and an income tax calculator built on the FBR tax slabs for Pakistan.&lt;br&gt;
That’s 16 live categories today, with more shipping on the roadmap.&lt;/p&gt;

&lt;p&gt;The Core Idea: Privacy Isn’t a Feature, It’s the Foundation&lt;br&gt;
Most “free online tool” sites quietly upload whatever you give them — your PDF, your image, your resume — to a backend server to process it. That’s a red flag most people don’t think twice about.&lt;/p&gt;

&lt;p&gt;Write on Medium&lt;br&gt;
UtilityGrid takes a different approach: every single tool runs 100% client-side, inside your browser. Nothing you type or upload ever touches a server. Compress an image, merge a PDF, decode a JWT token — it all happens locally, on your device, using the browser’s own compute power (JavaScript, WebAssembly, and the Web Audio/Canvas APIs where relevant).&lt;/p&gt;

&lt;p&gt;This isn’t a marketing claim bolted on after the fact — it’s the actual architecture. The site’s own FAQ puts it plainly: “Every tool runs entirely in your browser — your files, text and data are processed on your device and never uploaded to a server.”&lt;/p&gt;

&lt;p&gt;The practical result:&lt;/p&gt;

&lt;p&gt;Zero sign-up friction. Open a tool, use it, done.&lt;br&gt;
No paywalls on core features.&lt;br&gt;
Nothing to install — though you can install UtilityGrid as a Progressive Web App (PWA) for offline use, meaning tools you’ve already opened keep working even without an internet connection.&lt;br&gt;
No data-retention risk, because there’s no data to retain in the first place.&lt;br&gt;
Why I Built It for Pakistan Too&lt;br&gt;
A lot of “everything tool” websites are built with a generic, Western-first audience in mind. I wanted UtilityGrid to actually be useful for people here in Pakistan, so I built a dedicated Pakistan Tools category:&lt;/p&gt;

&lt;p&gt;A Zakat Calculator that computes 2.5% Zakat across cash, gold, silver, business assets, and savings.&lt;br&gt;
A Gold Zakat Calculator that works by tola or gram at current rates.&lt;br&gt;
An Income Tax Calculator for Pakistan built directly on FBR’s official tax slabs for the current tax year.&lt;br&gt;
These are the kinds of tools that generic international sites simply don’t offer — but that millions of people here need every single month, especially around tax season and Ramadan.&lt;/p&gt;

&lt;p&gt;The Design Philosophy: Fast, Searchable, No Nonsense&lt;br&gt;
When you land on UtilityGrid, the entire product is designed around one interaction: find your tool in seconds. There’s a search bar right at the top, tools are organized into clear categories, and popular tools are surfaced directly on the homepage so you’re never more than a click or two away from what you need.&lt;/p&gt;

&lt;p&gt;There’s no “create an account to continue,” no email-gated downloads, no seven-step wizard before you can format a piece of JSON. You open the tool, you use it, you leave — and it’s genuinely free the entire time.&lt;/p&gt;

&lt;p&gt;What’s Next for UtilityGrid&lt;br&gt;
UtilityGrid currently sits at 250+ tools and climbing, with new tools shipping weekly as I continue expanding categories, refining the AI-powered tools, and adding more region-specific utilities beyond Pakistan. The goal is simple: become the one bookmark you never have to think twice about — whenever you need to do a quick thing on the internet, UtilityGrid should already have the tool for it.&lt;/p&gt;

&lt;p&gt;If you’ve ever been frustrated hunting for a decent, free, ad-light tool to do something simple online, give it a try:&lt;/p&gt;

&lt;p&gt;👉 utility-grid.com&lt;/p&gt;

&lt;p&gt;Built and maintained solo, with a strong focus on privacy, speed, and genuinely free access — no catch, no upsell.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>software</category>
      <category>tools</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
