mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-30 09:38:33 +08:00 
			
		
		
		
	fix(router): check payment_method_data before the decryption flow (#9521)
This commit is contained in:
		| @ -3771,6 +3771,7 @@ where | |||||||
|     if is_operation_confirm(operation) |     if is_operation_confirm(operation) | ||||||
|         && payment_data.get_payment_attempt().payment_method |         && payment_data.get_payment_attempt().payment_method | ||||||
|             == Some(storage_enums::PaymentMethod::Wallet) |             == Some(storage_enums::PaymentMethod::Wallet) | ||||||
|  |         && payment_data.get_payment_method_data().is_some() | ||||||
|     { |     { | ||||||
|         let wallet_type = payment_data |         let wallet_type = payment_data | ||||||
|             .get_payment_attempt() |             .get_payment_attempt() | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shankar Singh C
					Shankar Singh C