mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	fix(router): fixed netcetera flow for backward flow cavv fetching (#8035)
This commit is contained in:
		@ -151,11 +151,14 @@ pub async fn perform_post_authentication(
 | 
				
			|||||||
        false,
 | 
					        false,
 | 
				
			||||||
        key_store.key.get_inner(),
 | 
					        key_store.key.get_inner(),
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    .await?;
 | 
					    .await
 | 
				
			||||||
 | 
					    .inspect_err(|err| router_env::logger::error!(tokenized_data_result=?err))
 | 
				
			||||||
 | 
					    .attach_printable("cavv not present after authentication flow")
 | 
				
			||||||
 | 
					    .ok();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let authentication_store =
 | 
					    let authentication_store =
 | 
				
			||||||
        hyperswitch_domain_models::router_request_types::authentication::AuthenticationStore {
 | 
					        hyperswitch_domain_models::router_request_types::authentication::AuthenticationStore {
 | 
				
			||||||
            cavv: Some(tokenized_data.value1),
 | 
					            cavv: tokenized_data.map(|data| data.value1),
 | 
				
			||||||
            authentication: authentication_update,
 | 
					            authentication: authentication_update,
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user