mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
refactor(payment_methods): make the card_holder_name optional for card details in the payment APIs (#3074)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -20,7 +20,7 @@ pub fn generate_card_from_details(
|
||||
card_network: None,
|
||||
card_exp_year: masking::Secret::new(card_exp_year),
|
||||
card_exp_month: masking::Secret::new(card_exp_month),
|
||||
card_holder_name: masking::Secret::new("HyperSwitch".to_string()),
|
||||
card_holder_name: Some(masking::Secret::new("HyperSwitch".to_string())),
|
||||
nick_name: None,
|
||||
card_type: None,
|
||||
card_issuing_country: None,
|
||||
|
||||
Reference in New Issue
Block a user