fix(env): update env for network tokenization service (#8472)

This commit is contained in:
Prasunna Soppa
2025-06-27 15:26:55 +05:30
committed by GitHub
parent a685f6b59c
commit 6c66c36a66
5 changed files with 7 additions and 5 deletions

View File

@ -1050,6 +1050,7 @@ private_key= "" # private key to decrypt response payload from to
key_id= "" # key id to encrypt data for token service
delete_token_url= "" # base url to delete token from token service
check_token_status_url= "" # base url to check token status from token service
webhook_source_verification_key= "" # webhook source verification key to verify the webhook payload from token service
[network_tokenization_supported_connectors]
connector_list = "adyen,cybersource" # Supported connectors for network tokenization

View File

@ -346,6 +346,7 @@ private_key= "" # private key to decrypt response payload from to
key_id= "" # key id to encrypt data for token service
delete_token_url= "" # base url to delete token from token service
check_token_status_url= "" # base url to check token status from token service
webhook_source_verification_key= "" # webhook source verification key to verify the webhook payload from token service
[grpc_client.dynamic_routing_client] # Dynamic Routing Client Configuration
host = "localhost" # Client Host

View File

@ -8553,5 +8553,5 @@ impl RoutingApproach {
#[strum(serialize_all = "snake_case")]
#[router_derive::diesel_enum(storage_type = "text")]
pub enum CallbackMapperIdType {
NetworkTokenRequestorRefernceID,
NetworkTokenRequestorReferenceID,
}

View File

@ -9,11 +9,11 @@ use diesel::{AsExpression, FromSqlRow};
pub enum CallbackMapperData {
/// data variant used while processing the network token webhook
NetworkTokenWebhook {
/// Merchant id assiociated with the network token requestor reference id
/// Merchant id associated with the network token requestor reference id
merchant_id: id_type::MerchantId,
/// Payment Method id assiociated with the network token requestor reference id
/// Payment Method id associated with the network token requestor reference id
payment_method_id: String,
/// Customer id assiociated with the network token requestor reference id
/// Customer id associated with the network token requestor reference id
customer_id: id_type::CustomerId,
},
}

View File

@ -776,7 +776,7 @@ where
};
let callback_mapper = CallbackMapper::new(
network_token_requestor_ref_id,
common_enums::CallbackMapperIdType::NetworkTokenRequestorRefernceID,
common_enums::CallbackMapperIdType::NetworkTokenRequestorReferenceID,
callback_mapper_data,
common_utils::date_time::now(),
common_utils::date_time::now(),