mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
fix(router): populate card network in the network transaction id based MIT flow (#6690)
This commit is contained in:
@ -787,6 +787,9 @@ check_token_status_url= "" # base url to check token status from token servic
|
||||
[network_tokenization_supported_connectors]
|
||||
connector_list = "cybersource" # Supported connectors for network tokenization
|
||||
|
||||
[network_transaction_id_supported_connectors]
|
||||
connector_list = "stripe,adyen,cybersource" # Supported connectors for network transaction id
|
||||
|
||||
[grpc_client.dynamic_routing_client] # Dynamic Routing Client Configuration
|
||||
host = "localhost" # Client Host
|
||||
port = 7000 # Client Port
|
||||
|
||||
@ -176,6 +176,8 @@ bank_redirect.giropay.connector_list = "adyen,globalpay,multisafepay" # M
|
||||
card.credit = { connector_list = "cybersource" } # Update Mandate supported payment method type and connector for card
|
||||
card.debit = { connector_list = "cybersource" } # Update Mandate supported payment method type and connector for card
|
||||
|
||||
[network_transaction_id_supported_connectors]
|
||||
connector_list = "stripe,adyen,cybersource"
|
||||
|
||||
[payouts]
|
||||
payout_eligibility = true # Defaults the eligibility of a payout method to true in case connector does not provide checks for payout eligibility
|
||||
|
||||
@ -620,7 +620,7 @@ impl
|
||||
.as_ref()
|
||||
.map(|card_network| match card_network.to_lowercase().as_str() {
|
||||
"amex" => "internet",
|
||||
"discover" => "dipb",
|
||||
"discover" => "internet",
|
||||
"mastercard" => "spa",
|
||||
"visa" => "internet",
|
||||
_ => "internet",
|
||||
|
||||
@ -4674,7 +4674,7 @@ pub async fn get_additional_payment_data(
|
||||
api_models::payments::AdditionalPaymentData::Card(Box::new(
|
||||
api_models::payments::AdditionalCardInfo {
|
||||
card_issuer: card_info.card_issuer,
|
||||
card_network,
|
||||
card_network: card_info.card_network,
|
||||
bank_code: card_info.bank_code,
|
||||
card_type: card_info.card_type,
|
||||
card_issuing_country: card_info.card_issuing_country,
|
||||
|
||||
Reference in New Issue
Block a user