mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +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)
|
||||
&& payment_data.get_payment_attempt().payment_method
|
||||
== Some(storage_enums::PaymentMethod::Wallet)
|
||||
&& payment_data.get_payment_method_data().is_some()
|
||||
{
|
||||
let wallet_type = payment_data
|
||||
.get_payment_attempt()
|
||||
|
||||
Reference in New Issue
Block a user