Testing & Development
Testing and development resources for 1-CP Corporate Checkout
This section provides everything you need to test and validate your 1-CP Corporate Checkout integration, from environment setup to certification requirements.
π Environment Overview
1-CP operates two main environments to support your development lifecycle:
Staging Environment (*.1-cp.io)
*.1-cp.io)Purpose: Development, testing, and integration validation
Dashboard: dash.1-cp.io
API Base:
https://api.1-cp.ioFeatures: Full feature parity with production, safe for testing
Production Environment (*.1-cp.com)
*.1-cp.com)Purpose: Live transactions and production workloads
Dashboard: dash.1-cp.com
API Base:
https://api.1-cp.comFeatures: Live payment processing, real money transactions
π Testing Workflow
1. Environment Setup
Start by configuring your staging environment with test credentials and business units.
2. Integration Testing
Validate your integration using our comprehensive test scenarios and provider-specific test cards.
β Payment Provider Test Cards:
3. Error Handling
Ensure your application handles all error scenarios gracefully.
β Error Messages & Troubleshooting
4. Certification
Complete our certification process to validate your integration before going live.
π§ Testing Best Practices
Comprehensive Test Coverage
β Happy Path: Successful transaction flows
β Error Scenarios: Payment failures, network issues, validation errors
β Edge Cases: Expired cards, insufficient funds, currency mismatches
β User Experience: Loading states, error messages, mobile responsiveness
β Webhooks: Event delivery, retry logic, signature verification
Data Management
Use realistic but obviously fake test data
Implement proper data cleanup procedures
Test with various currencies and payment methods
Validate tax calculation scenarios
Security Testing
Verify SSL/TLS implementation
Test webhook signature validation
Validate input sanitization
Check authorization and authentication flows
π Ready to Start Testing?
Set up your test environment with staging credentials
Configure payment methods using provider-specific test cards
Run through certification scenarios to validate your integration
Handle error cases to ensure robust error handling
Need help? Contact our support team at [email protected] or check our comprehensive error handling guide.
Last updated