[BUG] handle refused responses when only one of `refusalCode` or `refusalDescription` is present for Worldpay

Author: kashif-mCreated Jul 24, 2025Updated Sep 16, 2026

refusalCode and refusalDescription are mandatory fields whenever Worldpay refuses the transactions. There is a case where only refusalDescription is present. Handle these cases accordingly for refused scenarios.

Use NO_ERROR_CODE and NO_ERROR_MESSAGE in connector integration when either one or both of them are missing in the response.