BizKitHub
INTERNAL_COMGATE_PRODUCTION_NOT_ENABLED

Comgate merchant is configured for production but only test mode is enabled on the gateway side.

Z BizKitHub Docs, referencia chybových kódov API

Názvy a popisy kódov udržiavame v angličtine.

HTTP 503Platforma
BizKitHub holds the Comgate gateway instance with environment="p" (production), but a pre-flight probe against the Comgate API returned error code 1308 ("Production environment is not enabled for you, it is enabled testing environment only"). Forwarding a customer to the gateway in this state would produce a broken payment page for every order. The platform refuses to create the payment until the misconfiguration is fixed.

Ako to vyriešiť

  1. 1

    Open the Comgate client portal and activate production mode for the affected merchant id.

  2. 2

    Or, until production is activated, change the gateway environment in BizKitHub admin (Payment gateways) from "p" to "t" so the customer is routed to the Comgate test environment.

  3. 3

    Verify that the BizKitHub merchant id and secret in the gateway instance match the Comgate portal exactly — a stale or swapped credential triggers the same code.

Ukážka odpovede

API odpovie statusom HTTP 503 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.

application/json
{
  "state": "error",
  "code": 503,
  "message": "Comgate merchant is configured for production but only test mode is enabled on the gateway side.",
  "errorCode": "INTERNAL_COMGATE_PRODUCTION_NOT_ENABLED",
  "hint": "BizKitHub holds the Comgate gateway instance with environment=\"p\" (production), but a pre-flight probe against the Comgate API returned error code 1308 (\"Production environment is not enabled for you, it is enabled testing environment only\"). Forwarding a customer to the gateway in this state would produce a broken payment page for every order. The platform refuses to create the payment until the misconfiguration is fixed.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_COMGATE_PRODUCTION_NOT_ENABLED"
}