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): [Payme] `payme_transaction_id` converted to optional (#3707)
Sakil Mostak3370c00589f7
diff --git a/crates/router/src/connector/payme/transformers.rs b/crates/router/src/connector/payme/transformers.rsindex e0f13741b6..2db7034d99 100644--- a/crates/router/src/connector/payme/transformers.rs+++ b/crates/router/src/connector/payme/transformers.rs@@ -884,7 +884,7 @@ pub struct SaleQuery {pub struct PaymePaySaleResponse {sale_status: SaleStatus,payme_sale_id: String,- payme_transaction_id: String,+ payme_transaction_id: Option<String>,buyer_key: Option<Secret<String>>,status_error_details: Option<String>,status_error_code: Option<u32>,@@ -894,7 +894,7 @@ pub struct PaymePaySaleResponse {#[derive(Serialize, Deserialize)]pub struct PaymeMetadata {- payme_transaction_id: String,+ payme_transaction_id: Option<String>,}impl<F, T>@@ -1133,7 +1133,7 @@ impl From<WebhookEventDataResource> for PaymePaySaleResponse {Self {sale_status: value.sale_status,payme_sale_id: value.payme_sale_id,- payme_transaction_id: value.payme_transaction_id,+ payme_transaction_id: Some(value.payme_transaction_id),buyer_key: value.buyer_key,sale_3ds: None,redirect_url: None,