mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(connector): Connector Feature Matrix Bugfix (#8047)
This commit is contained in:
@ -977,24 +977,6 @@ merchant_secret="Source verification key"
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.credit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Mastercard"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Visa"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Interac"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "AmericanExpress"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "JCB"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "DinersClub"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Discover"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.wallet]]
|
||||
payment_method_type = "google_pay"
|
||||
[[bluesnap.wallet]]
|
||||
|
||||
@ -494,24 +494,6 @@ merchant_secret="Source verification key"
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.credit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Mastercard"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Visa"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Interac"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "AmericanExpress"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "JCB"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "DinersClub"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Discover"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.wallet]]
|
||||
payment_method_type = "google_pay"
|
||||
[[bluesnap.wallet]]
|
||||
|
||||
@ -977,24 +977,6 @@ merchant_secret="Source verification key"
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.credit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Mastercard"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Visa"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Interac"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "AmericanExpress"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "JCB"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "DinersClub"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "Discover"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "CartesBancaires"
|
||||
[[bluesnap.debit]]
|
||||
payment_method_type = "UnionPay"
|
||||
[[bluesnap.wallet]]
|
||||
payment_method_type = "google_pay"
|
||||
[[bluesnap.wallet]]
|
||||
|
||||
@ -1450,7 +1450,7 @@ static BLUESNAP_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =
|
||||
api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
|
||||
api_models::feature_matrix::CardSpecificFeatures {
|
||||
three_ds: common_enums::FeatureStatus::Supported,
|
||||
no_three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::Supported,
|
||||
supported_card_networks: supported_card_network.clone(),
|
||||
}
|
||||
}),
|
||||
|
||||
@ -814,6 +814,7 @@ static FISERV_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = Laz
|
||||
let supported_capture_methods = vec![
|
||||
enums::CaptureMethod::Automatic,
|
||||
enums::CaptureMethod::SequentialAutomatic,
|
||||
enums::CaptureMethod::Manual,
|
||||
];
|
||||
|
||||
let supported_card_network = vec![
|
||||
@ -839,7 +840,7 @@ static FISERV_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = Laz
|
||||
api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
|
||||
api_models::feature_matrix::CardSpecificFeatures {
|
||||
three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::Supported,
|
||||
supported_card_networks: supported_card_network.clone(),
|
||||
}
|
||||
}),
|
||||
@ -858,7 +859,7 @@ static FISERV_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = Laz
|
||||
api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
|
||||
api_models::feature_matrix::CardSpecificFeatures {
|
||||
three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::Supported,
|
||||
supported_card_networks: supported_card_network.clone(),
|
||||
}
|
||||
}),
|
||||
|
||||
@ -718,7 +718,7 @@ impl webhooks::IncomingWebhook for Inespay {
|
||||
}
|
||||
|
||||
static INESPAY_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = LazyLock::new(|| {
|
||||
let supported_capture_methods = Vec::new();
|
||||
let supported_capture_methods = vec![enums::CaptureMethod::Automatic];
|
||||
let mut inespay_supported_payment_methods = SupportedPaymentMethods::new();
|
||||
|
||||
inespay_supported_payment_methods.add(
|
||||
|
||||
@ -953,7 +953,7 @@ lazy_static! {
|
||||
connector_type: enums::PaymentConnectorCategory::PaymentGateway,
|
||||
};
|
||||
|
||||
static ref SHIFT4_SUPPORTED_WEBHOOK_FLOWS: Vec<enums::EventClass> = vec![enums::EventClass::Payments];
|
||||
static ref SHIFT4_SUPPORTED_WEBHOOK_FLOWS: Vec<enums::EventClass> = vec![enums::EventClass::Payments, enums::EventClass::Refunds];
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -966,8 +966,8 @@ static STAX_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = LazyL
|
||||
specific_features: Some(
|
||||
api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
|
||||
api_models::feature_matrix::CardSpecificFeatures {
|
||||
three_ds: common_enums::FeatureStatus::Supported,
|
||||
no_three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::Supported,
|
||||
supported_card_networks: supported_card_network.clone(),
|
||||
}
|
||||
}),
|
||||
@ -985,8 +985,8 @@ static STAX_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = LazyL
|
||||
specific_features: Some(
|
||||
api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
|
||||
api_models::feature_matrix::CardSpecificFeatures {
|
||||
three_ds: common_enums::FeatureStatus::Supported,
|
||||
no_three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
three_ds: common_enums::FeatureStatus::NotSupported,
|
||||
no_three_ds: common_enums::FeatureStatus::Supported,
|
||||
supported_card_networks: supported_card_network.clone(),
|
||||
}
|
||||
}),
|
||||
@ -1004,11 +1004,8 @@ static STAX_CONNECTOR_INFO: ConnectorInfo = ConnectorInfo {
|
||||
connector_type: enums::PaymentConnectorCategory::PaymentGateway,
|
||||
};
|
||||
|
||||
static STAX_SUPPORTED_WEBHOOK_FLOWS: [enums::EventClass; 3] = [
|
||||
enums::EventClass::Payments,
|
||||
enums::EventClass::Refunds,
|
||||
enums::EventClass::Disputes,
|
||||
];
|
||||
static STAX_SUPPORTED_WEBHOOK_FLOWS: [enums::EventClass; 2] =
|
||||
[enums::EventClass::Payments, enums::EventClass::Refunds];
|
||||
|
||||
impl ConnectorSpecifications for Stax {
|
||||
fn get_connector_about(&self) -> Option<&'static ConnectorInfo> {
|
||||
|
||||
Reference in New Issue
Block a user