{"library":"better-auth-razorpay","type":"library","category":null,"description":"The `better-auth-razorpay` package provides a robust and type-safe integration of Razorpay payment functionalities into applications utilizing `better-auth`. As of version 2.0.7, it offers comprehensive support for the full Razorpay subscription lifecycle, including creation, upgrades, cancellations, pauses, and resumptions, alongside features like trial abuse prevention and automatic customer synchronization with user details. It caters to various billing models, including organization and seat-based billing, and provides secure, HMAC-SHA256 verified webhook processing for all critical Razorpay events. The plugin also ships with pre-built React hooks leveraging TanStack Query for seamless client-side integration and boasts end-to-end TypeScript coverage, ensuring type safety across its API. While a specific release cadence isn't published, it aligns with `better-auth` ecosystem updates and feature-driven development, often introducing new capabilities or refinements.","language":"javascript","status":"active","version":"2.0.7","tags":["javascript","better-auth","razorpay","payments","billing","subscription","authentication","plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-razorpay","imports":["import { razorpay } from 'better-auth-razorpay';","import { razorpayClient } from 'better-auth-razorpay/client';","import type { RazorpayPluginOptions } from 'better-auth-razorpay';"]},{"cmd":"yarn add better-auth-razorpay","imports":[]},{"cmd":"pnpm add better-auth-razorpay","imports":[]}],"homepage":null,"github":"https://github.com/iamjasonkendrick/better-auth-razorpay","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-razorpay","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-auth-razorpay/compatibility"}}