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
chore(connector): add warning comment about dtd validation to redsys soap api (#11384)
Pa1NarK03f2f05fdb69
diff --git a/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs b/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rsindex a468c81f2f..a7ad0b54f8 100644--- a/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs@@ -1958,6 +1958,14 @@ pub struct Message {transaction: RedsysSyncRequest,}+/// SOAP XML Transaction request for Redsys PSync/RSync operations+///+/// CRITICAL: Field ordering must match Redsys DTD exactly.+/// Alphabetical sorting will cause XML0001 error (DTD validation failure).+///+/// Required DTD order: Ds_MerchantCode → Ds_Terminal → Ds_Order → Ds_TransactionType+///+/// Ref: RS.TE.CEL.MAN.0021 v1.4, Section 3.2.1 (Transaction simple)#[derive(Debug, Serialize)]#[serde(rename = "Transaction")]pub struct RedsysSyncRequest {