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

  1. Log in to the Staging Dashboard

  2. Navigate to Config β†’ Widget

  3. Create a new widget configuration

  4. Copy your client-id and client-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 4242

  • Mastercard: 5555 5555 5555 4444

  • CVV: 123

  • Expiry: Any future date

Configuration Options

Environment Setup

Configure your environment based on your needs:

Payment Methods

Configure which payment methods to accept:

  1. Navigate to Dashboard β†’ Payment Configuration

  2. Select your payment providers / acquirer

  3. Configure payment method restrictions

  4. Set up business unit mappings

Webhook Configuration

Set up webhooks to receive real-time payment notifications:

  1. Go to Dashboard β†’ Configurations β†’ Connectors

  2. Create a new Webhook connector

  3. Configure your endpoint URL

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

  1. Configure Payment Methods: Set up your preferred payment providers

  2. Customize Appearance: Brand the checkout experience with your colors and logo

  3. Set Up Reporting: Configure webhooks and reporting connectors

  4. Test Thoroughly: Use our comprehensive test scenarios

  5. Go Live: Switch to production environment

Need Help?

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