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(ci): Fix Spell Check For CI Pull Request (#8857)
Sayak Bhattacharyaede0b4f74eed
diff --git a/crates/router/src/core/payment_methods/vault.rs b/crates/router/src/core/payment_methods/vault.rsindex ca2d5d1015..133fea4101 100644--- a/crates/router/src/core/payment_methods/vault.rs+++ b/crates/router/src/core/payment_methods/vault.rs@@ -1541,7 +1541,7 @@ pub async fn insert_cvc_using_payment_token(payment_token: &String,payment_method_data: api_models::payment_methods::PaymentMethodCreateData,payment_method: common_enums::PaymentMethod,- fullfillment_time: i64,+ fulfillment_time: i64,encryption_key: &masking::Secret<Vec<u8>>,) -> RouterResult<()> {let card_cvc = domain::PaymentMethodVaultingData::from(payment_method_data)@@ -1573,7 +1573,7 @@ pub async fn insert_cvc_using_payment_token(.set_key_if_not_exists_with_expiry(&key.as_str().into(),bytes::Bytes::from(encrypted_payload),- Some(fullfillment_time),+ Some(fulfillment_time),).await.change_context(errors::StorageError::KVError)diff --git a/crates/router/src/core/payments.rs b/crates/router/src/core/payments.rsindex bf66aafe24..ee7aa40496 100644--- a/crates/router/src/core/payments.rs+++ b/crates/router/src/core/payments.rs@@ -3599,9 +3599,9 @@ wherelet decide_wallet_flow = &wallet.decide_wallet_flow(state, payment_data, &merchant_connector_account).attach_printable("Failed to decide wallet flow")?- .async_map(|payment_proce_data| async move {+ .async_map(|payment_price_data| async move {wallet- .decrypt_wallet_token(&payment_proce_data, payment_data)+ .decrypt_wallet_token(&payment_price_data, payment_data).await}).await@@ -3629,11 +3629,11 @@ where.change_context(errors::ApiErrorResponse::InternalServerError)?;let connector_routing_data = match connector_call_type {ConnectorCallType::PreDetermined(connector_routing_data) => connector_routing_data,- ConnectorCallType::Retryable(connector_routing_datas) => connector_routing_datas+ ConnectorCallType::Retryable(connector_routing_data) => connector_routing_data.first().ok_or(errors::ApiErrorResponse::InternalServerError).attach_printable("Found no connector routing data in retryable call")?,- ConnectorCallType::SessionMultiple(_session_connector_datas) => {+ ConnectorCallType::SessionMultiple(_session_connector_data) => {return Err(errors::ApiErrorResponse::InternalServerError).attach_printable("SessionMultiple connector call type is invalid in confirm calls",);diff --git a/crates/router/src/types/transformers.rs b/crates/router/src/types/transformers.rsindex b1c1bf0a05..8109df0755 100644--- a/crates/router/src/types/transformers.rs+++ b/crates/router/src/types/transformers.rs@@ -1645,7 +1645,7 @@ implhyperswitch_domain_models::gsm::GatewayStatusMap,),) -> Self {- let gsm_db_record_infered_feature = match gsm_db_record.feature_data.get_decision() {+ let gsm_db_record_inferred_feature = match gsm_db_record.feature_data.get_decision() {api_enums::GsmDecision::Retry | api_enums::GsmDecision::DoDefault => {api_enums::GsmFeature::Retry}@@ -1653,7 +1653,7 @@ impllet gsm_feature = gsm_update_request.feature- .unwrap_or(gsm_db_record_infered_feature);+ .unwrap_or(gsm_db_record_inferred_feature);match gsm_feature {api_enums::GsmFeature::Retry => {