mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(connector): [Multisafepay] Use transaction_id as reference to transaction (#2451)
This commit is contained in:
		 Nabeel Hussain M N
					Nabeel Hussain M N
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							65ca5f12da
						
					
				
				
					commit
					ba2efac4fa
				
			| @ -530,7 +530,9 @@ impl<F, T> | |||||||
|         Ok(Self { |         Ok(Self { | ||||||
|             status: enums::AttemptStatus::from(status), |             status: enums::AttemptStatus::from(status), | ||||||
|             response: Ok(types::PaymentsResponseData::TransactionResponse { |             response: Ok(types::PaymentsResponseData::TransactionResponse { | ||||||
|                 resource_id: types::ResponseId::ConnectorTransactionId(item.response.data.order_id), |                 resource_id: types::ResponseId::ConnectorTransactionId( | ||||||
|  |                     item.response.data.order_id.clone(), | ||||||
|  |                 ), | ||||||
|                 redirection_data, |                 redirection_data, | ||||||
|                 mandate_reference: item |                 mandate_reference: item | ||||||
|                     .response |                     .response | ||||||
| @ -543,7 +545,7 @@ impl<F, T> | |||||||
|                     }), |                     }), | ||||||
|                 connector_metadata: None, |                 connector_metadata: None, | ||||||
|                 network_txn_id: None, |                 network_txn_id: None, | ||||||
|                 connector_response_reference_id: None, |                 connector_response_reference_id: Some(item.response.data.order_id.clone()), | ||||||
|             }), |             }), | ||||||
|             ..item.data |             ..item.data | ||||||
|         }) |         }) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user