@crackedeveloper@frontend__fairy The only thing I might do differently is to resolve the user_id from the jwt token rather than passing it in request body.
Aside that, everything you did is what good.
@crackedeveloper@frontend__fairy This is wrong.
Paystack advise that you should initialize transaction from your backend then return the authorization_url or access_code to the frontend. Auth url if you want to manually open the pop up or access code if you want to use the paystack inline js package.
@amaechi_1@frontend__fairy I use paystack mostly so the frontend calls my API e.g /pay
My backend, generates reference then returns the reference, amount and email.
The front end uses this into to open popup. User pays then backend verifies the payment, store pending transaction.
@OJ______Pimpson@frontend__fairy It's not like there are no security measures in place, who said vibe coded apps are insecure? Only programmers who knows what they are doing vibe code secure apps.
By default AI doesn't care Abt security, just delivery.
@Zinny_Edmund It's harder cause of maths, and most aren't good in maths, in fact there are many below average, I'm included...
Anyways I actually started last week, started with 2d games btw.
If you’ve built something,
drop it below with a short intro 👇
I’ll try it out and give feedback
Your next user might be in the replies
Let’s help each other get early traction
Personally, I think 20k monthly is enough for any Uni student to get by, especially if they are given foodstuffs from home.
1k weekly data, = 4k
Transport 500 daily = 2500 weekly = 10k
Miscellaneous = 2k
Save the remaining 4k for emergencies.
If 20k is not enough for you to manage as a struggling student, you are simply not prudent, and you need to learn financial management.