Skip to content

Commit

Permalink
fix: orderIdParts satisfies the logic of if statement instead of orderId
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Dec 4, 2023
1 parent 3d40d44 commit 6db6f1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6db6f1b

Please sign in to comment.