Udeme | Software engineer (@the_quietdev) header
Udeme | Software engineer (@the_quietdev) profile picture

Software engineer 🇳🇬 | Learning how money moves online by building it: payments, webhooks, financial systems

Joined March 2020
Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)Photo by Udeme | Software engineer (@the_quietdev)
Still building. Still growing. Very much still asking AI why my code won't work 😂 Just a developer in public, sharing what I learn and connecting with builders, creatives, and anyone who gets it. if you're building something too! — say hi 👋
2
5
683
As a developer in Lagos, my work depends on a steady internet connection, so I decided to try something different. I just ordered the MTN FlyX router and It's on its way. 🚚 I'll use it for real work, then I'll share the honest result, good✅ or bad❌
2
1
1
130
It can happen if you save the order AFTER starting the payment, a slow database lets the webhook win. The fix is the order! save a pending payment first, then start Paystack. The webhook finds it and marks it paid.
There is no way something like this could happen. The order has to be created before the payment is processed. The webhook comes after the transaction to update the order state. ORDER -> INITIALIZES TRANSACTION -> PAID/ABANDONED/! -> SENDS WEBHOOK -> UPDATES ORDER STATE.
1
29
Save the order as “pending” before the payment starts, so the webhook always finds it. As a backup, I run a cron job that rechecks pending payments with Paystack and fixes any that were missed. I built both into my project.
Developers, your payment webhook arrives before your own API finished creating the order. Now what ??
16
Today I built event payments with: ✅ Idempotency keys (one request = one charge) ✅ No duplicate registrations by email ✅ A full payment flow ✅ Tested on slow networks I made the decisions and designed the flow myself.
1
2
4
89
Tapped “pay” twice because the page felt slow?That can start two payments. I made the donate button ignore the 2nd tap using a React ref (it updates instantly, state doesn’t). Tested: double click = 1 payment. Built on a separate branch so the live site stays safe.
18
And I think this is where, as software engineers, we shouldn't just implement whatever business decisions we're given without understanding their implications.
Replying to @smartnakamoura
Your number 2 is making me think about designing my current payment architecture in a way that allows another provider to be added without rewriting the entire payment system.
18
Right now I’m working on two things at once. 1. Integrating Paystack payments for a client. 2. A startup reached out about a new platform, so before writing any code, I’m studying how similar platforms handle booking, profiles and payments.
1
31
Next, I’ll turn what I learn into user flows and wireframes in Figma. Research first, user flows and wireframes second, code last. It’s the cheapest way to avoid building the wrong thing. What’s the first thing you do when a new product idea lands on your desk?
12
I'm starting to build payments for this site I'm working on, for event tickets and donations. I'm using Paystack as the PSP, the payment service provider. That's the company that actually moves the money between the person's bank and ours.
1
65
My rules, decided before I write the code: - The server decides the price, not the browser, because anyone can change a number in their browser. - Only Paystack's confirmation counts as "paid", not a page saying "success", because someone can close the tab right after paying.
1
11
I've finished the staff accounts for the admin panel I'm building. Here's how it handles the three moments every team has. 0/🧵
1
1
2
56
1/🧵Someone joins. The owner enters a name, email & ticks the sections the person can manage. The person gets a link and chooses their own password. I did this so nobody else ever knows it, cause a password sitting in an inbox stays there for years. Link works once & expires.
1
1
17
Picture this. Tolu is joining the team. The owner of the admin panel I'm building opens the users page, types in her firstName, lastName and email, and ticks the sections she can manage(blogPosts, events, newsletters). No password. 🧵
1
1
64
Tolu gets an email with an invite link. She clicks it, and a page opens where she chooses her own password. The link works once and expires after a while, a bit like the OTP your bank texts you. If she waits too long, the owner just sends a new one.
1
25
A correction to my last post: I said "no shared passwords", but right now the owner still types a password and it gets emailed. 🫆That's my next fix. An invite link, so each person picks their own. progress update!🧵👇
1
2
38
Every team has this problem: someone leaves, and you need to cut their access. In the admin panel I'm building, the only option was deleting a managed admin. But deleting wipes everything that person did, and you can't undo it.
1
12
Building staff accounts for an admin panel. The owner invites a team member, ticks exactly which sections they can manage (messages, blog, events), and can remove access when they leave. No shared passwords. Not finished yet. Still testing and tightening.
1
2
68
Cut an e-commerce site's product images from 6 MB to 1.2 MB and its main JS bundle from 1.2 MB to 687 kB. Biggest lesson: I tested quality vs resizing on a photo. Quality saved 4%. Resizing saved 70%. Still hunting Total Blocking Time.
1
1
20
I started reading Paystack's authentication docs. First thing I noticed is that every API request has to carry a secret key in the Authorization header. That's how Paystack knows a request really came from my server.
1
1
3
77
Happy Birthday sir,
NOW I’VE RESUMED X FULLY how will you guys welcome me now⏰🔥😑
1
1
33
This is motivating & spirit-lifting. Appreciate ❤✅
Apply for the job you think you are not qualified for today! And listen to how to get the job
1
19
Keep learning. Keep building. Keep showing up.
I’d say this, and everyone should listen: The more imposter syndrome sets in, the more you limit yourself. That’s one piece of advice I’d give anyone just starting out. Don’t let the fear of not knowing enough stop you from trying, building, asking questions, or putting yourself out there. Again, no one knows it all. Keep learning. Keep building. Keep showing up.
20
You can literally learn Anything today and get your first client next month.
You can literally learn JavaScript today and get your first client next month.
1
2
58