Case study · our own store
Dhyan Software store: WooCommerce licence renewals, automated.
We sell yearly licences for Dhyan Product Options Pro to buyers around the world from our own WooCommerce store. Every step after the payment is automated: the licence key, the download, renewal orders and the reminder emails before a licence expires.

Platform
WooCommerce on WordPress
Payments
Razorpay, card payments in USD
Licences
Issued by our licence API
Renewals
Live since November 2026
The brief
What the store had to do.
Selling a plugin licence is more than taking a payment. After every order, a customer needs a working key straight away, and a year later the store needs to remind them and take the renewal without a subscription plugin.
- Take card payments in US dollars from customers outside India
- Issue a licence key for the plan bought as soon as the order is paid
- Give customers one place for their keys, sites and downloads
- Let a customer renew one licence for another year, without automatic subscription charges
- Remind customers before a licence expires, with a link to renew that exact licence
- Keep licence records correct when a payment is refunded
What we built
How the WooCommerce licence renewals work.
Licence keys on payment
When an order is paid, the store asks our licence API to issue a key for the plan bought, and shows it on the order page and in the customer’s account.
Customer portal
A separate portal where customers see their licences, activated sites and downloads, and get the latest release.
Renewal orders
Each licence has its own renewal page in My Account. Paying the renewal order extends that licence by a year. Renewals use standard WooCommerce orders and hooks, as described in the WooCommerce developer documentation (opens in new tab).
Reminder emails
Emails 30, 14, 7 and 1 day before a licence expires, and 7 days after, each with a link to renew that licence.
Refunds and checks
Refunds roll the licence back, and scheduled checks compare the store’s records with the licence server and alert us to any difference.
Admin tools
A WooCommerce status screen for renewals with resync and rollback tools, so problems are fixed from wp-admin rather than in the database.
How it was tested
Tested before a real customer saw it.
Payment code is only as good as its testing, so the renewal system went through the same steps we use on client work.
- Built and tested on a local copy of the store first, behind a switch that stayed off until launch
- A full sandbox run with the payment gateway’s real test-mode webhooks
- Test payments with domestic and international test cards
- Automated tests on the licence API for every renewal and refund path
- A rollback snapshot prepared before the switch was turned on
- A read-only check of the live licence records after launch
Stack
What it runs on.
- WooCommerce
- WordPress block theme
- PHP 8
- Node.js licence API
- PostgreSQL
- Next.js customer portal
- Razorpay
- Transactional email
What this page does not show: customer names, order numbers and sales figures. It describes how the system works, not how much it sells.
Similar project?
Selling licences, downloads or renewals on WooCommerce?
Tell us what you sell and how renewals should work. We reply within one business day.