mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	fix(router): add customer_id validation for payment method create flow (#2543)
				
					
				
			This commit is contained in:
		@ -247,10 +247,9 @@ pub async fn save_payout_data_to_locker(
 | 
			
		||||
        &merchant_account.merchant_id,
 | 
			
		||||
        None,
 | 
			
		||||
        card_details_encrypted,
 | 
			
		||||
        key_store,
 | 
			
		||||
    )
 | 
			
		||||
    .await
 | 
			
		||||
    .change_context(errors::ApiErrorResponse::InternalServerError)
 | 
			
		||||
    .attach_printable("Failed to save payment method")?;
 | 
			
		||||
    .await?;
 | 
			
		||||
 | 
			
		||||
    Ok(())
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user