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(router): Add Missing Match Case for Amazon Pay in decide_session_token_flow Function (#9881)
Anuragdfbfeefef7af
diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rsindex ab941cfd68..a01a906e8f 100644--- a/crates/router/src/core/payments/helpers.rs+++ b/crates/router/src/core/payments/helpers.rs@@ -6855,6 +6855,7 @@ pub fn decide_session_token_flow(api_models::enums::PaymentMethodType::Paypal => api::GetToken::PaypalSdkMetadata,api_models::enums::PaymentMethodType::SamsungPay => api::GetToken::SamsungPayMetadata,api_models::enums::PaymentMethodType::Paze => api::GetToken::PazeMetadata,+ api_models::enums::PaymentMethodType::AmazonPay => api::GetToken::AmazonPayMetadata,_ => api::GetToken::Connector,}}