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)

  • Purpose: Development, testing, and integration validation

  • Dashboard: dash.1-cp.io

  • API Base: https://api.1-cp.io

  • Features: Full feature parity with production, safe for testing

Production Environment (*.1-cp.com)

  • Purpose: Live transactions and production workloads

  • Dashboard: dash.1-cp.com

  • API Base: https://api.1-cp.com

  • Features: Live payment processing, real money transactions

πŸ“‹ Testing Workflow

1. Environment Setup

Start by configuring your staging environment with test credentials and business units.

β†’ Test Environment Setup

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.

β†’ Certification Process

πŸ”§ 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?

  1. Set up your test environment with staging credentials

  2. Configure payment methods using provider-specific test cards

  3. Run through certification scenarios to validate your integration

  4. 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