fix(core): add extended authorization to profile update and add supported payment method types (#9237)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2025-09-03 13:44:12 +05:30
committed by GitHub
parent f79cf784c1
commit e30842892a
4 changed files with 12 additions and 3 deletions

View File

@ -551,12 +551,12 @@ impl Connector {
}
pub fn get_payment_methods_supporting_extended_authorization(self) -> HashSet<PaymentMethod> {
HashSet::new()
HashSet::from([PaymentMethod::Card])
}
pub fn get_payment_method_types_supporting_extended_authorization(
self,
) -> HashSet<PaymentMethodType> {
HashSet::new()
HashSet::from([PaymentMethodType::Credit, PaymentMethodType::Debit])
}
pub fn should_acknowledge_webhook_for_resource_not_found_errors(self) -> bool {