feat(payments): rename match reason from 'exact_amount_different_dni' to 'exact_amount_near_dni'
This commit is contained in:
@@ -317,7 +317,7 @@ class TelepagosWebhookService
|
||||
abs((float) $purchaseAmount - (float) $amount),
|
||||
),
|
||||
'match_reason' => $amountMatches
|
||||
? ($dniMatches ? 'ambiguous_exact_match' : 'exact_amount_different_dni')
|
||||
? ($dniMatches ? 'ambiguous_exact_match' : 'exact_amount_near_dni')
|
||||
: 'exact_dni_near_amount',
|
||||
'confidence' => $amountMatches
|
||||
? ($dniMatches ? 'exact' : 'medium')
|
||||
|
||||
Reference in New Issue
Block a user