Skip to main content
Who should use this guideThis guide is intended for merchants who:
  • Use Payrails as a payment orchestrator
  • Use Ecommpay for card and wallet processing
  • Have an active Ecommpay project

Create a Ecommpay integration in Payrails

  1. Log in to the Payrails portal.
  2. Go to Settings → Integrations.
  3. Select Add instance to create a new integration configuration.
  4. Select the workspaces where this integration should be available.
About workspacesWorkspaces determine where this integration is available. They let you isolate provider setups by region or business line, or share the same configuration across multiple workspaces.

Step 1: Choose the integration type

  • Select Payment.
  • Continue to the next step.

Step 2: Choose the provider

  • Select Ecommpay.
  • Continue to the next step.
A screenshot showing Ecommpay selected as the provider.

Step 3: Configure your Ecommpay integration

What you’ll need from EcommpayBefore you begin, make sure you have your Ecommpay project ID and secret key. Ecommpay gives you a test project first and sends the live secret key when your account goes live.

Integration instance name

An integration instance is a specific payment provider setup in Payrails. You can create multiple instances for different regions, currencies, or business needs. Choose a clear, consistent name, as it is used in routing.
In Payrails
  • Enter an Instance name for your integration, for example merchant_ecommpay.
A screenshot showing the integration instance name field.

Account details

In Payrails A screenshot showing the Ecommpay account details fields.

Credentials

In Payrails Payments go to the test or live project that your project ID and secret key belong to, so use the ones that match the mode of your Payrails integration. A screenshot showing the Ecommpay credential fields.

Payment methods

In Payrails
  • Select Card, Apple Pay, Google Pay or any combination.
A screenshot showing the Ecommpay payment method selection.

Webhooks or notifications

Payrails sends its notification URL to Ecommpay with every payment, so you don’t need to set one up in the Ecommpay dashboard. Payrails verifies each notification with your secret key.

Request fields for Ecommpay

Send these fields in the authorize request for card payments, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to Ecommpay when you include them. For more about meta fields, refer to Meta fields.

Configure Ecommpay settings

Some Ecommpay integration settings change how Payrails processes your payments. The portal shows the same description when you hover over each setting.

Enable the integration

In Payrails
  • Select Save account to enable the integration.
  • Confirm the integration shows as Enabled.
Your Ecommpay integration is now ready to process payments.

Next steps

  1. Run a test card payment on your Ecommpay test project.
  2. Verify that:
    • The payment appears in the Ecommpay dashboard.
    • The payment status updates correctly in Payrails.
  3. Once verified in test mode, repeat the setup with your live project.
→ Continue to: Test a payment
Last modified on October 6, 2026