mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
logs
This commit is contained in:
@ -793,6 +793,11 @@ impl RedisTokenManager {
|
|||||||
if t.is_hard_decline.unwrap_or(false) {
|
if t.is_hard_decline.unwrap_or(false) {
|
||||||
// Update the schedule time to None for hard declined tokens
|
// Update the schedule time to None for hard declined tokens
|
||||||
|
|
||||||
|
logger::info!(
|
||||||
|
connector_customer_id = connector_customer_id,
|
||||||
|
"Token is hard declined, setting schedule time to None"
|
||||||
|
);
|
||||||
|
|
||||||
Self::update_payment_processor_token_schedule_time(
|
Self::update_payment_processor_token_schedule_time(
|
||||||
state,
|
state,
|
||||||
connector_customer_id,
|
connector_customer_id,
|
||||||
@ -800,7 +805,9 @@ impl RedisTokenManager {
|
|||||||
None,
|
None,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
None
|
None
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Some(t)
|
Some(t)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user