mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(env): update env for network tokenization service (#8472)
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -8553,5 +8553,5 @@ impl RoutingApproach {
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
pub enum CallbackMapperIdType {
|
||||
NetworkTokenRequestorRefernceID,
|
||||
NetworkTokenRequestorReferenceID,
|
||||
}
|
||||
|
||||
@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user