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
This connector supports the Mastercard Transaction Link Identifier (TLID). For Gr4vy to receive the TLID, Ecommpay must turn on the TLID callback parameters for your production project, so ask your Ecommpay contact.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 card payments, except for stored credential follow-up payments and merchant-initiated transactions where the initial payment included a CVV. Google Pay payments made in a browser don’t need a CVV.
- 3DS required - Ecommpay requires 3D Secure (3DS) authentication for all card payments, including Google Pay payments that carry card details. Use Gr4vy hosted 3DS to satisfy this requirement. Ecommpay doesn’t approve a payment that is waiting for a 3DS result, and the transaction fails.
This connector is closed loop by default: Ecommpay stores the card and only
processes card tokens it generated. You can turn on open loop for the
connection instead, so Gr4vy stores the card and later merchant-initiated
payments reference the scheme transaction ID. 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 - Embed SDKs for iOS, Android, and React Native
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.
Testing
Ecommpay’s sandbox declines the Visa test card4111 1111 1111 1111 with a
pick-up card response, whatever the amount. To test Google Pay, use the
Mastercard card in the Google Pay test wallet instead.