
Software engineer 🇳🇬 | Learning how money moves online by building it: payments, webhooks, financial systems
Joined March 2020
- Tweets1.2K
- Following76
- Followers106
- Likes1.8K
Pinned Tweet
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❌
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.
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
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
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/🧵
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
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
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.
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.
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.
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























