WordPress Razorpay Subscription Integration

Замовник: AI | Опубліковано: 26.10.2025
Бюджет: 750 $

I have an existing WordPress site with a custom-built plugin and I now need to add Razorpay as the payment layer so I can bill customers on a recurring basis. The focus is subscription payments only—no one-time charges for now—so the job revolves around configuring Razorpay’s recurring API, creating the PHP hooks inside the plugin, and making sure plan creation, signup, renewal and webhook-based status updates all work flawlessly. Key points you should know before diving in: • The plugin is written in standard WordPress PHP. If you prefer adding a lightweight JavaScript or Java helper service for signature verification or logging that is fine, but the bulk of the work has to sit neatly inside the existing PHP codebase so future updates are simple. • I considered PayPal, Stripe and Authorize.Net, yet the final choice is Razorpay because most of my customers are in India. Please keep the code modular so other gateways could be slotted in later without a full rewrite. • Admin-side settings already exist for other plugin options; you’ll add a section where I can paste Razorpay Key ID, Secret and choose test vs live mode. Deliverables (all required for sign-off): 1. Updated plugin files with Razorpay subscription support integrated and namespaced cleanly. 2. Front-end checkout flow that creates a Razorpay Subscription and redirects/returns the user with proper success or failure handling. 3. Webhook endpoint inside the plugin that updates WordPress user meta and order tables when payment events fire (activation, charge failed, refund, cancellation). 4. Brief installation/upgrade notes so I can replicate the setup on staging and production. Please test everything on a fresh WordPress install before delivery; I’ll handle the final live gateway switch once your code passes review.