Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): update required fields for xendit (#8941)

Pa1NarKdc2357af609d
diff --git a/crates/payment_methods/src/configs/payment_connector_required_fields.rs b/crates/payment_methods/src/configs/payment_connector_required_fields.rs
index 21b04ce59c..ea4d986942 100644
--- a/crates/payment_methods/src/configs/payment_connector_required_fields.rs
+++ b/crates/payment_methods/src/configs/payment_connector_required_fields.rs
@@ -1584,7 +1584,14 @@ fn get_cards_required_fields() -> HashMap<Connector, RequiredFieldFinal> {
vec![],
[
card_basic(),
- vec![RequiredField::BillingEmail, RequiredField::BillingPhone],
+ vec![
+ RequiredField::BillingEmail,
+ RequiredField::BillingPhone,
+ RequiredField::BillingPhoneCountryCode,
+ RequiredField::BillingUserFirstName,
+ RequiredField::BillingUserLastName,
+ RequiredField::BillingAddressCountries(vec!["ID,PH"]),
+ ],
]
.concat(),
),