diff --git a/src/cartridges/int_adyen_overlay/cartridge/scripts/handleCustomObject.js b/src/cartridges/int_adyen_overlay/cartridge/scripts/handleCustomObject.js index 9be20d21b..b3015e140 100644 --- a/src/cartridges/int_adyen_overlay/cartridge/scripts/handleCustomObject.js +++ b/src/cartridges/int_adyen_overlay/cartridge/scripts/handleCustomObject.js @@ -80,7 +80,7 @@ function handle(customObj) { if (order === null) { // check to see if this was a $0.00 auth for recurring payment. if yes, CO can safely be deleted - if (orderId.indexOf('recurringPayment') > -1) { + if (orderIdParts.indexOf('recurringPayment') > -1) { result.SkipOrder = true; setProcessedCOInfo(customObj); } else {