Prerequisites🔗
- Create a Razorpay account.
- Log into the Razorpay Dashboard and generate the API keys in test mode.
Install the PHP server-side SDK to interact with Razorpay APIs.
Integrate the Razorpay PHP SDK with your PHP-based website to accept payments, initiate refunds and much more.
You can either download or run a composer command to install Razorpay PHP SDK.
Download the latest razorpay-php.zip file from the releases section on GitHub. The razorpay-php.zip is pre-compiled to include all dependencies.
You can install Razorpay using a composer command. Run the below command on your Composer: Unzip the SDK file and include the Razorpay.php file in your project.
Copycomposer require razorpay/razorpay:2.*
Razorpay PHP SDK is released under the MIT License.
Query: If you have any queries, raise a ticket on Razorpay Support Portal.
Feature Request: If you have a feature request, create an issue on GitHub.