Skip to content

RazorPayYPT Plugin

Daniel Neto edited this page Aug 18, 2026 · 1 revision

RazorPayYPT payment plugin

RazorPayYPT connects supported AVideo payment/subscription flows to Razorpay. Start with Razorpay's current test mode and documentation; payment APIs, webhook events and regional requirements can change.

Setup outline

  1. Create/verify the merchant account in the official Razorpay dashboard.
  2. Back up AVideo and configure the required wallet/subscription flow.
  3. Generate your own test API key/secret; never use example values as credentials.
  4. Enable RazorPayYPT and enter api_key, api_secret and a unique webhookSecret.
  5. Register the HTTPS webhook shown for your site (plugin/RazorPayYPT/ipn.php) and select only required current events.
  6. Test successful, failed, cancelled, recurring and duplicate webhook deliveries.
  7. Confirm access is granted only after a verified event, then replace test credentials with production credentials.

Secrets belong only in the server-side plugin and provider dashboard. Rotate them immediately if they appear in a log or screenshot.

Common questions

Payment succeeded but AVideo disagrees: do not retry blindly. Match the provider payment/subscription ID with sanitized AVideo logs and reconcile once.

Webhook test fails: verify public HTTPS, exact path, firewall, provider-selected events and signature secret.

Can I check every webhook event? Subscribe only to events required by the plugin/current workflow; unnecessary events add noise and risk.

Related monetization plugins

Plugin Added value
YPTWallet Gives paid features and users a shared wallet balance.
Subscription Sells recurring access to premium content.
PayPerView Sells one video or event at a time.

Clone this wiki locally