-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gstraccini[bot]
committed
Dec 18, 2023
1 parent
be1df19
commit 66f2379
Showing
3 changed files
with
17 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -264,9 +264,10 @@ private Order GetOrderInternal(string orderId) | |
} | ||
else if ( | ||
transaction.TransactionId != null | ||
&& !transaction | ||
.TransactionId | ||
.Equals(@"NO-PAYMENT", StringComparison.InvariantCultureIgnoreCase) | ||
&& !transaction.TransactionId.Equals( | ||
@"NO-PAYMENT", | ||
StringComparison.InvariantCultureIgnoreCase | ||
) | ||
) | ||
{ | ||
LogConsumer.Info(@"Bank bill {0}", order.Sequence); | ||
|
@@ -297,10 +298,10 @@ private Order GetOrderInternal(string orderId) | |
} | ||
|
||
if ( | ||
order | ||
.ClientProfileData | ||
.IndexOf(@"ct.vtex", StringComparison.InvariantCultureIgnoreCase) != -1 | ||
order.ClientProfileData.Email.IndexOf( | ||
@"ct.vtex", | ||
StringComparison.InvariantCultureIgnoreCase | ||
) != -1 | ||
) | ||
{ | ||
order.ClientProfileData.Email = @"[email protected]"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters