Skip to main content

Testing and Debugging

Test Credentials

For testing purposes, use the followoing credentials and addresses.

ResourceCredentialsAddress
Merchant PanelTest login and password that you receive on registration at OmniCart.https://mp.omnicart.scripsi.io/
API ServiceAn API key — generate one in your Merchant Panel.https://api.omnicart.scripsi.io/
tip

After you are done with testing, contact or our technical support to switch to production environment.

Test Cards

Use these cards in test environments. For each of the cards below, the following details will work.

CVV/CVCAny 3-digit number.
EXPIRYAny future date.
CARDHOLDER NAMEAny name.

Please, note

An invalid input, such as a past expiration date, will return the corresponding error regardless of the test card number.

BrandCard NumberSuccessMessage
4111 1111 1111 1111True

Payment successful.

4012 8888 8888 1881True

Payment successful.

4000 0000 0000 0002False

Authentication error
(3D Secure).

4000 0000 0000 0069False

Insufficient funds.

4000 0000 0000 0259False

Card blocked.

5500 0000 0000 0004True

Payment successful.

5105 1051 0510 5100True

Payment successful.

5105 1051 0510 5100False

Insufficient funds.

5200 8282 8282 8210False

Authentication error
(3D Secure).

6011 0000 0000 0004True

Payment successful.

6011 1111 1111 1117True

Payment successful.

6011 0000 0000 0004False

Insufficient funds.

3530 1113 0200 0000True

Payment successful.

3566 1111 1111 1113True

Payment successful.

API Debug Mode

OmniCart API is capable of returning debug information in responses. For this purpose, pass the debug property set to truein a request. If this setting is not specified or disabled, OmniCart returns only the error that caused the failure. If the setting is enabled, OmniCart checks the entire incoming request and returns all errors that may lead to a request processing failure.

Please, note

Authentication errors prevent OmniCart from checking the request contents.

Consider the examples below.

This is an example of a successful response. If the debug property is undefined or explicitly disabled, the response contains only the main response code and message pair.

If the debug property is enabled, the response contains the main message and the debug object with an additional message. Note that the request is successful since the above are not error messages.

Example of a successful response
Legend
//debug information
{
"cartId": "6f891edb-1e1f-48bb-b042-2cb790a0f402",
"code": "000000",
"message": "Success",
"timestamp": "2025-04-23T18:25:43.511Z"
}

This is an example of a failed response. If the debug property is undefined or explicitly disabled, the response contains only the main error code and message pair.

If the debug property is enabled, the response specifies the error that caused the request to fail separately. The debug object contains errors that will cause the request to fail next time if you do not fix them at this point.

Example of a failed response
Legend
//debug information
{
"code": 124101,
"message": "cartId already exists",
"timestamp": "2025-04-23T18:25:43.511Z"
}