-
Notifications
You must be signed in to change notification settings - Fork 1k
RazorPayYPT Plugin
Daniel Neto edited this page Aug 18, 2026
·
1 revision
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.
- Create/verify the merchant account in the official Razorpay dashboard.
- Back up AVideo and configure the required wallet/subscription flow.
- Generate your own test API key/secret; never use example values as credentials.
- Enable
RazorPayYPTand enterapi_key,api_secretand a uniquewebhookSecret. - Register the HTTPS webhook shown for your site (
plugin/RazorPayYPT/ipn.php) and select only required current events. - Test successful, failed, cancelled, recurring and duplicate webhook deliveries.
- 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.
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.
| 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. |