To ensure a secure and scalable payment integration with Razorpay, environment-specific credentials will be configured and managed using GitHub environment variables. This setup will enable seamless deployment across DEV, PROD, and UAT environments.
Configure GitHub Actions to store Razorpay API credentials as environment variables: yaml CopyEdit RAZORPAY_KEY_TEST=your_test_key RAZORPAY_SECRET_TEST=your_test_secret RAZORPAY_KEY_LIVE=your_live_key RAZORPAY_SECRET_LIVE=your_live_secret
Similarly, app security-related variables should also be added, such as:
For localhost:8888/moneyPlanner/services, maintain the same .env setup to ensure smooth testing: env CopyEdit RAZORPAY_KEY_TEST=your_test_key RAZORPAY_SECRET_TEST=your_test_secret