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: Include merchant reference in CreateIntentRequest (#1846)
Sangamesh Kulkarnidb55ed0f6dcb
diff --git a/crates/router/src/connector/trustpay/transformers.rs b/crates/router/src/connector/trustpay/transformers.rsindex 495189e898..e65c51a2bc 100644--- a/crates/router/src/connector/trustpay/transformers.rs+++ b/crates/router/src/connector/trustpay/transformers.rs@@ -832,6 +832,7 @@ pub struct TrustpayCreateIntentRequest {pub init_apple_pay: Option<bool>,// If true, Google pay will be initializedpub init_google_pay: Option<bool>,+ pub reference: String,}impl TryFrom<&types::PaymentsPreProcessingRouterData> for TrustpayCreateIntentRequest {@@ -878,6 +879,7 @@ impl TryFrom<&types::PaymentsPreProcessingRouterData> for TrustpayCreateIntentRecurrency: currency.to_string(),init_apple_pay: is_apple_pay,init_google_pay: is_google_pay,+ reference: item.payment_id.clone(),})}}