Taking payments looks simple until a webhook arrives twice, a customer closes the tab mid-payment or a refund needs to match your accounts. This course covers the topics of three widely used gateways: Razorpay for India, including UPI, plus Stripe and PayPal for international customers. You learn the patterns that keep payment code correct, whichever provider you use.
What you'll learn
- How online payments work: gateways, acquirers, payment methods, authorisation and capture
- Razorpay orders, Checkout, UPI, cards and netbanking, and verifying payment signatures on the server
- Stripe Checkout and Payment Intents, including 3D Secure and Strong Customer Authentication
- PayPal orders, approval and capture
- Webhooks: verifying signatures, handling retries, duplicate events and out-of-order delivery
- Idempotency keys and designing order and payment tables that cannot double-charge
- Refunds, partial refunds, disputes and failed payments
- Subscriptions and recurring billing, including India's e-mandate rules for recurring card and UPI payments
- Test modes, sandbox accounts and testing payment flows automatically
- Reconciliation, settlement reports, invoices and keeping card data out of your systems
Who it's for
- Developers adding checkout to an e-commerce site, SaaS product or booking system
- Freelancers who regularly integrate gateways for clients
- Teams moving from one payment provider to another
Prerequisites
- Experience building a backend in Node.js, PHP or Python
- Understanding of HTTP APIs and JSON (see REST and GraphQL API Design)
- Free test accounts with the providers you want to practise with
Outcomes
By the end of this course you will be able to:
- Build a one-time checkout with server-side verification on Razorpay, Stripe or PayPal.
- Process webhooks reliably and idempotently.
- Implement subscriptions, refunds and failed-payment handling.
- Reconcile your order records against gateway settlements.
Course outline
| Module | Topic |
|---|---|
| 1 | How online payments work |
| 2 | Designing orders and payments in your database |
| 3 | Razorpay: orders, Checkout and signature verification |
| 4 | UPI and Indian payment methods |
| 5 | Stripe Checkout and Payment Intents |
| 6 | PayPal orders and capture |
| 7 | Webhooks and idempotency |
| 8 | Refunds, disputes and failures |
| 9 | Subscriptions and recurring payments |
| 10 | Testing payment flows |
| 11 | Security, PCI DSS scope and reconciliation |
| 12 | Project: a multi-gateway checkout with webhooks |
FAQ
Is this course affiliated with Razorpay, Stripe or PayPal?
No. It covers the topics of their public APIs and documentation. Always check the provider's current documentation, as APIs and rules change.
Does it cover GST, tax or legal compliance?
Only at a general level, such as where tax details appear on invoices. For GST, RBI or PCI obligations specific to your business, consult a qualified professional.
Can I use Shopify or WooCommerce instead?
Yes, those platforms handle much of this for you. This course is for custom-built checkouts.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.