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:

  1. Build a one-time checkout with server-side verification on Razorpay, Stripe or PayPal.
  2. Process webhooks reliably and idempotently.
  3. Implement subscriptions, refunds and failed-payment handling.
  4. Reconcile your order records against gateway settlements.

Course outline

ModuleTopic
1How online payments work
2Designing orders and payments in your database
3Razorpay: orders, Checkout and signature verification
4UPI and Indian payment methods
5Stripe Checkout and Payment Intents
6PayPal orders and capture
7Webhooks and idempotency
8Refunds, disputes and failures
9Subscriptions and recurring payments
10Testing payment flows
11Security, PCI DSS scope and reconciliation
12Project: 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.