This project demonstrates a secure Razorpay payment gateway integration in PHP using environment variables (.env
) to protect sensitive credentials.
- Razorpay order creation via API
- Payment handling using Razorpay Checkout
- Secure storage of API keys using
.env
- Simple and clean frontend (HTML + JS)
- PHP backend to handle order and verification
- PHP (Vanilla)
- JavaScript
- Razorpay API
- dotenv (via
vlucas/phpdotenv
) - HTML