Test Environment
Work in a designated testing environment to develop and validate your integration without initiating live payments.
PayEnviro Developer Environment
Explore the PayEnviro Sandbox and prepare your payment integration in a dedicated testing environment before moving to production. Develop your workflows and validate your implementation without affecting real customer payments.
Environment overview
Sandbox capabilities
Prepare your application and review important payment workflows before enabling your production integration.
Work in a designated testing environment to develop and validate your integration without initiating live payments.
Prepare API requests, review response handling and connect your application to the configured testing environment.
Validate supported payment outcomes, including successful and unsuccessful test transactions.
Prepare your application to receive and handle configured payment event notifications.
Review recurring billing and subscription-related integration flows where supported by your test configuration.
Review your integration, configuration and application readiness before requesting production onboarding.
Getting started
Follow these steps to prepare your PayEnviro integration. Access and configuration details are provided during onboarding.
Contact the PayEnviro team to discuss your integration requirements and request sandbox access.
Set up the designated test environment and configure the credentials provided for your application.
Connect your application, validate supported API workflows and review the responses.
Complete integration checks and coordinate production onboarding with the PayEnviro team.
Testing scenarios
Use the test cases supported by your assigned sandbox configuration to review your application's behaviour.
Check how your application handles a successful test payment response.
Review error handling and the customer experience when a test payment fails.
Validate the retry and recovery behaviour supported by your integration.
Check how your application receives and processes configured event notifications.
Review applicable billing and invoice workflows in the test environment.
Validate supported subscription lifecycle and recurring billing scenarios.
Developer resources
Use the API documentation and environment details supplied by PayEnviro to configure your application and validate its communication with the test environment.
# Example configuration for a sandbox application.
# Issue the test key in the console under
# Portals & applications.
PAYENVIRO_ENV=sandbox
PAYENVIRO_BASE_URL=https://api.payenviro.com
PAYENVIRO_API_KEY=px_test_YOUR_TEST_KEY
# Send it as: Authorization: ApiKey <key>
# Keep credentials secure.
# Do not expose secret keys in
# browser-side JavaScript.
Before going live
Use this checklist as a starting point before coordinating your production onboarding.
Complete the relevant checks for your application and confirm any production requirements with the PayEnviro team.
Frequently asked questions
A few things to know before starting your integration.
A sandbox application in your PayEnviro account. It uses the same API at api.payenviro.com with a test key (px_test_…) and your gateways’ test accounts, so you can build and test the whole flow before going live.
No. A sandbox application only works with your gateways’ test accounts, so nothing is collected or settled.
Contact the PayEnviro team to discuss your requirements and obtain the appropriate access and configuration details.
No. Test keys start with px_test_ and belong to sandbox applications; live keys start with px_live_ and belong to live applications. Keep secret keys on your server, never in browser code.
Yes. Use your gateway’s test cards and UPI IDs for successful and failed payments; PayEnviro sends the same signed webhooks to your endpoint. Mark a customer as a test customer to move their date ahead and see renewals, retries and dunning at once.
Connect your live gateway accounts, promote the application to LIVE in the console, issue a live key (px_live_…) and switch your configuration. Talk to the PayEnviro team if you would like a review first.
Get started with PayEnviro. Explore the platform, connect your payment gateways, and manage payments, subscriptions and invoices from one place. Our team is here to help you get started.