ONER
A paid course platform for Central Asia, in closed testing with 10 users. I built the backend: payments, course access and video protection.
- Stopped double charges and free access. Payment providers can send the same webhook more than once and students double-click buy, so every webhook is checked for signature, amount and duplicates before a course opens, and a repeat click returns the same order.
- Kept paid lessons locked. Browser code can be changed, so every request is checked on the server (JWT login plus an ownership check) and the browser can never unlock a course by itself.
- Made paid videos hard to share. Course videos are what students pay for, so they play through Kinescope DRM with short-lived tokens that only course owners get.
- Let the team run the platform without touching the database, with a CRUD admin API for courses, file uploads to Cloudflare R2, users, purchases and refunds.