Setup
Contact Ecommpay to obtain sandbox credentials for your region. Then, in the Gr4vy dashboard, add your Ecommpay connection using your Project ID and Secret key.Connector configuration
After setting up your Ecommpay connector in the dashboard, configure how transactions are routed to it. Choose one of the following options:- Using Flow - Configure Ecommpay as the target connector in Flow to automatically route card transactions to this connector
- Using the API - Explicitly set the
payment_service_idparameter to the Ecommpay connector ID when creating transactions. This overrides any Flow routing rules.
Tokenization callbacks
Your Ecommpay contact must enable tokenization for your project. After it is enabled, set up a dedicated tokenization callback. Gr4vy automatically handles Ecommpay’s transaction webhooks, but tokenization results use a separate callback. To configure the tokenization callback:- In the Ecommpay dashboard, go to Settings -> Callbacks.
- Create a new callback using the synchronization URL from your Ecommpay connector settings in the Gr4vy dashboard.
- Set the callback result type to “tokenize.”
Credentials
When setting up Ecommpay in the dashboard, configure the following credentials.- Project ID - The numeric project identifier from your Ecommpay dashboard.
- Secret key - The secret key from your Ecommpay dashboard.
Capabilities
Supported countries
Supported currencies
Limitations
- Asynchronous processing - Ecommpay acknowledges requests immediately and completes transactions asynchronously. Gr4vy polls for status updates after the initial call, sending up to three checks at roughly the 1, 3, and 5 second marks. Webhooks are monitored as a fail-safe. One transaction can appear as multiple API requests plus a webhook event in the dashboard.
- CVV required - A CVV is required for all card payments, except for stored credential follow-up payments and merchant-initiated transactions where the initial payment included a CVV.
- Closed loop - Ecommpay can only process card tokens generated through Ecommpay.
- 3DS required - Ecommpay requires 3D Secure (3DS) authentication for all card payments. Use Gr4vy hosted 3DS to satisfy this requirement.
This is a closed-loop connector. Some failover scenarios are limited. For
details, see Open-loop versus
closed-loop.
Integration
To accept card payments with Ecommpay, use one of Gr4vy’s client-side integration methods to securely collect card details. Due to PCI compliance requirements, card data should never be sent directly to your servers. You can integrate using:- Embed - A pre-built, customizable payment form that handles the complete payment flow
- Secure Fields - Embed card input fields for building custom payment forms while maintaining PCI compliance
- Mobile SDKs - Native SDKs for iOS, Android, React Native, and other platforms
payment_service_id parameter.
Required fields
Ecommpay requires the following fields in thebilling_details of a card
payment:
- Email address - Required for checkout.
- Phone number - Required for checkout.