This application allows you to set up connections to the Paydock API (both live and sandbox connections), manage orders created via Paydock, and customize the Paydock widget styles.
With this application, you can set up connections to the Paydock API for both live and sandbox environments:
- Public Key
- Secret Key
- Supported Card Schemes
- Gateway ID
- Other configurations...
The application allows you to manage orders created via Paydock:
- View orders
- Change order status
- Other actions...
Customization options for the Paydock widget include:
- Background color
- Size
- Color
- Text
- Other settings...
The application allows you to view logs of all payments.

This guide provides instructions on how to install and set up the "Paydock" custom application for Commercetools.
Before you begin, ensure you have met the following requirements:
- Node.js (version 14 or higher) and npm installed on your machine
- Commercetools account with the necessary API credentials
- Git installed on your machine
Follow these steps to install the custom application:
Open your terminal and run the following command to clone the repository:
git clone https://github.com/PayDock/e-commerce-commercetools-app
Navigate to the project directory:
cd e-commerce-commercetools-app
Run the following command to install the necessary dependencies:
npm install
Create a .env file in the root directory of the project and add the following environment variables with your Commercetools API credentials:
APP_CLIENT_ID=""
APP_CLIENT_SECRET="***"
APP_PROJECT_KEY="***"
APP_REGION="europe-west1.gcp"
APP_NOTIFICATION_URL="https://notification.....com"
Replace the placeholder values with your actual Commercetools API credentials.
Start the application by running the following command:
npm start
The application should now be running on http://your_domain:3000.
To use the custom application:
- Open your browser and navigate to http://your_domain:3000.
- Log in with your Commercetools account credentials.
- Follow the on-screen instructions to use the application features.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or need further assistance, please contact Professional Services .


