mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +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(( | ||||
|         Box::new(operation), | ||||
|         PaymentData { | ||||
| @ -263,10 +265,10 @@ async fn get_tracker_for_sync< | ||||
|             payment_method_data: None, | ||||
|             force_sync: Some( | ||||
|                 request.force_sync | ||||
|                     && helpers::check_force_psync_precondition( | ||||
|                     && (helpers::check_force_psync_precondition( | ||||
|                         &payment_attempt.status, | ||||
|                         &payment_attempt.connector_transaction_id, | ||||
|                     ), | ||||
|                     ) || contains_encoded_data), | ||||
|             ), | ||||
|             payment_attempt, | ||||
|             refunds, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat