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.
Ecommpay processes payments asynchronously. It immediately acknowledges the request, then finishes the transaction and reports the outcome through callbacks. To provide a synchronous experience, Gr4vy sends the initial call and then automatically checks Ecommpay for status updates.Ecommpay usually needs a few seconds to complete a request. After the initial call, Gr4vy polls for
status until the transaction leaves processing, sending up to three checks at roughly the 1, 3, and 5 second marks. Webhooks are also monitored as a fail-safe.Because of this, a single Ecommpay transaction in Gr4vy shows as multiple API requests plus a webhook event on the dashboard.
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.