mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
bugfix(adyen): adyen psync fail fix (#691)
This commit is contained in:
@ -243,6 +243,8 @@ async fn get_tracker_for_sync<
|
|||||||
)
|
)
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
let contains_encoded_data = connector_response.encoded_data.is_some();
|
||||||
|
|
||||||
Ok((
|
Ok((
|
||||||
Box::new(operation),
|
Box::new(operation),
|
||||||
PaymentData {
|
PaymentData {
|
||||||
@ -263,10 +265,10 @@ async fn get_tracker_for_sync<
|
|||||||
payment_method_data: None,
|
payment_method_data: None,
|
||||||
force_sync: Some(
|
force_sync: Some(
|
||||||
request.force_sync
|
request.force_sync
|
||||||
&& helpers::check_force_psync_precondition(
|
&& (helpers::check_force_psync_precondition(
|
||||||
&payment_attempt.status,
|
&payment_attempt.status,
|
||||||
&payment_attempt.connector_transaction_id,
|
&payment_attempt.connector_transaction_id,
|
||||||
),
|
) || contains_encoded_data),
|
||||||
),
|
),
|
||||||
payment_attempt,
|
payment_attempt,
|
||||||
refunds,
|
refunds,
|
||||||
|
|||||||
Reference in New Issue
Block a user