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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(session_flow): remove the shipping and billing parameter fields if null for apple pay and google pay (#4661)
Shankar Singh C0dee53ecb2d5
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rsindex dcabbde7eb..d7ba24b5a3 100644--- a/crates/api_models/src/payments.rs+++ b/crates/api_models/src/payments.rs@@ -3872,6 +3872,7 @@ pub struct GpayAllowedMethodsParameters {/// Is billing address requiredpub billing_address_required: Option<bool>,/// Billing address parameters+ #[serde(skip_serializing_if = "Option::is_none")]pub billing_address_parameters: Option<GpayBillingAddressParameters>,}@@ -4247,7 +4248,9 @@ pub struct ApplePayPaymentRequest {pub supported_networks: Option<Vec<String>>,pub merchant_identifier: Option<String>,/// The required billing contact fields for connector+ #[serde(skip_serializing_if = "Option::is_none")]pub required_billing_contact_fields: Option<ApplePayBillingContactFields>,+ #[serde(skip_serializing_if = "Option::is_none")]/// The required shipping contacht fields for connectorpub required_shipping_contact_fields: Option<ApplePayShippingContactFields>,}