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
fix(connector): [Paypal] remove shipping address as mandatory field for paypal wallet (#3181)
Prasunna Soppa680ed603c511
diff --git a/crates/router/src/connector/paypal/transformers.rs b/crates/router/src/connector/paypal/transformers.rsindex 9f7a359899..2d3292359d 100644--- a/crates/router/src/connector/paypal/transformers.rs+++ b/crates/router/src/connector/paypal/transformers.rs@@ -486,7 +486,12 @@ impl TryFrom<&PaypalRouterData<&types::PaymentsAuthorizeRouterData>> for PaypalPexperience_context: ContextStruct {return_url: item.router_data.request.complete_authorize_url.clone(),cancel_url: item.router_data.request.complete_authorize_url.clone(),- shipping_preference: ShippingPreference::SetProvidedAddress,+ shipping_preference: if item.router_data.address.shipping.is_some()+ {+ ShippingPreference::SetProvidedAddress+ } else {+ ShippingPreference::GetFromFile+ },user_action: Some(UserAction::PayNow),},}));