INTERNAL_COMGATE_PRODUCTION_NOT_ENABLEDComgate merchant is configured for production but only test mode is enabled on the gateway side.
Aus BizKitHub Docs, der Referenz der API-Fehlercodes
Titel und Beschreibungen der Codes pflegen wir auf Englisch.
HTTP 503Plattform
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.
So beheben Sie es
- 1
Open the Comgate client portal and activate production mode for the affected merchant id.
- 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
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.
Beispielantwort
Die API antwortet mit HTTP 503 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.
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"
}