Getting Started
Quick start guide to integrate 1-CP Corporate Checkout
Welcome to 1-CP Corporate Checkout! This guide will help you integrate our corporate payment solution into your application in just a few minutes.
Overview
1-CP Corporate Checkout is a comprehensive payment solution designed specifically for corporate transactions. It provides:
Streamlined Corporate Purchasing: Simplify business expense management
Multiple Payment Methods: Support for cards, corporate accounts, and virtual payment solutions
Compliance & Reporting: Built-in compliance features and detailed reporting
Global Currency Support: Process payments in multiple currencies worldwide
Prerequisites
Before you begin, ensure you have:
Quick Start (5 minutes)
Step 1: Get Your Credentials
Log in to the Staging Dashboard
Navigate to Config β Widget
Create a new widget configuration
Copy your
client-idandclient-secret
Step 2: Install the SDK
Choose your preferred installation method:
NPM:
CDN:
Step 3: Create Your First Transaction
Backend (Create Transaction):
Frontend (Initialize Checkout):
Step 4: Test Your Integration
Use our test credentials to verify your setup:
Test Card Numbers:
Visa:
4242 4242 4242 4242Mastercard:
5555 5555 5555 4444CVV:
123Expiry: Any future date
Configuration Options
Environment Setup
Configure your environment based on your needs:
Payment Methods
Configure which payment methods to accept:
Navigate to Dashboard β Payment Configuration
Select your payment providers / acquirer
Configure payment method restrictions
Set up business unit mappings
Webhook Configuration
Set up webhooks to receive real-time payment notifications:
Go to Dashboard β Configurations β Connectors
Create a new Webhook connector
Configure your endpoint URL
Select event triggers (create, update, complete, etc.)
Common Integration Patterns
E-commerce Integration
Travel Booking Integration
Next Steps
Now that you have a basic integration running:
Configure Payment Methods: Set up your preferred payment providers
Customize Appearance: Brand the checkout experience with your colors and logo
Set Up Reporting: Configure webhooks and reporting connectors
Test Thoroughly: Use our comprehensive test scenarios
Go Live: Switch to production environment
Need Help?
Documentation: Browse our complete API reference and guides
Test Scenarios: Review our certification test cases
Support: Contact our integration team at [email protected]
Community: Join our developer community forum
Troubleshooting
Common Issues
Invalid Transaction ID
Ensure the transaction was created successfully
Check that you're using the correct environment (sandbox/production)
Verify your API credentials are valid
Payment Method Not Available
Check your payment configuration in the dashboard
Ensure the payment method is enabled for your business unit
Verify currency compatibility
Checkout Not Loading
Confirm the SDK is loaded correctly
Check for JavaScript console errors
Ensure the container element exists (for inline mode)
For more detailed troubleshooting, see our Error Messages reference.
Last updated