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): [CRYPTOPAY] Skip metadata serialization if none (#4205)
DEEPANSHU BANSAL0429399c29f7
diff --git a/crates/router/src/connector/cryptopay/transformers.rs b/crates/router/src/connector/cryptopay/transformers.rsindex 635d4a66c2..707cfd8f06 100644--- a/crates/router/src/connector/cryptopay/transformers.rs+++ b/crates/router/src/connector/cryptopay/transformers.rs@@ -49,6 +49,7 @@ pub struct CryptopayPaymentsRequest {pay_currency: String,success_redirect_url: Option<String>,unsuccess_redirect_url: Option<String>,+ #[serde(skip_serializing_if = "Option::is_none")]metadata: Option<pii::SecretSerdeValue>,custom_id: String,}