Please try searching something.
Testing and Going Live
To ensure a seamless integration, DECTA provides sandbox environments to test your payment flows without transferring real funds.
Important Note on Sandbox Testing Models.
DECTA is currently transitioning to an upgraded interactive Sandbox environment. During this migration phase, two testing frameworks operate side-by-side depending on the payment method:
- Legacy Sandbox Framework (Card Payments): Uses pre-configured test card numbers, fixed credentials, and test MIDs (0000000 or 0000001) under a Live website.
- New Sandbox Framework (Interactive Logic): Uses dedicated sandbox terminals under a Test website paired with interactive mockup tools and simulated processing rules.
Legacy Sandbox Framework (Card Payments)
Sandbox Integration Setup
- Request your account manager to set up a card payment test terminal under your Live website with test MIDs (0000000 or 0000001).
- Generate your Gateway API Key in the DECTA Portal:
- Key environment: Select Test environment.
- Key version: Select v0.6.
- Website: Select your Live website containing the test card accounts/MIDs.
- Default terminal: Select the test card terminal (0000000 or 0000001).
- Use the generated test API Key as a Bearer token in your Gateway API requests to run simulated test card transactions.
- (Optional) Configure webhooks to receive real-time asynchronous test events.
Sandbox Test Scenarios
Use the following test credit card details and CVVs to simulate specific authorization outcomes. These transactions are simulated and will not move actual funds.
| Scenario | Card Number | CVV | Result |
|---|---|---|---|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 000 |
|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 300 |
|
| SMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 010 |
|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 301 |
|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 302 |
|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 001 |
|
| SMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 011 |
|
| DMS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 201 |
|
| Recurrings (SMS) | 4111 1111 1111 1111 | - |
|
| Recurrings (DMS) | 4111 1111 1111 1111 | - |
|
| Recurrings (SMS, DMS) | 5105 1051 0510 5100 | - |
|
| Reversal / Refund (including partial) DMS | - | - |
|
| Reversal / Refund (including partial) SMS | - | - |
|
| Reversal / Refund (including partial) For paid orders | 4111 1111 1111 1111 | 028 |
|
| AUTH | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 018 |
|
| AUTH | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 019 |
|
| Wallet Funding | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 014 |
|
| Wallet Funding | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 015 |
|
| Wallet Purchase | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 016 |
|
| Wallet Purchase | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 017 |
|
| MOTO | 4111 1111 1111 1111 | - |
|
| MOTO | 5105 1051 0510 5100 | - |
|
| P2P, B2P, A2A, OG | 4111 1111 1111 1111 | - |
|
| P2P, B2P, A2A, OG | 5105 1051 0510 5100 | - |
|
| Purchase Paid Non 3DS | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 000 |
|
| Purchase 3DS Authenticated | 4111 1111 1111 1111 or 5105 1051 0510 5100 | 300 / 010 |
|
| AUTH NAME | 4111 1111 1111 1111 | - |
|
| AUTH NAME | 4242 4242 4242 4242 | - |
|
New Sandbox Framework (Interactive Logic)
Currently supported only by Blik. Additional alternative payment methods and card payment flows will be added to this framework on an ongoing basis.
Sandbox Integration Setup
- Request your account manager to set up a sandbox test terminal for the payment method under a Test website.
- Generate your Gateway API Key in the DECTA Portal:
- Key environment: Select Test environment.
- Key version: Select v0.6.
- Website: Select your assigned Test website.
- Default terminal: Select the sandbox terminal created under the Test website.
- Use the sandbox API Key as a Bearer token in Gateway API requests.
- (Optional) Configure webhooks to receive real-time asynchronous test events.
Interactive Payment Flows & Testing Scenarios
DECTA provides simulated authorization tools within the Sandbox environment to perform end-to-end integration testing safely without moving funds or relying on external third-party production providers.
Redirect Flows (Mockup Page)
For payment methods utilizing a user redirect step (such as Blik redirect flows):
- Create an order by passing the required method parameters via the Gateway API.
- Redirect the payer to the mockup URL returned by the Gateway API:
- Full Page Integration: Redirect to
full_page_url. - Host2Host Integration: Redirect to
redirect_url.
- Full Page Integration: Redirect to
- On the interactive Mockup Page, select the desired outcome scenario:
- AUTHENTICATE: Simulates an approved transaction. The status updates to SUCCESS, and a success callback is sent.
- REJECT: Simulates a declined transaction. The status updates to FAILED and a decline callback is sent.
- Abandonment Sync: If the page is abandoned or closed without a selection, the payment remains IN_PROGRESS until internal synchronization automatically moves the status to FAILED and dispatches the callback.
Testing Sandbox Refunds
For methods supporting refunds within the new sandbox framework, refund requests function identically to production workflows. Simulated outcome triggers are determined by the requested refund amount:
- Simulate Failed Refund: Submit a refund request with an amount ending in 4 (e.g., 1.54, 200.04).
- Simulate Successful Refund: Submit any other refund amount.
Going Live
The testing phase ends at your request, after which you will be provided with real terminals with the appropriate settings and permissions.