prompt
stringlengths
14
2.16k
response
stringlengths
52
115k
feat(payment_methods): add `external_vault_details` for payments v2 sdk session call (#8003) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **enums.rs** Modify existing code **payments.rs** Add: - struct: pub::VgsSessionDetails - struct: pub::HyperswitchVaultSessionDetails - enum: pub::VaultSessionDetails **connector_enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **business_profile.rs** Modify existing code **connectors.rs** Add: - mod: pub::hyperswitch_vault **transformers.rs** Modify existing code **hyperswitch_vault.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::build_request - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::HyperswitchVault - impl: impl api::Payment for HyperswitchVault - impl: impl api::PaymentSession for HyperswitchVault - impl: impl api::ConnectorAccessToken for HyperswitchVault - impl: impl api::MandateSetup for HyperswitchVault - impl: impl api::PaymentAuthorize for HyperswitchVault - impl: impl api::PaymentSync for HyperswitchVault - impl: impl api::PaymentCapture for HyperswitchVault - impl: impl api::PaymentVoid for HyperswitchVault - impl: impl api::Refund for HyperswitchVault - impl: impl api::RefundExecute for HyperswitchVault - impl: impl api::RefundSync for HyperswitchVault - impl: impl api::PaymentToken for HyperswitchVault - impl: impl api::ExternalVaultCreate for HyperswitchVault - impl: impl api::ConnectorCustomer for HyperswitchVault - impl: impl ConnectorIntegration<ExternalVaultCreateFlow, VaultRequestData, VaultResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorCommonExt<Flow, Request, Response> for HyperswitchVault - impl: impl ConnectorCommon for HyperswitchVault - impl: impl ConnectorIntegration<CreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorValidation for HyperswitchVault - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for HyperswitchVault - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for HyperswitchVault - impl: impl webhooks::IncomingWebhook for HyperswitchVault - impl: impl ConnectorSpecifications for HyperswitchVault - mod: pub::transformers **transformers.rs** Modify existing code **transformers.rs** Modify existing code **constants.rs** Modify existing code **default_implementations.rs** Modify existing code **default_implementations_v2.rs** Add: - impl: impl ExternalVaultCreateV2 for $connector - impl: impl ConnectorIntegrationV2< ExternalVaultCreateFlow, VaultConnectorFlowData, VaultRequestData, VaultResponseData, > for $connector **business_profile.rs** Modify existing code **configs.rs** Modify existing code **payments.rs** Add: - struct: pub::VgsSessionDetails - struct: pub::HyperswitchVaultSessionDetails - enum: pub::VaultSessionDetails **vault.rs** Add: - struct: pub::ExternalVaultCreateFlow **router_request_types.rs** Modify existing code **router_response_types.rs** Modify existing code **vault.rs** Add: - struct: pub::ExternalVaultCreateFlow **vault_v2.rs** Add: - trait: pub::ExternalVaultCreateV2 **types.rs** Modify existing code **openapi_v2.rs** Modify existing code **connector.rs** Modify existing code **admin.rs** Modify existing code **payment_methods.rs** Modify existing code **vault.rs** Add: - struct: pub::ExternalVaultCreateFlow **payments.rs** Add: - struct: pub::VgsSessionDetails - struct: pub::HyperswitchVaultSessionDetails - enum: pub::VaultSessionDetails **flows.rs** Add: - impl: impl ExternalVaultCreate for connector::DummyConnector<T> - impl: impl services::ConnectorIntegration< ExternalVaultCreateFlow, types::VaultRequestData, types::VaultResponseData, > for connector::DummyConnector<T> **session_flow.rs** Add: - function: private::create_connector_customer **helpers.rs** Add: - function: pub::get_inner_db_merchant_connector_account - function: pub::get_merchant_connector_account_v2 **payment_create_intent.rs** Modify existing code **payment_get_intent.rs** Modify existing code **payment_session_intent.rs** Modify existing code **payment_update_intent.rs** Modify existing code **session_operation.rs** Modify existing code **transformers.rs** Modify existing code **vault_session.rs** Add: - function: pub::populate_vault_session_details - function: pub::call_create_connector_customer_if_required - function: pub::generate_vault_session_details - function: private::generate_hyperswitch_vault_session_details - function: private::call_external_vault_create **utils.rs** Modify existing code **api.rs** Modify existing code **payments.rs** Add: - struct: pub::VgsSessionDetails - struct: pub::HyperswitchVaultSessionDetails - enum: pub::VaultSessionDetails **transformers.rs** Modify existing code **hyperswitch_vault.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::build_request - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::build_request - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::HyperswitchVault - impl: impl api::Payment for HyperswitchVault - impl: impl api::PaymentSession for HyperswitchVault - impl: impl api::ConnectorAccessToken for HyperswitchVault - impl: impl api::MandateSetup for HyperswitchVault - impl: impl api::PaymentAuthorize for HyperswitchVault - impl: impl api::PaymentSync for HyperswitchVault - impl: impl api::PaymentCapture for HyperswitchVault - impl: impl api::PaymentVoid for HyperswitchVault - impl: impl api::Refund for HyperswitchVault - impl: impl api::RefundExecute for HyperswitchVault - impl: impl api::RefundSync for HyperswitchVault - impl: impl api::PaymentToken for HyperswitchVault - impl: impl api::ExternalVaultCreate for HyperswitchVault - impl: impl api::ConnectorCustomer for HyperswitchVault - impl: impl ConnectorIntegration<ExternalVaultCreateFlow, VaultRequestData, VaultResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorCommonExt<Flow, Request, Response> for HyperswitchVault - impl: impl ConnectorCommon for HyperswitchVault - impl: impl ConnectorIntegration<CreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorValidation for HyperswitchVault - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for HyperswitchVault - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for HyperswitchVault - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for HyperswitchVault - impl: impl webhooks::IncomingWebhook for HyperswitchVault - impl: impl ConnectorSpecifications for HyperswitchVault - mod: pub::transformers **main.rs** Add: - mod: private::hyperswitch_vault **utils.rs** Modify existing code **connector_auth.rs** Modify existing code
feat(connector): [Paysafe] Implement card 3ds flow (#9305) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **paysafe.rs** Add: - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - impl: impl api::PaymentsCompleteAuthorize for Paysafe **transformers.rs** Add: - struct: pub::PaysafePaymentMethodDetails - struct: pub::CardAccountId - enum: pub::DeviceChannel - enum: pub::ThreeDsMessageCategory - enum: pub::ThreeDsAuthenticationPurpose - enum: pub::ThreeDsChallengePreference **default_implementations.rs** Modify existing code **utils.rs** Add: - function: private::get_optional_connector_transaction_id
feat(connector): [Braintree] Add Authorize, Capture, Void, PSync, Refund, Rsync for Braintree GraphQL API (#1962) Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in>
Files to modify: **settings.rs** Add: - struct: pub::MultipleApiVersionSupportedConnectors **braintree.rs** Remove: - function: private::get_error_response - impl: impl services::ConnectorIntegration< api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken, > for Braintree - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessionData, types::PaymentsResponseData, > for Braintree - impl: impl api::PreVerify for Braintree - impl: impl services::ConnectorIntegration< api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData, > for vec![ ( headers::CONTENT_TYPE.to_string(), types::PaymentsSyncType::get_content_type(self) .to_string() .into(), ), (headers::X_API_VERSION.to_string(), "6".to_string().into()), ( headers::ACCEPT.to_string(), "application/json".to_string().into(), ), ] - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for vec![ ( headers::CONTENT_TYPE.to_string(), types::PaymentsAuthorizeType::get_content_type(self) .to_string() .into(), ), (headers::X_API_VERSION.to_string(), "6".to_string().into()), ( headers::ACCEPT.to_string(), "application/json".to_string().into(), ), ] - impl: impl services::ConnectorIntegration< api::Void, types::PaymentsCancelData, types::PaymentsResponseData, > for vec![ ( headers::CONTENT_TYPE.to_string(), types::PaymentsAuthorizeType::get_content_type(self) .to_string() .into(), ), (headers::X_API_VERSION.to_string(), "6".to_string().into()), ( headers::ACCEPT.to_string(), "application/json".to_string().into(), ), ] Add: - function: pub::is_braintree_graphql_version - function: private::build_headers - function: private::handle_response - function: private::get_error_response - function: private::get_request_body - function: private::handle_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_error_response - impl: impl Braintree - impl: impl ConnectorCommonExt<Flow, Request, Response> for Braintree - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Braintree - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Braintree - impl: impl api::PreVerify for Braintree - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for &req.connector_api_version.clone() - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Braintree - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for &req.connector_api_version - mod: pub::braintree_graphql_transformers **braintree_graphql_transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::build_error_response - function: private::get_error_response - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::PaymentInput - struct: pub::VariablePaymentInput - struct: pub::BraintreePaymentsRequest - struct: pub::BraintreeMeta - struct: pub::TransactionBody - struct: pub::AuthResponse - struct: pub::TransactionAuthChargeResponseBody - struct: pub::DataAuthResponse - struct: pub::AuthChargeCreditCard - struct: pub::ErrorDetails - struct: pub::AdditionalErrorDetails - struct: pub::PaymentsResponse - struct: pub::DataResponse - struct: pub::RefundInputData - struct: pub::BraintreeRefundInput - struct: pub::BraintreeRefundVariables - struct: pub::BraintreeRefundRequest - struct: pub::BraintreeRefundTransactionBody - struct: pub::BraintreeRefundTransaction - struct: pub::BraintreeRefundResponseData - struct: pub::RefundResponse - struct: pub::BraintreeRSyncRequest - struct: pub::RSyncNodeData - struct: pub::RSyncEdgeData - struct: pub::RefundData - struct: pub::RSyncSearchData - struct: pub::RSyncResponseData - struct: pub::RSyncResponse - struct: pub::CreditCardData - struct: pub::InputData - struct: pub::VariableInput - struct: pub::BraintreeTokenRequest - struct: pub::TokenizePaymentMethodData - struct: pub::TokenizeCreditCardData - struct: pub::TokenizeCreditCard - struct: pub::TokenResponse - struct: pub::ErrorResponse - struct: pub::CaptureTransactionBody - struct: pub::CaptureInputData - struct: pub::VariableCaptureInput - struct: pub::BraintreeCaptureRequest - struct: pub::CaptureResponseTransactionBody - struct: pub::CaptureTransactionData - struct: pub::CaptureResponseData - struct: pub::CaptureResponse - struct: pub::CancelInputData - struct: pub::VariableCancelInput - struct: pub::BraintreeCancelRequest - struct: pub::CancelResponseTransactionBody - struct: pub::CancelTransactionData - struct: pub::CancelResponseData - struct: pub::CancelResponse - struct: pub::BraintreePSyncRequest - struct: pub::NodeData - struct: pub::EdgeData - struct: pub::TransactionData - struct: pub::SearchData - struct: pub::PSyncResponseData - struct: pub::PSyncResponse - enum: pub::BraintreeAuthResponse - enum: pub::BraintreePaymentStatus - enum: pub::BraintreePaymentsResponse - enum: pub::BraintreeRefundStatus - enum: pub::BraintreeRefundResponse - enum: pub::BraintreeRSyncResponse - enum: pub::BraintreeTokenResponse - enum: pub::BraintreeCaptureResponse - enum: pub::BraintreeCancelResponse - enum: pub::BraintreePSyncResponse - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for BraintreePaymentsRequest - impl: impl TryFrom<types::ResponseRouterData<F, BraintreeAuthResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl From<BraintreePaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, BraintreePaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for BraintreeRefundRequest - impl: impl From<BraintreeRefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, BraintreeRefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<&types::RefundSyncRouterData> for BraintreeRSyncRequest - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, BraintreeRSyncResponse>> for types::RefundsRouterData<api::RSync> - impl: impl TryFrom<&types::TokenizationRouterData> for BraintreeTokenRequest - impl: impl TryFrom<types::ResponseRouterData<F, BraintreeTokenResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for BraintreeCaptureRequest - impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<BraintreeCaptureResponse>> for types::PaymentsCaptureRouterData - impl: impl TryFrom<&types::PaymentsCancelRouterData> for BraintreeCancelRequest - impl: impl TryFrom<types::ResponseRouterData<F, BraintreeCancelResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsSyncRouterData> for BraintreePSyncRequest - impl: impl TryFrom<types::ResponseRouterData<F, BraintreePSyncResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> **transformers.rs** Modify existing code **utils.rs** Add: - function: pub::validate_currency **helpers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Add: - function: pub::validate_currency **types.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Add: - function: pub::validate_currency
feat(router): send 2xx payments response for all the connector http responses (2xx, 4xx etc.) (#1924)
Files to modify: **wrap.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_response.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **webhooks.rs** Modify existing code **metrics.rs** Modify existing code **request.rs** Modify existing code **payment_sync.rs** Modify existing code **api.rs** Add: - function: pub::http_response_json_with_headers **types.rs** Modify existing code **utils.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **payments2.rs** Modify existing code **stripe_ui.rs** Modify existing code
feat(payout): [Payone] add payone connector (#4553) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **connector.rs** Modify existing code **payone.rs** Remove: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_request_body - impl: impl ConnectorValidation for Payone - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> Add: - function: pub::generate_signature - function: private::get_currency_unit - impl: impl Payone - impl: impl ConnectorValidation for Payone - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Payone - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Payone - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Payone - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Payone - impl: impl api::Payouts for Payone - impl: impl api::PayoutFulfill for Payone **transformers.rs** Remove: - struct: pub::PayonePaymentsRequest - impl: impl TryFrom<(&api::CurrencyUnit, enums::Currency, i64, T)> for PayoneRouterData<T> Add: - function: private::from - struct: pub::ErrorResponse - enum: pub::PaymentProductId - impl: impl TryFrom<(&api::CurrencyUnit, storage_enums::Currency, i64, T)> for PayoneRouterData<T> **admin.rs** Modify existing code **flows.rs** Modify existing code **macros.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Remove: - struct: pub::PayonePaymentsRequest - impl: impl TryFrom<(&api::CurrencyUnit, enums::Currency, i64, T)> for PayoneRouterData<T> Add: - function: private::from - struct: pub::ErrorResponse - enum: pub::PaymentProductId - impl: impl TryFrom<(&api::CurrencyUnit, storage_enums::Currency, i64, T)> for PayoneRouterData<T> **utils.rs** Modify existing code **payone.rs** Remove: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_request_body - impl: impl ConnectorValidation for Payone - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> Add: - function: pub::generate_signature - function: private::get_currency_unit - impl: impl Payone - impl: impl ConnectorValidation for Payone - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Payone - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Payone - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Payone - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Payone - impl: impl api::Payouts for Payone - impl: impl api::PayoutFulfill for Payone
refactor(connector): [BOA/CYBS] add customer token for mandates and refactor psync (#4815) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **bankofamerica.rs** Modify existing code **transformers.rs** Remove: - struct: pub::BankOfAmericaApplicationInfoResponse - enum: pub::BankOfAmericaTransactionResponse **cybersource.rs** Modify existing code **transformers.rs** Remove: - struct: pub::BankOfAmericaApplicationInfoResponse - enum: pub::BankOfAmericaTransactionResponse
feat(connector): [Payme] Implement Card 3DS with sdk flow (#2082) Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in>
Files to modify: **payme.rs** Remove: - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Payme Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - function: private::get_flow_type - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_5xx_error_response - impl: impl api::PaymentsCompleteAuthorize for Payme - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Payme - impl: impl services::ConnectorRedirectResponse for Payme - impl: impl ConnectorIntegration< api::CompleteAuthorize, types::CompleteAuthorizeData, types::PaymentsResponseData, > for Payme - impl: impl ConnectorIntegration< api::InitPayment, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Payme **transformers.rs** Add: - struct: pub::Pay3dsRequest - struct: pub::CaptureBuyerRequest - struct: pub::CaptureBuyerResponse - struct: pub::ThreeDS - struct: pub::ThreeDSSettings - enum: pub::ThreeDSType **payments.rs** Modify existing code **flows.rs** Modify existing code **authorize_flow.rs** Modify existing code **complete_authorize_flow.rs** Add: - function: private::add_payment_method_token - function: private::try_from - impl: impl TryFrom<types::CompleteAuthorizeData> for types::PaymentMethodTokenizationData **transformers.rs** Add: - struct: pub::Pay3dsRequest - struct: pub::CaptureBuyerRequest - struct: pub::CaptureBuyerResponse - struct: pub::ThreeDS - struct: pub::ThreeDSSettings - enum: pub::ThreeDSType **api.rs** Modify existing code **types.rs** Add: - function: private::get_pm_data - function: private::set_session_token - impl: impl Tokenizable for CompleteAuthorizeData
initial commit
Files to modify: **mod.rs** Add: - function: pub::make - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - impl: impl api::ConnectorCommon for project - impl: impl api::Payment for project - impl: impl api::PaymentAuthorize for project - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for project - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for project - impl: impl services::ConnectorIntegration<api::Sync, types::RefundsRequestData, types::RefundsResponseData> for project - impl: impl api::IncomingWebhook for project - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **abs.rs** Add: - function: private::peek_cloning - function: private::peek_cloning - function: private::expose - trait: pub::PeekInterface - trait: pub::PeekOptionInterface - trait: pub::ExposeInterface - impl: impl PeekOptionInterface<Option<S>> for Option<Secret<S, I>> - impl: impl PeekOptionInterface<S> for Secret<S, I> - impl: impl ExposeInterface<S> for Secret<S, I> **boxed.rs** Add: - impl: impl SerializableSecret for Box<S> **bytes.rs** Add: - function: pub::new - function: private::peek - function: private::fmt - function: private::from - function: private::drop - function: private::deserialize - function: private::expecting - function: private::visit_bytes - function: private::visit_seq - struct: pub::SecretBytesMut - struct: private::SecretBytesVisitor - impl: impl SecretBytesMut - impl: impl PeekInterface<BytesMut> for SecretBytesMut - impl: impl fmt::Debug for SecretBytesMut - impl: impl From<BytesMut> for SecretBytesMut - impl: impl Drop for SecretBytesMut - impl: impl Deserialize<'de> for SecretBytesMut - impl: impl de::Visitor<'de> for SecretBytesVisitor **diesel.rs** Add: - function: private::as_expression - function: private::as_expression - function: private::to_sql - function: private::from_sql - function: private::as_expression - function: private::build - function: private::as_expression - function: private::as_expression - function: private::to_sql - function: private::from_sql - function: private::as_expression - function: private::build - impl: impl AsExpression<T> for &'expr Secret<S, I> - impl: impl AsExpression<T> for &'expr2 &'expr Secret<S, I> - impl: impl ToSql<T, DB> for Secret<S, I> - impl: impl FromSql<T, DB> for Secret<S, I> - impl: impl AsExpression<T> for Secret<S, I> - impl: impl Queryable<ST, DB> for Secret<S, I> - impl: impl AsExpression<T> for &'expr StrongSecret<S, I> - impl: impl AsExpression<T> for &'expr2 &'expr StrongSecret<S, I> - impl: impl ToSql<T, DB> for StrongSecret<S, I> - impl: impl FromSql<T, DB> for StrongSecret<S, I> - impl: impl AsExpression<T> for StrongSecret<S, I> - impl: impl Queryable<ST, DB> for StrongSecret<S, I> **lib.rs** Add: - mod: private::strategy - mod: private::abs - mod: private::secret - mod: private::strong_secret - mod: private::boxed - mod: private::bytes - mod: private::string - mod: private::vec - mod: private::serde - mod: pub::prelude - mod: private::diesel **secret.rs** Add: - function: pub::new - function: private::peek - function: private::from - function: private::clone - function: private::eq - function: private::fmt - function: private::default - struct: pub::Secret - impl: impl Secret<S, I> - impl: impl PeekInterface<S> for Secret<S, I> - impl: impl From<S> for Secret<S, I> - impl: impl Clone for Secret<S, I> - impl: impl PartialEq for Secret<S, I> - impl: impl Eq for Secret<S, I> - impl: impl fmt::Debug for Secret<S, I> - impl: impl Default for Secret<S, I> **serde.rs** Add: - function: private::deserialize - function: private::serialize - function: private::deserialize - function: private::serialize - trait: pub::SerializableSecret - impl: impl SerializableSecret for serde_json::Value - impl: impl Deserialize<'de> for Secret<T, I> - impl: impl Serialize for Secret<T, I> - impl: impl Deserialize<'de> for StrongSecret<T, I> - impl: impl Serialize for StrongSecret<T, I> **strategy.rs** Add: - function: private::fmt - function: private::fmt - function: private::fmt - struct: pub::WithType - struct: pub::WithoutType - struct: pub::NoMasking - trait: pub::Strategy - impl: impl Strategy<T> for WithType - impl: impl Strategy<T> for WithoutType - impl: impl Strategy<T> for NoMasking **string.rs** Add: - function: private::from_str - function: private::from_str - impl: impl SerializableSecret for String - impl: impl FromStr for Secret<String, I> - impl: impl FromStr for StrongSecret<String, I> **strong_secret.rs** Add: - function: pub::new - function: private::peek - function: private::from - function: private::clone - function: private::eq - function: private::fmt - function: private::fmt - function: private::default - function: private::drop - struct: pub::StrongSecret - impl: impl StrongSecret<S, I> - impl: impl PeekInterface<S> for StrongSecret<S, I> - impl: impl From<S> for StrongSecret<S, I> - impl: impl Clone for StrongSecret<S, I> - impl: impl PartialEq for StrongSecret<S, I> - impl: impl Eq for StrongSecret<S, I> - impl: impl fmt::Debug for StrongSecret<S, I> - impl: impl fmt::Display for StrongSecret<S, I> - impl: impl Default for StrongSecret<S, I> - impl: impl Drop for StrongSecret<T, S> **vec.rs** Add: - impl: impl SerializableSecret for Vec<S> **basic.rs** Add: - function: private::basic - function: private::zeroize - function: private::without_serialize - function: private::zeroize - function: private::for_string - struct: pub::AccountNumber - struct: pub::Composite - struct: pub::AccountNumber - struct: pub::Composite - struct: pub::Composite - impl: impl ZeroizableSecret for AccountNumber - impl: impl SerializableSecret for AccountNumber - impl: impl ZeroizableSecret for AccountNumber **router.rs** Add: - function: private::main **scheduler.rs** Add: - function: private::main - function: private::start_scheduler **compatibility.rs** Add: - mod: pub::stripe - mod: pub::wrap **stripe.rs** Add: - function: pub::server - struct: pub::StripeApis - impl: impl StripeApis - mod: private::app - mod: private::customers - mod: private::payment_intents - mod: private::refunds - mod: private::errors **app.rs** Add: - function: pub::server - function: pub::server - function: pub::server - struct: pub::PaymentIntents - struct: pub::Refunds - struct: pub::Customers - impl: impl PaymentIntents - impl: impl Refunds - impl: impl Customers **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **errors.rs** Add: - function: private::fmt - function: private::from - function: private::status_code - function: private::error_response - function: private::from - enum: pub::ErrorCode - enum: pub::StripeErrorType - impl: impl ::core::fmt::Display for ErrorCode - impl: impl From<ApiErrorResponse> for ErrorCode - impl: impl actix_web::ResponseError for ErrorCode - impl: impl From<serde_qs::Error> for ErrorCode **payment_intents.rs** Add: - function: pub::payment_intents_create - function: pub::payment_intents_retrieve - function: pub::payment_intents_update - function: pub::payment_intents_confirm - function: pub::payment_intents_capture - function: pub::payment_intents_cancel - function: pub::payment_intent_list - mod: private::types **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **refunds.rs** Add: - function: pub::refund_create - function: pub::refund_retrieve - function: pub::refund_update - mod: private::types **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **wrap.rs** Add: - function: pub::compatibility_api_wrap **configs.rs** Add: - mod: pub::settings **settings.rs** Add: - function: pub::new - function: pub::with_config_path - struct: pub::CmdLineConf - struct: pub::Settings - struct: pub::Keys - struct: pub::Locker - struct: pub::Proxy - struct: pub::Server - struct: pub::Database - struct: pub::Redis - struct: pub::Connectors - struct: pub::ConnectorParams - struct: pub::SchedulerSettings - struct: pub::ProducerSettings - impl: impl Settings **connection.rs** Add: - function: private::on_acquire - function: pub::redis_connection - function: pub::make_pg_pool - function: pub::pg_connection - struct: private::TestTransaction - impl: impl CustomizeConnection<PgPooledConn, ConnectionError> for TestTransaction **connector.rs** Add: - mod: pub::aci - mod: pub::adyen - mod: pub::authorizedotnet - mod: pub::checkout - mod: pub::stripe **aci.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Aci - impl: impl api::ConnectorCommon for Aci - impl: impl api::Payment for Aci - impl: impl api::PaymentAuthorize for Aci - impl: impl api::PaymentSync for Aci - impl: impl api::PaymentVoid for Aci - impl: impl api::PaymentCapture for Aci - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Aci - impl: impl api::Refund for Aci - impl: impl api::RefundExecute for Aci - impl: impl api::RefundSync for Aci - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Aci - impl: impl api::IncomingWebhook for Aci - impl: impl services::ConnectorRedirectResponse for Aci - mod: private::result_codes - mod: private::transformers **result_codes.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **adyen.rs** Add: - function: private::id - function: private::get_auth_header - function: private::base_url - function: private::get_headers - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_from_body - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - function: private::get_webhook_source_verification_message - function: private::get_webhook_source_verification_merchant_secret - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - function: private::get_webhook_api_response - struct: pub::Adyen - impl: impl api::ConnectorCommon for Adyen - impl: impl api::Payment for Adyen - impl: impl api::PaymentAuthorize for Adyen - impl: impl api::PaymentSync for Adyen - impl: impl api::PaymentVoid for Adyen - impl: impl api::PaymentCapture for Adyen - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Adyen - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Adyen - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Adyen - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Adyen - impl: impl api::Refund for Adyen - impl: impl api::RefundExecute for Adyen - impl: impl api::RefundSync for Adyen - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Adyen - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Adyen - impl: impl api::IncomingWebhook for Adyen - impl: impl services::ConnectorRedirectResponse for Adyen - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **authorizedotnet.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Authorizedotnet - impl: impl api::ConnectorCommon for Authorizedotnet - impl: impl api::Payment for Authorizedotnet - impl: impl api::PaymentAuthorize for Authorizedotnet - impl: impl api::PaymentSync for Authorizedotnet - impl: impl api::PaymentVoid for Authorizedotnet - impl: impl api::PaymentCapture for Authorizedotnet - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl api::Refund for Authorizedotnet - impl: impl api::RefundExecute for Authorizedotnet - impl: impl api::RefundSync for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Authorizedotnet - impl: impl api::IncomingWebhook for Authorizedotnet - impl: impl services::ConnectorRedirectResponse for Authorizedotnet - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **checkout.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::get_auth_header - function: private::base_url - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Checkout - impl: impl api::ConnectorCommon for Checkout - impl: impl api::Payment for Checkout - impl: impl api::PaymentAuthorize for Checkout - impl: impl api::PaymentSync for Checkout - impl: impl api::PaymentVoid for Checkout - impl: impl api::PaymentCapture for Checkout - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Checkout - impl: impl api::Refund for Checkout - impl: impl api::RefundExecute for Checkout - impl: impl api::RefundSync for Checkout - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Checkout - impl: impl api::IncomingWebhook for Checkout - impl: impl services::ConnectorRedirectResponse for Checkout - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **stripe.rs** Add: - function: pub::server - struct: pub::StripeApis - impl: impl StripeApis - mod: private::app - mod: private::customers - mod: private::payment_intents - mod: private::refunds - mod: private::errors **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **consts.rs** Modify existing code **core.rs** Add: - mod: pub::admin - mod: pub::customers - mod: pub::errors - mod: pub::mandate - mod: pub::payment_methods - mod: pub::payments - mod: pub::refunds - mod: pub::utils - mod: pub::webhooks **admin.rs** Add: - function: private::create_merchant_api_key - function: pub::create_merchant_account - function: pub::get_merchant_account - function: pub::merchant_account_update - function: pub::merchant_account_delete - function: private::get_parent_merchant - function: private::validate_merchant_id - function: pub::create_payment_connector - function: pub::retrieve_payment_connector - function: pub::update_payment_connector - function: pub::delete_payment_connector **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **errors.rs** Add: - function: private::fmt - function: private::from - function: private::status_code - function: private::error_response - function: private::from - enum: pub::ErrorCode - enum: pub::StripeErrorType - impl: impl ::core::fmt::Display for ErrorCode - impl: impl From<ApiErrorResponse> for ErrorCode - impl: impl actix_web::ResponseError for ErrorCode - impl: impl From<serde_qs::Error> for ErrorCode **api_error_response.rs** Add: - function: private::fmt - function: private::status_code - function: private::error_response - enum: pub::ErrorType - enum: pub::ApiErrorResponse - impl: impl ::core::fmt::Display for ApiErrorResponse - impl: impl actix_web::ResponseError for ApiErrorResponse **error_handlers.rs** Add: - function: pub::custom_error_handlers **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **mandate.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate - function: pub::get_customer_mandates **payment_methods.rs** Add: - mod: pub::cards - mod: pub::transformers **cards.rs** Add: - function: pub::create_payment_method - function: pub::add_payment_method - function: pub::add_card - function: pub::mock_add_card - function: pub::mock_get_card - function: pub::get_card - function: pub::delete_card - function: pub::list_payment_methods - function: private::filter_payment_methods - function: private::filter_accepted_enum_based - function: private::filter_amount_based - function: private::filter_recurring_based - function: private::filter_installment_based - function: pub::list_customer_payment_method - function: pub::get_tempcard_from_payment_method - function: pub::get_card_info_value - function: pub::get_card_info_from_value - function: pub::retrieve_payment_method - function: pub::delete_payment_method **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **payments.rs** Add: - function: pub::payments_operation_core - function: pub::payments_core - function: private::is_start_pay - function: pub::handle_payments_redirect_response - function: pub::payments_response_for_redirection_flows - function: private::call_connector_service - function: pub::if_not_create_change_operation - function: pub::is_confirm - function: pub::should_call_connector - function: pub::list_payments - function: pub::add_process_sync_task - struct: pub::PaymentAddress - struct: pub::PaymentData - struct: pub::CustomerDetails - enum: pub::CallConnectorAction - mod: pub::flows - mod: pub::helpers - mod: pub::operations - mod: pub::transformers **flows.rs** Add: - trait: pub::ConstructFlowSpecificData - trait: pub::Feature - mod: private::authorize_flow - mod: private::cancel_flow - mod: private::capture_flow - mod: private::psync_flow **authorize_flow.rs** Add: - function: private::construct_r_d - function: private::decide_flows - function: pub::decide_flow - function: private::generate_mandate - impl: impl ConstructFlowSpecificData< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for PaymentData<api::Authorize> - impl: impl Feature<api::Authorize, types::PaymentsRequestData> for types::RouterData<api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData> - impl: impl PaymentsRouterData **cancel_flow.rs** Add: - function: private::construct_r_d - function: private::decide_flows - function: pub::decide_flow - impl: impl ConstructFlowSpecificData< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for PaymentData<api::Void> - impl: impl Feature<api::Void, types::PaymentRequestCancelData> for types::RouterData<api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData> - impl: impl PaymentRouterCancelData **capture_flow.rs** Add: - function: private::construct_r_d - function: private::decide_flows - function: pub::decide_flow - impl: impl ConstructFlowSpecificData< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for PaymentData<api::PCapture> - impl: impl Feature<api::PCapture, types::PaymentsRequestCaptureData> for types::RouterData< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > - impl: impl PaymentsRouterCaptureData **psync_flow.rs** Add: - function: private::construct_r_d - function: private::decide_flows - function: pub::decide_flow - impl: impl ConstructFlowSpecificData< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for PaymentData<api::PSync> - impl: impl Feature<api::PSync, types::PaymentsRequestSyncData> for types::RouterData<api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData> - impl: impl PaymentsRouterSyncData **helpers.rs** Add: - function: pub::get_address_for_payment_request - function: pub::get_address_by_id - function: pub::get_token_pm_type_mandate_details - function: pub::get_token_for_recurring_mandate - function: pub::validate_merchant_id - function: pub::validate_request_amount_and_amount_to_capture - function: pub::validate_mandate - function: private::validate_new_mandate_request - function: pub::create_server_url - function: pub::create_startpay_url - function: pub::create_redirect_url - function: private::validate_recurring_mandate - function: pub::payment_attempt_status_fsm - function: pub::payment_intent_status_fsm - function: pub::response_operation - function: pub::amap - function: pub::call_payment_method - function: pub::client_secret_auth - function: pub::get_customer_from_details - function: pub::create_customer_if_not_exist - function: pub::make_pm_data - function: pub::payment_method_data_from_temp_card - function: pub::create_temp_card - function: pub::validate_capture_method - function: pub::validate_status - function: pub::validate_amount_to_capture - function: pub::can_call_connector - function: pub::append_option - function: pub::filter_by_constraints - function: pub::validate_payment_list_request - function: pub::get_handle_response_url - function: pub::make_merchant_url_with_response - function: pub::make_pg_redirect_response - function: pub::make_url_with_signature - function: pub::hmac_sha256_sorted_query_params **operations.rs** Add: - function: private::to_validate_request - function: private::to_get_tracker - function: private::to_domain - function: private::to_update_tracker - function: private::to_post_update_tracker - function: private::get_or_create_customer_details - function: private::make_pm_data - function: private::get_or_create_customer_details - function: private::make_pm_data - function: private::get_or_create_customer_details - function: private::make_pm_data - function: private::get_or_create_customer_details - function: private::make_pm_data - trait: pub::Operation - trait: pub::ValidateRequest - trait: pub::GetTracker - trait: pub::Domain - trait: pub::UpdateTracker - trait: pub::PostUpdateTracker - impl: impl Domain<F, api::PaymentsRequest> for Op - impl: impl Domain<F, api::PaymentsRetrieveRequest> for Op - impl: impl Domain<F, api::PaymentsCaptureRequest> for Op - impl: impl Domain<F, api::PaymentsCancelRequest> for Op - mod: private::payment_cancel - mod: private::payment_capture - mod: private::payment_confirm - mod: private::payment_create - mod: private::payment_response - mod: private::payment_start - mod: private::payment_status - mod: private::payment_update **payment_cancel.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - struct: pub::PaymentCancel - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsCancelRequest> for PaymentCancel - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsCancelRequest> for PaymentCancel - impl: impl ValidateRequest<F, api::PaymentsCancelRequest> for PaymentCancel **payment_capture.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - struct: pub::PaymentCapture - impl: impl GetTracker<F, payments::PaymentData<F>, api::PaymentsCaptureRequest> for PaymentCapture - impl: impl UpdateTracker<F, payments::PaymentData<F>, api::PaymentsCaptureRequest> for PaymentCapture - impl: impl ValidateRequest<F, api::PaymentsCaptureRequest> for PaymentCapture **payment_confirm.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - struct: pub::PaymentConfirm - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentConfirm - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentConfirm - impl: impl ValidateRequest<F, api::PaymentsRequest> for PaymentConfirm **payment_create.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - function: private::make_payment_attempt - function: private::make_payment_intent - function: private::make_connector_response - function: pub::payments_create_request_validation - struct: pub::PaymentCreate - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentCreate - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentCreate - impl: impl ValidateRequest<F, api::PaymentsRequest> for PaymentCreate - impl: impl PaymentCreate **payment_response.rs** Add: - function: private::update_tracker - function: private::update_tracker - function: private::update_tracker - function: private::update_tracker - function: private::payment_response_ut - struct: pub::PaymentResponse - impl: impl PostUpdateTracker<F, PaymentData<F>, types::PaymentsRequestData> for PaymentResponse - impl: impl PostUpdateTracker<F, PaymentData<F>, types::PaymentsRequestSyncData> for PaymentResponse - impl: impl PostUpdateTracker<F, PaymentData<F>, types::PaymentsRequestCaptureData> for PaymentResponse - impl: impl PostUpdateTracker<F, PaymentData<F>, types::PaymentRequestCancelData> for PaymentResponse **payment_start.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - function: private::get_or_create_customer_details - function: private::make_pm_data - struct: pub::PaymentStart - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsStartRequest> for PaymentStart - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsStartRequest> for PaymentStart - impl: impl ValidateRequest<F, api::PaymentsStartRequest> for PaymentStart - impl: impl Domain<F, api::PaymentsStartRequest> for Op **payment_status.rs** Add: - function: private::to_domain - function: private::to_update_tracker - function: private::to_domain - function: private::to_update_tracker - function: private::update_trackers - function: private::update_trackers - function: private::get_trackers - function: private::get_tracker_for_sync - function: private::validate_request - struct: pub::PaymentStatus - impl: impl Operation<F, api::PaymentsRequest> for PaymentStatus - impl: impl Operation<F, api::PaymentsRequest> for &PaymentStatus - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentStatus - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsRetrieveRequest> for PaymentStatus - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsRetrieveRequest> for PaymentStatus - impl: impl ValidateRequest<F, api::PaymentsRetrieveRequest> for PaymentStatus **payment_update.rs** Add: - function: private::get_trackers - function: private::update_trackers - function: private::validate_request - struct: pub::PaymentUpdate - impl: impl GetTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentUpdate - impl: impl UpdateTracker<F, PaymentData<F>, api::PaymentsRequest> for PaymentUpdate - impl: impl ValidateRequest<F, api::PaymentsRequest> for PaymentUpdate **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **refunds.rs** Add: - function: pub::refund_create - function: pub::refund_retrieve - function: pub::refund_update - mod: private::types **validator.rs** Add: - function: pub::validate_success_transaction - function: pub::validate_refund_amount - function: pub::validate_payment_order_age - function: pub::validate_maximum_refund_against_payment_attempt - function: pub::validate_uniqueness_of_refund_id_against_merchant_id - enum: pub::RefundValidationError **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **webhooks.rs** Add: - function: private::payments_incoming_webhook_flow - function: private::create_event_and_trigger_outgoing_webhook - function: private::trigger_webhook_to_merchant - function: pub::webhooks_core - mod: pub::transformers - mod: pub::utils **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::default - function: private::from - function: private::try_from - function: private::default - function: private::from - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsRouterData> for project - impl: impl TryFrom<&types::ConnectorAuthType> for project - impl: impl Default for project - impl: impl From<{{project-name | downcase | pascal_case}}PaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<&types::RefundsRouterData> for project - impl: impl Default for RefundStatus - impl: impl From<self::RefundStatus> for enums::RefundStatus **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **cors.rs** Add: - function: pub::cors **db.rs** Add: - function: pub::new - function: pub::test - struct: pub::SqlDb - trait: pub::Db - impl: impl SqlDb - impl: impl Db for Store - mod: pub::address - mod: pub::configs - mod: pub::connector_response - mod: pub::customers - mod: pub::events - mod: pub::locker_mock_up - mod: pub::mandate - mod: pub::merchant_account - mod: pub::merchant_connector_account - mod: pub::payment_attempt - mod: pub::payment_intent - mod: pub::payment_method - mod: pub::process_tracker - mod: pub::refund - mod: pub::temp_card **address.rs** Add: - function: private::find_address - function: private::update_address - function: private::insert_address - trait: pub::IAddress - impl: impl IAddress for Store **configs.rs** Add: - mod: pub::settings **connector_response.rs** Add: - function: private::insert_connector_response - function: private::find_connector_response_by_payment_id_merchant_id_txn_id - function: private::update_connector_response - trait: pub::IConnectorResponse - impl: impl IConnectorResponse for Store **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **events.rs** Add: - function: private::insert_event - trait: pub::IEvent - impl: impl IEvent for Store **locker_mock_up.rs** Add: - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - trait: pub::ILockerMockUp - impl: impl ILockerMockUp for Store **mandate.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate - function: pub::get_customer_mandates **merchant_account.rs** Add: - function: private::insert_merchant - function: private::find_merchant_account_by_merchant_id - function: private::update_merchant - function: private::find_merchant_account_by_api_key - function: private::find_merchant_account_by_publishable_key - function: private::delete_merchant_account_by_merchant_id - trait: pub::IMerchantAccount - impl: impl IMerchantAccount for Store **merchant_connector_account.rs** Add: - function: private::find_merchant_connector_account_by_merchant_id_connector - function: private::find_by_merchant_connector_account_merchant_id_merchant_connector_id - function: private::insert_merchant_connector_account - function: private::find_merchant_connector_account_by_merchant_id_list - function: private::update_merchant_connector_account - function: private::delete_merchant_connector_account_by_merchant_id_merchant_connector_id - trait: pub::IMerchantConnectorAccount - impl: impl IMerchantConnectorAccount for Store **payment_attempt.rs** Add: - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - trait: pub::IPaymentAttempt - impl: impl IPaymentAttempt for Store - impl: impl IPaymentAttempt for Store - mod: private::storage - mod: private::storage **payment_intent.rs** Add: - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - trait: pub::IPaymentIntent - impl: impl IPaymentIntent for Store - impl: impl IPaymentIntent for Store - mod: private::storage - mod: private::storage **payment_method.rs** Add: - function: private::find_payment_method - function: private::insert_payment_method - function: private::find_payment_method_by_customer_id_merchant_id_list - function: private::delete_payment_method_by_merchant_id_payment_method_id - trait: pub::IPaymentMethod - impl: impl IPaymentMethod for Store **process_tracker.rs** Add: - function: private::find_process_by_id - function: private::reinitialize_limbo_processes - function: private::find_processes_by_time_status - function: private::insert_process - function: private::update_process - function: private::update_process_tracker - function: private::process_tracker_update_process_status_by_ids - trait: pub::IProcessTracker - impl: impl IProcessTracker for Store **refund.rs** Add: - function: private::find_refund_by_internal_reference_id_merchant_id - function: private::insert_refund - function: private::find_refund_by_merchant_id_transaction_id - function: private::update_refund - function: private::find_refund_by_merchant_id_refund_id - function: private::find_refund_by_payment_id_merchant_id - trait: pub::IRefund - impl: impl IRefund for Store **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - trait: pub::ITempCard - impl: impl ITempCard for Store **env.rs** Add: - function: pub::setup - mod: pub::logger **lib.rs** Add: - mod: private::strategy - mod: private::abs - mod: private::secret - mod: private::strong_secret - mod: private::boxed - mod: private::bytes - mod: private::string - mod: private::vec - mod: private::serde - mod: pub::prelude - mod: private::diesel **pii.rs** Add: - function: private::fmt - function: private::fmt - function: private::fmt - function: private::test_valid_card_number_masking - function: private::test_invalid_card_number_masking - function: private::test_valid_email_masking - function: private::test_invalid_email_masking - function: private::test_valid_ip_addr_masking - function: private::test_invalid_ip_addr_masking - struct: pub::CardNumber - struct: pub::Email - struct: pub::IpAddress - impl: impl Strategy<T> for CardNumber - impl: impl Strategy<T> for Email - impl: impl Strategy<T> for IpAddress - mod: private::pii_masking_strategy_tests **routes.rs** Add: - mod: private::admin - mod: private::app - mod: private::customers - mod: private::health - mod: private::mandates - mod: private::metrics - mod: private::payment_methods - mod: pub::payments - mod: private::payouts - mod: private::refunds - mod: private::webhooks **admin.rs** Add: - function: private::create_merchant_api_key - function: pub::create_merchant_account - function: pub::get_merchant_account - function: pub::merchant_account_update - function: pub::merchant_account_delete - function: private::get_parent_merchant - function: private::validate_merchant_id - function: pub::create_payment_connector - function: pub::retrieve_payment_connector - function: pub::update_payment_connector - function: pub::delete_payment_connector **app.rs** Add: - function: pub::server - function: pub::server - function: pub::server - struct: pub::PaymentIntents - struct: pub::Refunds - struct: pub::Customers - impl: impl PaymentIntents - impl: impl Refunds - impl: impl Customers **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **health.rs** Add: - function: pub::health **mandates.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate **metrics.rs** Modify existing code **payment_methods.rs** Add: - mod: pub::cards - mod: pub::transformers **payments.rs** Add: - function: pub::payments_operation_core - function: pub::payments_core - function: private::is_start_pay - function: pub::handle_payments_redirect_response - function: pub::payments_response_for_redirection_flows - function: private::call_connector_service - function: pub::if_not_create_change_operation - function: pub::is_confirm - function: pub::should_call_connector - function: pub::list_payments - function: pub::add_process_sync_task - struct: pub::PaymentAddress - struct: pub::PaymentData - struct: pub::CustomerDetails - enum: pub::CallConnectorAction - mod: pub::flows - mod: pub::helpers - mod: pub::operations - mod: pub::transformers **payouts.rs** Add: - function: pub::payouts_create - function: pub::payouts_retrieve - function: pub::payouts_update - function: pub::payouts_reverse - function: pub::payouts_cancel - function: pub::payouts_accounts - function: private::http_response **refunds.rs** Add: - function: pub::refund_create - function: pub::refund_retrieve - function: pub::refund_update - mod: private::types **webhooks.rs** Add: - function: private::payments_incoming_webhook_flow - function: private::create_event_and_trigger_outgoing_webhook - function: private::trigger_webhook_to_merchant - function: pub::webhooks_core - mod: pub::transformers - mod: pub::utils **scheduler.rs** Add: - function: private::main - function: private::start_scheduler **consumer.rs** Add: - function: pub::valid_business_statuses - function: pub::start_consumer - function: pub::consumer_operations - function: pub::fetch_consumer_tasks - function: pub::start_workflow - function: pub::run_executor - function: pub::some_error_handler - function: pub::create_task **producer.rs** Add: - function: pub::fetch_upper_limit - function: pub::fetch_lower_limit - function: pub::producer_lock_key - function: pub::producer_lock_ttl - function: pub::start_producer - function: pub::run_producer_flow - function: pub::fetch_producer_tasks **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **batch.rs** Add: - function: pub::to_redis_field_value_pairs - function: pub::from_redis_stream_entry - struct: pub::ProcessTrackerBatch - impl: impl ProcessTrackerBatch **config.rs** Add: - function: pub::new - struct: pub::SchedulerConfig - impl: impl SchedulerConfig **flow.rs** Add: - enum: pub::SchedulerFlow **options.rs** Add: - struct: pub::Milliseconds - struct: pub::SchedulerOptions - struct: pub::ReadinessOptions **process_data.rs** Add: - struct: pub::ProcessData - struct: pub::RetryMapping - struct: pub::ConnectorPTMapping **state.rs** Add: - struct: pub::DummyWorkflowState - enum: pub::WorkflowState - impl: impl DummyWorkflowState **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **workflows.rs** Add: - function: private::execute_workflow - function: private::success_handler - function: private::error_handler - function: private::test_enum_to_string - trait: pub::ProcessTrackerWorkflow - mod: pub::payment_sync - mod: pub::refund_router - mod: private::workflow_tests **payment_sync.rs** Add: - function: private::execute_workflow - function: private::error_handler - function: pub::get_sync_process_schedule_time - function: pub::get_sync_schedule_time - function: private::get_delay - function: pub::retry_sync_task - impl: impl ProcessTrackerWorkflow for PaymentsSyncWorkflow **refund_router.rs** Add: - function: private::execute_workflow - function: private::error_handler - impl: impl ProcessTrackerWorkflow for RefundWorkflowRouter **schema.rs** Modify existing code **services.rs** Add: - struct: pub::Store - mod: pub::api - mod: pub::encryption - mod: pub::logger - mod: pub::redis **api.rs** Add: - function: private::get_connector_integration - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: pub::execute_connector_processing_step - function: pub::call_connector_api - function: private::send_request - function: private::handle_response - function: private::from - function: pub::new - function: private::from - function: private::from - function: pub::get_auth_flow - function: pub::get_auth_type - function: pub::server_wrap_util - function: pub::server_wrap - function: pub::log_and_return_error_response - function: pub::authenticate_merchant - function: pub::authenticate_connector - function: pub::get_auth_type_and_check_client_secret - function: private::get_api_key - function: pub::authenticate_by_api_key - function: private::authenticate_by_publishable_key - function: pub::http_response_json - function: pub::http_response_plaintext - function: pub::http_response_ok - function: pub::http_redirect_response - function: pub::http_response_err - function: private::get_flow_type - function: pub::build_redirection_form - function: private::test_mime_essence - struct: pub::BachRedirectResponse - struct: pub::RedirectForm - enum: pub::BachResponse - enum: pub::ApiAuthentication - enum: pub::MerchantAuthentication - enum: pub::ConnectorAuthentication - enum: pub::AuthFlow - trait: pub::ConnectorIntegrationExt - trait: pub::ConnectorIntegration - trait: pub::ConnectorRedirectResponse - impl: impl ConnectorIntegrationExt<T, Req, Resp> for S - impl: impl From<&storage::PaymentAttempt> for BachRedirectResponse - impl: impl RedirectForm - impl: impl From<MerchantAuthentication<'a>> for ApiAuthentication<'a> - impl: impl From<ConnectorAuthentication<'a>> for ApiAuthentication<'a> - mod: private::client - mod: pub::request - mod: private::tests **client.rs** Add: - function: private::get_proxy_url - function: pub::create_client - function: pub::proxy_bypass_urls - enum: private::ProxyType - impl: impl ProxyType **request.rs** Add: - function: pub::new - function: pub::set_body - function: pub::add_header - function: pub::add_content_type - function: pub::new - function: pub::url - function: pub::method - function: pub::header - function: pub::headers - function: pub::body - function: pub::content_type - function: pub::build - function: private::default - function: private::construct_header_map - function: private::add_headers - struct: pub::Request - struct: pub::RequestBuilder - enum: pub::Method - enum: pub::ContentType - trait: pub::HeaderExt - trait: pub::RequestBuilderExt - impl: impl Request - impl: impl RequestBuilder - impl: impl Default for RequestBuilder - impl: impl HeaderExt for Headers - impl: impl RequestBuilderExt for reqwest::RequestBuilder **encryption.rs** Add: - function: private::new - function: private::advance - function: pub::get_encryption_key - function: pub::set_encryption_key - function: pub::get_encryption_key - function: pub::encrypt - function: pub::decrypt - function: private::generate_key - function: private::test_enc - function: private::test_kms - struct: private::NonceGen - struct: pub::KeyHandler - impl: impl NonceGen - impl: impl NonceSequence for NonceGen - impl: impl KeyHandler - impl: impl KeyHandler - mod: private::tests **locking.rs** Modify existing code **logger.rs** Modify existing code **redis.rs** Add: - function: pub::new - function: pub::close_connections - function: private::from - struct: pub::RedisConnectionPool - struct: private::RedisConfig - impl: impl RedisConnectionPool - impl: impl From<&crate::configs::settings::Redis> for RedisConfig - mod: pub::commands - mod: pub::types **commands.rs** Add: - function: pub::set_key - function: pub::serialize_and_set_key - function: pub::get_key - function: pub::get_and_deserialize_key - function: pub::delete_key - function: pub::set_key_with_expiry - function: pub::set_key_if_not_exist - function: pub::set_expiry - function: pub::stream_append_entry - function: pub::stream_delete_entries - function: pub::stream_acknowledge_entries - function: pub::stream_read_entries - function: pub::stream_read_with_options - function: pub::consumer_group_create - function: pub::consumer_group_destroy - function: pub::consumer_group_delete_consumer - function: pub::consumer_group_set_last_id - function: pub::consumer_group_set_message_owner - impl: impl super::RedisConnectionPool **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **api.rs** Add: - function: private::get_connector_integration - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: pub::execute_connector_processing_step - function: pub::call_connector_api - function: private::send_request - function: private::handle_response - function: private::from - function: pub::new - function: private::from - function: private::from - function: pub::get_auth_flow - function: pub::get_auth_type - function: pub::server_wrap_util - function: pub::server_wrap - function: pub::log_and_return_error_response - function: pub::authenticate_merchant - function: pub::authenticate_connector - function: pub::get_auth_type_and_check_client_secret - function: private::get_api_key - function: pub::authenticate_by_api_key - function: private::authenticate_by_publishable_key - function: pub::http_response_json - function: pub::http_response_plaintext - function: pub::http_response_ok - function: pub::http_redirect_response - function: pub::http_response_err - function: private::get_flow_type - function: pub::build_redirection_form - function: private::test_mime_essence - struct: pub::BachRedirectResponse - struct: pub::RedirectForm - enum: pub::BachResponse - enum: pub::ApiAuthentication - enum: pub::MerchantAuthentication - enum: pub::ConnectorAuthentication - enum: pub::AuthFlow - trait: pub::ConnectorIntegrationExt - trait: pub::ConnectorIntegration - trait: pub::ConnectorRedirectResponse - impl: impl ConnectorIntegrationExt<T, Req, Resp> for S - impl: impl From<&storage::PaymentAttempt> for BachRedirectResponse - impl: impl RedirectForm - impl: impl From<MerchantAuthentication<'a>> for ApiAuthentication<'a> - impl: impl From<ConnectorAuthentication<'a>> for ApiAuthentication<'a> - mod: private::client - mod: pub::request - mod: private::tests **admin.rs** Add: - function: private::create_merchant_api_key - function: pub::create_merchant_account - function: pub::get_merchant_account - function: pub::merchant_account_update - function: pub::merchant_account_delete - function: private::get_parent_merchant - function: private::validate_merchant_id - function: pub::create_payment_connector - function: pub::retrieve_payment_connector - function: pub::update_payment_connector - function: pub::delete_payment_connector **bank_accounts.rs** Modify existing code **cards.rs** Add: - function: pub::create_payment_method - function: pub::add_payment_method - function: pub::add_card - function: pub::mock_add_card - function: pub::mock_get_card - function: pub::get_card - function: pub::delete_card - function: pub::list_payment_methods - function: private::filter_payment_methods - function: private::filter_accepted_enum_based - function: private::filter_amount_based - function: private::filter_recurring_based - function: private::filter_installment_based - function: pub::list_customer_payment_method - function: pub::get_tempcard_from_payment_method - function: pub::get_card_info_value - function: pub::get_card_info_from_value - function: pub::retrieve_payment_method - function: pub::delete_payment_method **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **disputes.rs** Modify existing code **files.rs** Modify existing code **mandates.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate **payment_methods.rs** Add: - mod: pub::cards - mod: pub::transformers **payments.rs** Add: - function: pub::payments_operation_core - function: pub::payments_core - function: private::is_start_pay - function: pub::handle_payments_redirect_response - function: pub::payments_response_for_redirection_flows - function: private::call_connector_service - function: pub::if_not_create_change_operation - function: pub::is_confirm - function: pub::should_call_connector - function: pub::list_payments - function: pub::add_process_sync_task - struct: pub::PaymentAddress - struct: pub::PaymentData - struct: pub::CustomerDetails - enum: pub::CallConnectorAction - mod: pub::flows - mod: pub::helpers - mod: pub::operations - mod: pub::transformers **payouts.rs** Add: - function: pub::payouts_create - function: pub::payouts_retrieve - function: pub::payouts_update - function: pub::payouts_reverse - function: pub::payouts_cancel - function: pub::payouts_accounts - function: private::http_response **refunds.rs** Add: - function: pub::refund_create - function: pub::refund_retrieve - function: pub::refund_update - mod: private::types **webhooks.rs** Add: - function: private::payments_incoming_webhook_flow - function: private::create_event_and_trigger_outgoing_webhook - function: private::trigger_webhook_to_merchant - function: pub::webhooks_core - mod: pub::transformers - mod: pub::utils **connector.rs** Add: - mod: pub::aci - mod: pub::adyen - mod: pub::authorizedotnet - mod: pub::checkout - mod: pub::stripe **storage.rs** Add: - function: private::from - function: private::build - function: private::from - function: private::build - struct: pub::DieselArray - struct: pub::OptionalDieselArray - impl: impl From<DieselArray<T>> for Vec<T> - impl: impl Queryable<Array<Nullable<U>>, Pg> for DieselArray<T> - impl: impl From<OptionalDieselArray<T>> for Option<Vec<T>> - impl: impl Queryable<Nullable<Array<Nullable<U>>>, Pg> for OptionalDieselArray<T> - mod: pub::address - mod: pub::configs - mod: pub::connector_response - mod: pub::customers - mod: pub::enums - mod: pub::events - mod: pub::locker_mock_up - mod: pub::mandate - mod: pub::merchant_account - mod: pub::merchant_connector_account - mod: pub::payment_attempt - mod: pub::payment_intent - mod: pub::payment_method - mod: pub::process_tracker - mod: private::query - mod: pub::refund - mod: pub::temp_card - mod: pub::diesel_impl **address.rs** Add: - function: private::find_address - function: private::update_address - function: private::insert_address - trait: pub::IAddress - impl: impl IAddress for Store **configs.rs** Add: - mod: pub::settings **connector_response.rs** Add: - function: private::insert_connector_response - function: private::find_connector_response_by_payment_id_merchant_id_txn_id - function: private::update_connector_response - trait: pub::IConnectorResponse - impl: impl IConnectorResponse for Store **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **dispute.rs** Modify existing code **enums.rs** Add: - enum: pub::AttemptStatus - enum: pub::AuthenticationType - enum: pub::CaptureMethod - enum: pub::ConnectorType - enum: pub::Currency - enum: pub::EventClass - enum: pub::EventObjectType - enum: pub::EventType - enum: pub::IntentStatus - enum: pub::FutureUsage - enum: pub::PaymentFlow - enum: pub::PaymentMethodIssuerCode - enum: pub::PaymentMethodSubType - enum: pub::PaymentMethodType - enum: pub::ProcessTrackerStatus - enum: pub::RefundStatus - enum: pub::RefundType - enum: pub::RoutingAlgorithm - enum: pub::MandateType - enum: pub::MandateStatus - mod: pub::diesel_exports **events.rs** Add: - function: private::insert_event - trait: pub::IEvent - impl: impl IEvent for Store **locker_mock_up.rs** Add: - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - trait: pub::ILockerMockUp - impl: impl ILockerMockUp for Store **mandate.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate - function: pub::get_customer_mandates **merchant_account.rs** Add: - function: private::insert_merchant - function: private::find_merchant_account_by_merchant_id - function: private::update_merchant - function: private::find_merchant_account_by_api_key - function: private::find_merchant_account_by_publishable_key - function: private::delete_merchant_account_by_merchant_id - trait: pub::IMerchantAccount - impl: impl IMerchantAccount for Store **merchant_connector_account.rs** Add: - function: private::find_merchant_connector_account_by_merchant_id_connector - function: private::find_by_merchant_connector_account_merchant_id_merchant_connector_id - function: private::insert_merchant_connector_account - function: private::find_merchant_connector_account_by_merchant_id_list - function: private::update_merchant_connector_account - function: private::delete_merchant_connector_account_by_merchant_id_merchant_connector_id - trait: pub::IMerchantConnectorAccount - impl: impl IMerchantConnectorAccount for Store **payment_attempt.rs** Add: - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - trait: pub::IPaymentAttempt - impl: impl IPaymentAttempt for Store - impl: impl IPaymentAttempt for Store - mod: private::storage - mod: private::storage **payment_intent.rs** Add: - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - trait: pub::IPaymentIntent - impl: impl IPaymentIntent for Store - impl: impl IPaymentIntent for Store - mod: private::storage - mod: private::storage **payment_method.rs** Add: - function: private::find_payment_method - function: private::insert_payment_method - function: private::find_payment_method_by_customer_id_merchant_id_list - function: private::delete_payment_method_by_merchant_id_payment_method_id - trait: pub::IPaymentMethod - impl: impl IPaymentMethod for Store **process_tracker.rs** Add: - function: private::find_process_by_id - function: private::reinitialize_limbo_processes - function: private::find_processes_by_time_status - function: private::insert_process - function: private::update_process - function: private::update_process_tracker - function: private::process_tracker_update_process_status_by_ids - trait: pub::IProcessTracker - impl: impl IProcessTracker for Store **query.rs** Add: - mod: private::address - mod: private::configs - mod: private::connector_response - mod: private::customers - mod: private::events - mod: private::generics - mod: private::locker_mock_up - mod: private::mandate - mod: private::merchant_account - mod: private::merchant_connector_account - mod: private::payment_attempt - mod: private::payment_intent - mod: private::payment_method - mod: private::process_tracker - mod: private::refund - mod: private::temp_card **address.rs** Add: - function: private::find_address - function: private::update_address - function: private::insert_address - trait: pub::IAddress - impl: impl IAddress for Store **configs.rs** Add: - mod: pub::settings **connector_response.rs** Add: - function: private::insert_connector_response - function: private::find_connector_response_by_payment_id_merchant_id_txn_id - function: private::update_connector_response - trait: pub::IConnectorResponse - impl: impl IConnectorResponse for Store **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **events.rs** Add: - function: private::insert_event - trait: pub::IEvent - impl: impl IEvent for Store **generics.rs** Add: - function: pub::generic_insert - function: pub::generic_update - function: pub::generic_update_with_results - function: pub::generic_update_by_id - function: pub::generic_delete - function: pub::generic_delete_with_results - function: pub::generic_delete_one_with_results - function: private::generic_find_by_id_core - function: pub::generic_find_by_id - function: pub::generic_find_by_id_optional - function: private::generic_find_one_core - function: pub::generic_find_one - function: pub::generic_find_one_optional - function: pub::generic_filter - function: private::to_optional **locker_mock_up.rs** Add: - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - trait: pub::ILockerMockUp - impl: impl ILockerMockUp for Store **mandate.rs** Add: - function: pub::get_mandate - function: pub::revoke_mandate - function: pub::get_customer_mandates **merchant_account.rs** Add: - function: private::insert_merchant - function: private::find_merchant_account_by_merchant_id - function: private::update_merchant - function: private::find_merchant_account_by_api_key - function: private::find_merchant_account_by_publishable_key - function: private::delete_merchant_account_by_merchant_id - trait: pub::IMerchantAccount - impl: impl IMerchantAccount for Store **merchant_connector_account.rs** Add: - function: private::find_merchant_connector_account_by_merchant_id_connector - function: private::find_by_merchant_connector_account_merchant_id_merchant_connector_id - function: private::insert_merchant_connector_account - function: private::find_merchant_connector_account_by_merchant_id_list - function: private::update_merchant_connector_account - function: private::delete_merchant_connector_account_by_merchant_id_merchant_connector_id - trait: pub::IMerchantConnectorAccount - impl: impl IMerchantConnectorAccount for Store **payment_attempt.rs** Add: - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - function: private::insert_payment_attempt - function: private::update_payment_attempt - function: private::find_payment_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_transaction_id_payment_id_merchant_id - function: private::find_payment_attempt_last_successful_attempt_by_payment_id_merchant_id - function: private::find_payment_attempt_by_merchant_id_connector_txn_id - trait: pub::IPaymentAttempt - impl: impl IPaymentAttempt for Store - impl: impl IPaymentAttempt for Store - mod: private::storage - mod: private::storage **payment_intent.rs** Add: - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - function: private::insert_payment_intent - function: private::update_payment_intent - function: private::find_payment_intent_by_payment_id_merchant_id - function: private::filter_payment_intent_by_constraints - trait: pub::IPaymentIntent - impl: impl IPaymentIntent for Store - impl: impl IPaymentIntent for Store - mod: private::storage - mod: private::storage **payment_method.rs** Add: - function: private::find_payment_method - function: private::insert_payment_method - function: private::find_payment_method_by_customer_id_merchant_id_list - function: private::delete_payment_method_by_merchant_id_payment_method_id - trait: pub::IPaymentMethod - impl: impl IPaymentMethod for Store **process_tracker.rs** Add: - function: private::find_process_by_id - function: private::reinitialize_limbo_processes - function: private::find_processes_by_time_status - function: private::insert_process - function: private::update_process - function: private::update_process_tracker - function: private::process_tracker_update_process_status_by_ids - trait: pub::IProcessTracker - impl: impl IProcessTracker for Store **refund.rs** Add: - function: private::find_refund_by_internal_reference_id_merchant_id - function: private::insert_refund - function: private::find_refund_by_merchant_id_transaction_id - function: private::update_refund - function: private::find_refund_by_merchant_id_refund_id - function: private::find_refund_by_payment_id_merchant_id - trait: pub::IRefund - impl: impl IRefund for Store **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - trait: pub::ITempCard - impl: impl ITempCard for Store **refund.rs** Add: - function: private::find_refund_by_internal_reference_id_merchant_id - function: private::insert_refund - function: private::find_refund_by_merchant_id_transaction_id - function: private::update_refund - function: private::find_refund_by_merchant_id_refund_id - function: private::find_refund_by_payment_id_merchant_id - trait: pub::IRefund - impl: impl IRefund for Store **temp_card.rs** Add: - function: private::insert_temp_card - function: private::find_tempcard_by_transaction_id - function: private::insert_tempcard_with_token - function: private::find_tempcard_by_token - trait: pub::ITempCard - impl: impl ITempCard for Store **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **crypto.rs** Add: - function: private::sign_message - function: private::verify_signature - function: private::encode_message - function: private::decode_message - function: private::sign_message - function: private::verify_signature - function: private::sign_message - function: private::verify_signature - function: private::encode_message - function: private::decode_message - function: private::test_hmac_sha256_sign_message - function: private::test_hmac_sha256_verify_signature - function: private::test_hmac_sha512_sign_message - function: private::test_hmac_sha512_verify_signature - function: private::test_gcm_aes_256_encode_message - function: private::test_gcm_aes_256_decode_message - struct: pub::NoAlgorithm - struct: pub::HmacSha256 - struct: pub::HmacSha512 - struct: pub::GcmAes256 - trait: pub::SignMessage - trait: pub::VerifySignature - trait: pub::EncodeMessage - trait: pub::DecodeMessage - impl: impl SignMessage for NoAlgorithm - impl: impl VerifySignature for NoAlgorithm - impl: impl EncodeMessage for NoAlgorithm - impl: impl DecodeMessage for NoAlgorithm - impl: impl SignMessage for HmacSha256 - impl: impl VerifySignature for HmacSha256 - impl: impl SignMessage for HmacSha512 - impl: impl VerifySignature for HmacSha512 - impl: impl EncodeMessage for GcmAes256 - impl: impl DecodeMessage for GcmAes256 - mod: private::crypto_tests **custom_serde.rs** Add: - function: pub::serialize - function: pub::deserialize - function: pub::serialize - function: pub::deserialize - function: private::expecting - function: private::visit_str - function: private::expecting - function: private::visit_some - function: private::visit_none - function: private::visit_unit - function: pub::deserialize - function: pub::deserialize_option - struct: private::PaymentIdVisitor - struct: private::OptionalPaymentIdVisitor - impl: impl Visitor<'de> for PaymentIdVisitor - impl: impl Visitor<'de> for OptionalPaymentIdVisitor - mod: pub::iso8601 - mod: pub::option - mod: pub::payment_id_type **ext_traits.rs** Add: - function: private::check_value_present - function: private::get_required_value - function: private::parse_enum - function: private::parse_value - function: private::update_value - function: private::parse_enum - function: private::parse_struct - function: private::parse_struct - function: private::parse_struct - function: private::parse_value - function: private::parse_value - function: private::convert_and_encode - function: private::convert_and_url_encode - function: private::encode - function: private::encode_to_value - function: private::encode_to_vec - function: pub::merge_json_values - function: private::validate_opt - function: pub::validate_email - function: pub::validate_address - function: private::test_validate_email - trait: pub::OptionExt - trait: pub::StringExt - trait: pub::BytesExt - trait: pub::ByteSliceExt - trait: pub::ValueExt - trait: pub::Encode - trait: pub::ValidateVar - trait: pub::ValidateCall - impl: impl OptionExt<T> for Option<T> - impl: impl StringExt<T> for String - impl: impl BytesExt<T> for bytes::Bytes - impl: impl ByteSliceExt<T> for [u8] - impl: impl ValueExt<T> for serde_json::Value - impl: impl ValueExt<T> for Secret<serde_json::Value, MaskingStrategy> - impl: impl Encode<'e, P> for A - impl: impl ValidateCall<T, F> for Option<&T> - mod: private::tests **fp_utils.rs** Add: - function: private::pure - function: private::pure - function: pub::when - trait: pub::Kind - trait: pub::Applicative - impl: impl Kind<F> for Option<A> - impl: impl Kind<F> for Result<A, B> - impl: impl Applicative<A> for Option<A> - impl: impl Applicative<A> for Result<A, E> **aci.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Aci - impl: impl api::ConnectorCommon for Aci - impl: impl api::Payment for Aci - impl: impl api::PaymentAuthorize for Aci - impl: impl api::PaymentSync for Aci - impl: impl api::PaymentVoid for Aci - impl: impl api::PaymentCapture for Aci - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Aci - impl: impl api::Refund for Aci - impl: impl api::RefundExecute for Aci - impl: impl api::RefundSync for Aci - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Aci - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Aci - impl: impl api::IncomingWebhook for Aci - impl: impl services::ConnectorRedirectResponse for Aci - mod: private::result_codes - mod: private::transformers **authorizedotnet.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Authorizedotnet - impl: impl api::ConnectorCommon for Authorizedotnet - impl: impl api::Payment for Authorizedotnet - impl: impl api::PaymentAuthorize for Authorizedotnet - impl: impl api::PaymentSync for Authorizedotnet - impl: impl api::PaymentVoid for Authorizedotnet - impl: impl api::PaymentCapture for Authorizedotnet - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Authorizedotnet - impl: impl api::Refund for Authorizedotnet - impl: impl api::RefundExecute for Authorizedotnet - impl: impl api::RefundSync for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Authorizedotnet - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Authorizedotnet - impl: impl api::IncomingWebhook for Authorizedotnet - impl: impl services::ConnectorRedirectResponse for Authorizedotnet - mod: private::transformers **checkout.rs** Add: - function: private::id - function: private::common_get_content_type - function: private::get_auth_header - function: private::base_url - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Checkout - impl: impl api::ConnectorCommon for Checkout - impl: impl api::Payment for Checkout - impl: impl api::PaymentAuthorize for Checkout - impl: impl api::PaymentSync for Checkout - impl: impl api::PaymentVoid for Checkout - impl: impl api::PaymentCapture for Checkout - impl: impl services::ConnectorIntegration< api::PCapture, types::PaymentsRequestCaptureData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::PSync, types::PaymentsRequestSyncData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::Void, types::PaymentRequestCancelData, types::PaymentsResponseData, > for Checkout - impl: impl api::Refund for Checkout - impl: impl api::RefundExecute for Checkout - impl: impl api::RefundSync for Checkout - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for Checkout - impl: impl services::ConnectorIntegration< api::RSync, types::RefundsRequestData, types::RefundsResponseData, > for Checkout - impl: impl api::IncomingWebhook for Checkout - impl: impl services::ConnectorRedirectResponse for Checkout - mod: private::transformers **connector_auth.rs** Add: - function: pub::new - function: private::from - struct: pub::ConnectorAuthentication - struct: pub::BodyKey - impl: impl ConnectorAuthentication - impl: impl From<BodyKey> for ConnectorAuthType **main.rs** Add: - mod: private::aci - mod: private::authorizedotnet - mod: private::checkout - mod: private::connector_auth **customers.rs** Add: - function: pub::customer_create - function: pub::customer_retrieve - function: pub::customer_update - function: pub::customer_delete - mod: private::types **health_check.rs** Add: - function: private::health_check - function: private::health_check_root - mod: private::utils **integration_demo.rs** Add: - function: pub::init - function: private::mk_merchant_account - function: private::mk_payment - function: private::mk_connector - function: private::create_payment - function: private::address - function: private::health - struct: private::TestApp - impl: impl TestApp - mod: private::utils **payments.rs** Add: - function: pub::payments_operation_core - function: pub::payments_core - function: private::is_start_pay - function: pub::handle_payments_redirect_response - function: pub::payments_response_for_redirection_flows - function: private::call_connector_service - function: pub::if_not_create_change_operation - function: pub::is_confirm - function: pub::should_call_connector - function: pub::list_payments - function: pub::add_process_sync_task - struct: pub::PaymentAddress - struct: pub::PaymentData - struct: pub::CustomerDetails - enum: pub::CallConnectorAction - mod: pub::flows - mod: pub::helpers - mod: pub::operations - mod: pub::transformers **payments2.rs** Add: - function: private::connector_list - function: private::payments_create_core - function: private::payments_create_core_adyen_no_redirect - mod: private::utils **payouts.rs** Add: - function: pub::payouts_create - function: pub::payouts_retrieve - function: pub::payouts_update - function: pub::payouts_reverse - function: pub::payouts_cancel - function: pub::payouts_accounts - function: private::http_response **refunds.rs** Add: - function: pub::refund_create - function: pub::refund_retrieve - function: pub::refund_update - mod: private::types **utils.rs** Add: - function: private::to_not_found_response - function: private::to_duplicate_response - function: private::to_unsuccessful_processing_step_response - function: private::to_refund_failed_response - function: private::to_payment_failed_response - trait: pub::StorageErrorExt - trait: pub::ApiClientErrorExt - trait: pub::ConnectorErrorExt - impl: impl StorageErrorExt for error_stack::Report<super::StorageError> - impl: impl ApiClientErrorExt for error_stack::Report<super::ApiClientError> - impl: impl ConnectorErrorExt for error_stack::Report<super::ConnectorError> **webhooks.rs** Add: - function: private::payments_incoming_webhook_flow - function: private::create_event_and_trigger_outgoing_webhook - function: private::trigger_webhook_to_merchant - function: pub::webhooks_core - mod: pub::transformers - mod: pub::utils **lib.rs** Add: - mod: private::strategy - mod: private::abs - mod: private::secret - mod: private::strong_secret - mod: private::boxed - mod: private::bytes - mod: private::string - mod: private::vec - mod: private::serde - mod: pub::prelude - mod: private::diesel **macros.rs** Add: - function: pub::debug_as_display_inner - mod: pub::api_error - mod: pub::diesel - mod: private::helpers - mod: pub::operation **api_error.rs** Add: - function: pub::api_error_derive_inner - function: private::implement_error_type - function: private::implement_error_code - function: private::implement_error_message - function: private::implement_serialize - mod: private::helpers **helpers.rs** Add: - function: pub::get_address_for_payment_request - function: pub::get_address_by_id - function: pub::get_token_pm_type_mandate_details - function: pub::get_token_for_recurring_mandate - function: pub::validate_merchant_id - function: pub::validate_request_amount_and_amount_to_capture - function: pub::validate_mandate - function: private::validate_new_mandate_request - function: pub::create_server_url - function: pub::create_startpay_url - function: pub::create_redirect_url - function: private::validate_recurring_mandate - function: pub::payment_attempt_status_fsm - function: pub::payment_intent_status_fsm - function: pub::response_operation - function: pub::amap - function: pub::call_payment_method - function: pub::client_secret_auth - function: pub::get_customer_from_details - function: pub::create_customer_if_not_exist - function: pub::make_pm_data - function: pub::payment_method_data_from_temp_card - function: pub::create_temp_card - function: pub::validate_capture_method - function: pub::validate_status - function: pub::validate_amount_to_capture - function: pub::can_call_connector - function: pub::append_option - function: pub::filter_by_constraints - function: pub::validate_payment_list_request - function: pub::get_handle_response_url - function: pub::make_merchant_url_with_response - function: pub::make_pg_redirect_response - function: pub::make_url_with_signature - function: pub::hmac_sha256_sorted_query_params **diesel.rs** Add: - function: private::as_expression - function: private::as_expression - function: private::to_sql - function: private::from_sql - function: private::as_expression - function: private::build - function: private::as_expression - function: private::as_expression - function: private::to_sql - function: private::from_sql - function: private::as_expression - function: private::build - impl: impl AsExpression<T> for &'expr Secret<S, I> - impl: impl AsExpression<T> for &'expr2 &'expr Secret<S, I> - impl: impl ToSql<T, DB> for Secret<S, I> - impl: impl FromSql<T, DB> for Secret<S, I> - impl: impl AsExpression<T> for Secret<S, I> - impl: impl Queryable<ST, DB> for Secret<S, I> - impl: impl AsExpression<T> for &'expr StrongSecret<S, I> - impl: impl AsExpression<T> for &'expr2 &'expr StrongSecret<S, I> - impl: impl ToSql<T, DB> for StrongSecret<S, I> - impl: impl FromSql<T, DB> for StrongSecret<S, I> - impl: impl AsExpression<T> for StrongSecret<S, I> - impl: impl Queryable<ST, DB> for StrongSecret<S, I> **helpers.rs** Add: - function: pub::get_address_for_payment_request - function: pub::get_address_by_id - function: pub::get_token_pm_type_mandate_details - function: pub::get_token_for_recurring_mandate - function: pub::validate_merchant_id - function: pub::validate_request_amount_and_amount_to_capture - function: pub::validate_mandate - function: private::validate_new_mandate_request - function: pub::create_server_url - function: pub::create_startpay_url - function: pub::create_redirect_url - function: private::validate_recurring_mandate - function: pub::payment_attempt_status_fsm - function: pub::payment_intent_status_fsm - function: pub::response_operation - function: pub::amap - function: pub::call_payment_method - function: pub::client_secret_auth - function: pub::get_customer_from_details - function: pub::create_customer_if_not_exist - function: pub::make_pm_data - function: pub::payment_method_data_from_temp_card - function: pub::create_temp_card - function: pub::validate_capture_method - function: pub::validate_status - function: pub::validate_amount_to_capture - function: pub::can_call_connector - function: pub::append_option - function: pub::filter_by_constraints - function: pub::validate_payment_list_request - function: pub::get_handle_response_url - function: pub::make_merchant_url_with_response - function: pub::make_pg_redirect_response - function: pub::make_url_with_signature - function: pub::hmac_sha256_sorted_query_params **operation.rs** Add: - function: private::from - function: private::to_operation - function: private::to_ref_operation - function: private::from - function: private::get_req_type - function: private::to_function - function: private::to_ref_function - function: private::find_operation_attr - function: private::find_value - function: private::find_properties - function: pub::operation_derive_inner - enum: private::Derives - enum: private::Conversion - impl: impl From<String> for Derives - impl: impl Derives - impl: impl From<String> for Conversion - impl: impl Conversion **build.rs** Add: - function: private::main **env.rs** Add: - function: pub::setup - mod: pub::logger **lib.rs** Add: - mod: private::strategy - mod: private::abs - mod: private::secret - mod: private::strong_secret - mod: private::boxed - mod: private::bytes - mod: private::string - mod: private::vec - mod: private::serde - mod: pub::prelude - mod: private::diesel **config.rs** Add: - function: pub::new - struct: pub::SchedulerConfig - impl: impl SchedulerConfig **formatter.rs** Add: - function: private::fmt - function: pub::new - function: pub::new_with_implicit_entries - function: private::common_serialize - function: private::flush - function: private::span_serialize - function: pub::event_serialize - function: private::span_message - function: private::event_message - function: private::on_event - function: private::on_enter - function: private::on_close - struct: pub::FormattingLayer - enum: pub::RecordType - impl: impl fmt::Display for RecordType - impl: impl FormattingLayer<W> - impl: impl Layer<S> for FormattingLayer<W> **macros.rs** Add: - function: pub::debug_as_display_inner - mod: pub::api_error - mod: pub::diesel - mod: private::helpers - mod: pub::operation **mod.rs** Add: - function: pub::make - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - impl: impl api::ConnectorCommon for project - impl: impl api::Payment for project - impl: impl api::PaymentAuthorize for project - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for project - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for project - impl: impl services::ConnectorIntegration<api::Sync, types::RefundsRequestData, types::RefundsResponseData> for project - impl: impl api::IncomingWebhook for project - mod: private::transformers **setup.rs** Add: - function: private::on_event - function: pub::setup - function: private::setup_metrics - struct: pub::DebugLayer - struct: pub::TelemetryGuard - impl: impl Layer<S> for DebugLayer **storage.rs** Add: - function: private::from - function: private::build - function: private::from - function: private::build - struct: pub::DieselArray - struct: pub::OptionalDieselArray - impl: impl From<DieselArray<T>> for Vec<T> - impl: impl Queryable<Array<Nullable<U>>, Pg> for DieselArray<T> - impl: impl From<OptionalDieselArray<T>> for Option<Vec<T>> - impl: impl Queryable<Nullable<Array<Nullable<U>>>, Pg> for OptionalDieselArray<T> - mod: pub::address - mod: pub::configs - mod: pub::connector_response - mod: pub::customers - mod: pub::enums - mod: pub::events - mod: pub::locker_mock_up - mod: pub::mandate - mod: pub::merchant_account - mod: pub::merchant_connector_account - mod: pub::payment_attempt - mod: pub::payment_intent - mod: pub::payment_method - mod: pub::process_tracker - mod: private::query - mod: pub::refund - mod: pub::temp_card - mod: pub::diesel_impl **types.rs** Add: - function: private::from - function: private::from - function: private::from - function: private::from - struct: pub::CustomerAddress - struct: pub::CreateCustomerRequest - struct: pub::CustomerUpdateRequest - struct: pub::CreateCustomerResponse - struct: pub::CustomerDeleteResponse - impl: impl From<CreateCustomerRequest> for customers::CreateCustomerRequest - impl: impl From<CustomerUpdateRequest> for customers::CustomerUpdateRequest - impl: impl From<customers::CustomerResponse> for CreateCustomerResponse - impl: impl From<customers::CustomerDeleteResponse> for CustomerDeleteResponse **env.rs** Add: - function: pub::setup - mod: pub::logger **logger.rs** Modify existing code **mod.rs** Add: - function: pub::make - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - impl: impl api::ConnectorCommon for project - impl: impl api::Payment for project - impl: impl api::PaymentAuthorize for project - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsRequestData, types::PaymentsResponseData, > for project - impl: impl services::ConnectorIntegration< api::Execute, types::RefundsRequestData, types::RefundsResponseData, > for project - impl: impl services::ConnectorIntegration<api::Sync, types::RefundsRequestData, types::RefundsResponseData> for project - impl: impl api::IncomingWebhook for project - mod: private::transformers **some_module.rs** Add: - function: pub::fn_with_colon - function: pub::fn_without_colon
fix(payments_create): save the `customer_id` in payments create (#5262)
Files to modify: **payments.rs** Add: - function: private::are_optional_values_invalid - function: pub::get_customer_id - function: pub::validate_customer_details_in_request - function: private::test_valid_case_where_customer_details_are_passed_only_once - function: private::test_valid_case_where_customer_id_is_passed_in_both_places - function: private::test_invalid_case_where_customer_id_is_passed_in_both_places - impl: impl PaymentsRequest - mod: private::payments_request_test **helpers.rs** Remove: - function: private::validate_options_for_inequality - function: private::get_customer_id_from_payment_request **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Modify existing code
fix(connector): [BAMBORA] Restrict Card Expiry Year to 2 Digits and pass Amount in Decimal Format (#4536)
Files to modify: **bambora.rs** Add: - function: private::get_currency_unit **transformers.rs** Add: - function: private::try_from - struct: pub::BamboraRouterData - struct: pub::BamboraVoidRequest - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for BamboraRouterData<T>
chore: add wasm support for connector additional details (#5712) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector.rs** Add: - struct: pub::ConfigMerchantAdditionalDetails
feat(connector): [checkout] Add mandate flow (#9248) Co-authored-by: Vani Gupta <vani.gupta@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **checkout.rs** Add: - function: private::validate_mandate_payment - function: private::get_headers - function: private::get_url - function: private::get_request_body **transformers.rs** Add: - struct: pub::MandateSource - enum: pub::CheckoutPaymentType **utils.rs** Add: - function: private::is_mandate_payment **router_request_types.rs** Modify existing code **transformers.rs** Add: - struct: pub::MandateSource - enum: pub::CheckoutPaymentType
feat(db): implement `LockerMockInterface` for `MockDb` (#1347) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Files to modify: **db.rs** Modify existing code **locker_mock_up.rs** Add: - function: private::create_locker_mock_up_new - function: private::find_locker_by_card_id - function: private::insert_locker_mock_up - function: private::delete_locker_mock_up - struct: pub::LockerMockUpIds
feat(analytics): adding metric api for dispute analytics (#3810) Co-authored-by: Sampras Lopes <lsampras@pm.me>
Files to modify: **clickhouse.rs** Add: - function: private::try_into - impl: impl super::disputes::metrics::DisputeMetricAnalytics for ClickhouseClient - impl: impl TryInto<DisputeMetricRow> for serde_json::Value **disputes.rs** Add: - trait: pub::DisputeAnalytics - mod: pub::accumulators - mod: pub::metrics - mod: pub::types **accumulators.rs** Add: - function: private::add_metrics_bucket - function: private::collect - function: private::add_metrics_bucket - function: private::collect - function: pub::collect - struct: pub::DisputeMetricsAccumulator - struct: pub::RateAccumulator - struct: pub::SumAccumulator - trait: pub::DisputeMetricAccumulator - impl: impl DisputeMetricAccumulator for SumAccumulator - impl: impl DisputeMetricAccumulator for RateAccumulator - impl: impl DisputeMetricsAccumulator **core.rs** Modify existing code **metrics.rs** Add: - function: private::load_metrics - struct: pub::DisputeMetricRow - trait: pub::DisputeMetricAnalytics - trait: pub::DisputeMetric - impl: impl DisputeMetric<T> for DisputeMetrics - mod: private::dispute_status_metric - mod: private::total_amount_disputed - mod: private::total_dispute_lost_amount **dispute_status_metric.rs** Add: - function: private::load_metrics - struct: pub::DisputeStatusMetric - impl: impl super::DisputeMetric<T> for DisputeStatusMetric **total_amount_disputed.rs** Add: - function: private::load_metrics - struct: pub::TotalAmountDisputed - impl: impl super::DisputeMetric<T> for TotalAmountDisputed **total_dispute_lost_amount.rs** Add: - function: private::load_metrics - struct: pub::TotalDisputeLostAmount - impl: impl super::DisputeMetric<T> for TotalDisputeLostAmount **types.rs** Add: - function: private::set_filter_clause - impl: impl QueryFilter<T> for DisputeFilters **lib.rs** Add: - function: pub::get_dispute_metrics **query.rs** Modify existing code **sqlx.rs** Add: - function: private::from_row - impl: impl super::disputes::metrics::DisputeMetricAnalytics for SqlxClient - impl: impl FromRow<'a, PgRow> for super::disputes::metrics::DisputeMetricRow **analytics.rs** Add: - struct: pub::GetDisputeMetricRequest **disputes.rs** Add: - trait: pub::DisputeAnalytics - mod: pub::accumulators - mod: pub::metrics - mod: pub::types **events.rs** Modify existing code **analytics.rs** Add: - struct: pub::GetDisputeMetricRequest **events.rs** Modify existing code **kafka.rs** Modify existing code **dispute.rs** Modify existing code **lib.rs** Add: - function: pub::get_dispute_metrics
build(deps): migrate to `clap` from `structopt` (#406)
Files to modify: **main.rs** Modify existing code **settings.rs** Modify existing code **router.rs** Modify existing code **scheduler.rs** Modify existing code **settings.rs** Modify existing code
refactor(storage_models, errors): impl StorageErrorExt for error_stack::Result<T, errors::StorageError> (#886)
Files to modify: **admin.rs** Modify existing code **api_keys.rs** Modify existing code **configs.rs** Modify existing code **customers.rs** Modify existing code **disputes.rs** Modify existing code **utils.rs** Remove: - trait: pub::StorageErrorExt - impl: impl StorageErrorExt for error_stack::Report<errors::StorageError> Add: - trait: pub::StorageErrorExt - impl: impl StorageErrorExt<T> for error_stack::Result<T, errors::StorageError> **mandate.rs** Modify existing code **cards.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **refunds.rs** Modify existing code **mandates.rs** Modify existing code
feat(payout_link): secure payout links using server side validations and client side headers (#5219) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Add: - function: pub::validate - impl: impl BusinessGenericLinkConfig **consts.rs** Modify existing code **link_utils.rs** Add: - function: pub::validate_strict_domain - function: pub::validate_wildcard_domain - function: private::test_validate_strict_domain_regex - function: private::test_validate_wildcard_domain_regex - function: private::test_validate_strict_domain - function: private::test_validate_wildcard_domain - mod: private::domain_tests **api.rs** Add: - struct: pub::GenericLinks **api_error_response.rs** Modify existing code **errors.rs** Modify existing code **wrap.rs** Modify existing code **admin.rs** Add: - function: pub::validate - impl: impl BusinessGenericLinkConfig **payment_methods.rs** Modify existing code **payout_link.rs** Modify existing code **payouts.rs** Add: - function: private::create_payout_link - function: pub::create_payout_link_db_entry **validator.rs** Remove: - function: pub::create_payout_link **payout_link.rs** Modify existing code **api.rs** Add: - struct: pub::GenericLinks **generic_link_response.rs** Modify existing code **admin.rs** Add: - function: pub::validate - impl: impl BusinessGenericLinkConfig
feat(email): Add SMTP support to allow mails through self hosted/custom SMTP server (#6617) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **email.rs** Remove: - enum: pub::AvailableEmailClients Add: - enum: pub::EmailClientConfigs - mod: pub::smtp - mod: pub::no_email **no_email.rs** Add: - function: pub::create - function: private::convert_to_rich_text - function: private::send_email - struct: pub::NoEmailClient - impl: impl NoEmailClient - impl: impl EmailClient for NoEmailClient **ses.rs** Add: - function: pub::validate - impl: impl SESConfig **smtp.rs** Add: - function: pub::create_client - function: pub::create - function: private::to_mail_box - function: pub::validate - function: private::convert_to_rich_text - function: private::send_email - struct: pub::SmtpServer - struct: pub::SmtpServerConfig - enum: pub::SmtpConnection - enum: pub::SmtpError - impl: impl SmtpServer - impl: impl SmtpServerConfig - impl: impl EmailClient for SmtpServer **settings.rs** Modify existing code **app.rs** Modify existing code
feat(connector): [Adyen] implement Swish for Adyen (#1701) Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
Files to modify: **payments.rs** Add: - struct: pub::SwishQrData **adyen.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **openapi.rs** Modify existing code **transformers.rs** Modify existing code **adyen_uk_ui.rs** Modify existing code
feat(connector): [Stripe] Add support for WeChat Pay and Qr code support in next action (#1555) Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in> Co-authored-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code **transformers.rs** Modify existing code **openapi.rs** Modify existing code
feat(users): add support for caching and resolving last used lineage context (#7871) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **decision_manager.rs** Modify existing code **user.rs** Modify existing code
feat(connector): [ACI, AUTHORIZEDOTNET, BRAINTREE, FIUU, FORTE, PLACETOPAY] Supported features for feature matrix (#7854) Co-authored-by: Chaitak Gorai <chaitak.gorai@Chaitak-Gorai-H1GDW6XH7W.local> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
Files to modify: **aci.rs** Remove: - impl: impl ConnectorSpecifications for Aci Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Aci **authorizedotnet.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Authorizedotnet Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Authorizedotnet **braintree.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Braintree Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Braintree **fiuu.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorSpecifications for Fiuu Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorSpecifications for Fiuu **forte.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorValidation for Forte - impl: impl ConnectorSpecifications for Forte Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorValidation for Forte - impl: impl ConnectorSpecifications for Forte **placetopay.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorValidation for Placetopay - impl: impl ConnectorSpecifications for Placetopay Add: - function: private::get_connector_about - function: private::get_supported_payment_methods - function: private::get_supported_webhook_flows - impl: impl ConnectorValidation for Placetopay - impl: impl ConnectorSpecifications for Placetopay
feat(api_models): add error structs (#532) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Files to modify: **actix.rs** Modify existing code **mod.rs** Remove: - mod: pub::serde **serde.rs** Remove: - function: private::serialize - impl: impl Serialize for ApiErrorResponse **types.rs** Add: - function: pub::new - function: private::from - struct: private::ErrorResponse - struct: pub::Extra - impl: impl ApiError - impl: impl From<&'a ApiErrorResponse> for ErrorResponse<'a> - impl: impl std::error::Error for ApiErrorResponse **errors.rs** Modify existing code **errors.rs** Modify existing code **wrap.rs** Modify existing code **api_error_response.rs** Add: - function: private::switch - impl: impl common_utils::errors::ErrorSwitch<api_models::errors::types::ApiErrorResponse> for ApiErrorResponse **error_handlers.rs** Modify existing code **utils.rs** Modify existing code **api.rs** Modify existing code
feat(hipay): Add Template PR (#7360)
Files to modify: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **connectors.rs** Add: - mod: pub::hipay **hipay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Hipay - impl: impl Hipay - impl: impl api::Payment for Hipay - impl: impl api::PaymentSession for Hipay - impl: impl api::ConnectorAccessToken for Hipay - impl: impl api::MandateSetup for Hipay - impl: impl api::PaymentAuthorize for Hipay - impl: impl api::PaymentSync for Hipay - impl: impl api::PaymentCapture for Hipay - impl: impl api::PaymentVoid for Hipay - impl: impl api::Refund for Hipay - impl: impl api::RefundExecute for Hipay - impl: impl api::RefundSync for Hipay - impl: impl api::PaymentToken for Hipay - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Hipay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Hipay - impl: impl ConnectorCommon for Hipay - impl: impl ConnectorValidation for Hipay - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Hipay - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Hipay - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Hipay - impl: impl webhooks::IncomingWebhook for Hipay - impl: impl ConnectorSpecifications for Hipay - mod: pub::transformers **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::HipayRouterData - struct: pub::HipayPaymentsRequest - struct: pub::HipayCard - struct: pub::HipayAuthType - struct: pub::HipayPaymentsResponse - struct: pub::HipayRefundRequest - struct: pub::RefundResponse - struct: pub::HipayErrorResponse - enum: pub::HipayPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for HipayRouterData<T> - impl: impl TryFrom<&HipayRouterData<&PaymentsAuthorizeRouterData>> for HipayPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for HipayAuthType - impl: impl From<HipayPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, HipayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&HipayRouterData<&RefundsRouterData<F>>> for HipayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync> **default_implementations.rs** Modify existing code **default_implementations_v2.rs** Modify existing code **configs.rs** Modify existing code **connector.rs** Modify existing code **admin.rs** Modify existing code **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::HipayRouterData - struct: pub::HipayPaymentsRequest - struct: pub::HipayCard - struct: pub::HipayAuthType - struct: pub::HipayPaymentsResponse - struct: pub::HipayRefundRequest - struct: pub::RefundResponse - struct: pub::HipayErrorResponse - enum: pub::HipayPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for HipayRouterData<T> - impl: impl TryFrom<&HipayRouterData<&PaymentsAuthorizeRouterData>> for HipayPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for HipayAuthType - impl: impl From<HipayPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, HipayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&HipayRouterData<&RefundsRouterData<F>>> for HipayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync> **hipay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Hipay - impl: impl Hipay - impl: impl api::Payment for Hipay - impl: impl api::PaymentSession for Hipay - impl: impl api::ConnectorAccessToken for Hipay - impl: impl api::MandateSetup for Hipay - impl: impl api::PaymentAuthorize for Hipay - impl: impl api::PaymentSync for Hipay - impl: impl api::PaymentCapture for Hipay - impl: impl api::PaymentVoid for Hipay - impl: impl api::Refund for Hipay - impl: impl api::RefundExecute for Hipay - impl: impl api::RefundSync for Hipay - impl: impl api::PaymentToken for Hipay - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Hipay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Hipay - impl: impl ConnectorCommon for Hipay - impl: impl ConnectorValidation for Hipay - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Hipay - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Hipay - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Hipay - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Hipay - impl: impl webhooks::IncomingWebhook for Hipay - impl: impl ConnectorSpecifications for Hipay - mod: pub::transformers **main.rs** Add: - mod: private::hipay **connector_auth.rs** Modify existing code
refactor(routing): Remove backwards compatibility for the routing crate (#3015) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Shanks <shashank.attarde@juspay.in>
Files to modify: **routing.rs** Modify existing code **routing.rs** Modify existing code **ast.rs** Modify existing code **dir.rs** Modify existing code **lib.rs** Modify existing code **mca.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **admin.rs** Modify existing code **cards.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **routing.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **helpers.rs** Modify existing code **routing.rs** Modify existing code **helpers.rs** Modify existing code **transformers.rs** Modify existing code **merchant_account.rs** Modify existing code **app.rs** Modify existing code **routing.rs** Modify existing code **routing.rs** Modify existing code **storage.rs** Modify existing code
feat(router): added incoming refund webhooks flow (#683) Co-authored-by: sai harsha <sai.harsha@sai.harsha-MacBookPro>
Files to modify: **enums.rs** Modify existing code **webhooks.rs** Modify existing code **adyen.rs** Modify existing code **transformers.rs** Add: - function: private::from - enum: pub::WebhookEventCode - impl: impl From<WebhookEventCode> for IncomingWebhookEvent **errors.rs** Modify existing code **webhooks.rs** Modify existing code **refund.rs** Add: - function: private::find_refund_by_merchant_id_connector_refund_id_connector **transformers.rs** Add: - function: private::from - enum: pub::WebhookEventCode - impl: impl From<WebhookEventCode> for IncomingWebhookEvent **enums.rs** Modify existing code **refund.rs** Add: - function: private::find_refund_by_merchant_id_connector_refund_id_connector
feat(users): custom role at profile read (#6875) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
Files to modify: **role.rs** Modify existing code **enums.rs** Add: - function: private::from **role.rs** Modify existing code **role.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **role.rs** Modify existing code **kafka_store.rs** Remove: - function: private::list_all_roles Add: - function: private::generic_list_roles_by_entity_type **role.rs** Modify existing code **roles.rs** Modify existing code **user_role.rs** Modify existing code
feat(core): add redis lock during insertion of event in event table during initial attempt of outgoing webhook delivery (#7579) Co-authored-by: Debarati Ghatak <debarati.ghatak@Debarati-Ghatak-FW569NC29L.local>
Files to modify: **settings.rs** Modify existing code **validations.rs** Add: - function: pub::validate - impl: impl super::settings::WebhooksSettings **outgoing.rs** Modify existing code **utils.rs** Add: - function: pub::perform_redis_lock - function: pub::free_redis_lock
refactor(schema): add a new column for storing large connector transaction IDs (#7017) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **types.rs** Modify existing code **capture.rs** Modify existing code **kv.rs** Modify existing code **payment_attempt.rs** Modify existing code **capture.rs** Modify existing code **refund.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **sample_data.rs** Modify existing code **requests.rs** Modify existing code **transformers.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **payment_response.rs** Modify existing code **transformers.rs** Modify existing code **refunds.rs** Modify existing code **incoming.rs** Modify existing code **capture.rs** Modify existing code **refund.rs** Modify existing code **payment_attempt.rs** Modify existing code **sample_data.rs** Modify existing code **payment_attempt.rs** Modify existing code
refactor(connector): [bluesnap] add refund status and webhooks (#2374)
Files to modify: **bluesnap.rs** Modify existing code **transformers.rs** Remove: - function: private::try_from - struct: pub::BluesnapCustomerResponse - impl: impl TryFrom<types::ResponseRouterData<F, BluesnapCustomerResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> Add: - function: private::from - function: private::try_from - enum: pub::BluesnapRefundStatus - impl: impl From<BluesnapRefundStatus> for enums::RefundStatus - impl: impl TryFrom<BluesnapWebhookObjectResource> for serde_json::Value
refactor(proxy): specify hosts for proxy exclusion instead of complete URLs (#6957)
Files to modify: **enums.rs** Modify existing code **scheduler.rs** Modify existing code **defaults.rs** Modify existing code **settings.rs** Modify existing code **lib.rs** Modify existing code **api.rs** Modify existing code **client.rs** Remove: - function: pub::proxy_bypass_urls **openidconnect.rs** Modify existing code
feat(core): add SCA exemption field (#6578) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **enums.rs** Add: - enum: pub::ScaExemptionType **enums.rs** Add: - enum: pub::ScaExemptionType **payment_intent.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **payments.rs** Modify existing code **payment_intent.rs** Modify existing code **router_data.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **authentication.rs** Modify existing code **transformers.rs** Modify existing code **checkout_flow.rs** Modify existing code **fulfillment_flow.rs** Modify existing code **record_return.rs** Modify existing code **sale_flow.rs** Modify existing code **transaction_flow.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **utils.rs** Modify existing code **conversion_impls.rs** Modify existing code **types.rs** Modify existing code **verify_connector.rs** Modify existing code **sample_data.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Modify existing code
feat(router): add automatic retries and step up 3ds flow (#2834)
Files to modify: **payments.rs** Add: - mod: pub::retry **retry.rs** Add: - function: pub::do_gsm_actions - function: pub::is_step_up_enabled_for_merchant_connector - function: pub::get_retries - function: pub::get_gsm - function: pub::get_gsm_decision - function: private::get_flow_name - function: pub::do_retry - function: pub::modify_trackers - function: pub::make_new_payment_attempt - function: pub::config_should_call_gsm - function: private::should_call_gsm - trait: pub::GsmValidation - impl: impl GsmValidation<F, FData, types::PaymentsResponseData> for types::RouterData<F, FData, types::PaymentsResponseData> **metrics.rs** Modify existing code
feat(router): added dispute accept api, file module apis and dispute evidence submission api (#900) Co-authored-by: Sangamesh <sangamesh.kulkarni@juspay.in> Co-authored-by: sai harsha <sai.harsha@sai.harsha-MacBookPro> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **disputes.rs** Add: - struct: pub::SubmitEvidenceRequest **enums.rs** Add: - function: pub::supports_file_storage_module **files.rs** Add: - struct: pub::CreateFileResponse **errors.rs** Modify existing code **wrap.rs** Modify existing code **settings.rs** Add: - struct: pub::ConnectorParamsWithFileUploadUrl - struct: pub::FileUploadConfig **validations.rs** Add: - function: pub::validate - function: pub::validate - impl: impl super::settings::ConnectorParamsWithFileUploadUrl - impl: impl super::settings::FileUploadConfig **checkout.rs** Add: - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::validate_file_upload - impl: impl api::AcceptDispute for Checkout - impl: impl api::Dispute for Checkout - impl: impl ConnectorIntegration<api::Accept, types::AcceptDisputeRequestData, types::AcceptDisputeResponse> for Checkout - impl: impl api::UploadFile for Checkout - impl: impl ConnectorIntegration<api::Upload, types::UploadFileRequestData, types::UploadFileResponse> for Checkout - impl: impl api::FileUpload for Checkout **stripe.rs** Add: - function: private::validate_file_upload - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_form_data - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::UploadFile for Stripe - impl: impl api::FileUpload for Stripe - impl: impl services::ConnectorIntegration< api::Upload, types::UploadFileRequestData, types::UploadFileResponse, > for Stripe - impl: impl api::SubmitEvidence for Stripe - impl: impl services::ConnectorIntegration< api::Evidence, types::SubmitEvidenceRequestData, types::SubmitEvidenceResponse, > for Stripe **transformers.rs** Add: - function: pub::construct_file_upload_request - function: private::try_from - struct: pub::FileUploadResponse - struct: pub::Evidence - struct: pub::DisputeObj - impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence **core.rs** Add: - mod: pub::files **disputes.rs** Add: - struct: pub::SubmitEvidenceRequest **transformers.rs** Add: - function: pub::construct_file_upload_request - function: private::try_from - struct: pub::FileUploadResponse - struct: pub::Evidence - struct: pub::DisputeObj - impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence **errors.rs** Modify existing code **api_error_response.rs** Modify existing code **files.rs** Add: - struct: pub::CreateFileResponse **fs_utils.rs** Add: - function: pub::get_file_path - function: pub::save_file_to_fs - function: pub::delete_file_from_fs - function: pub::retrieve_file_from_fs **helpers.rs** Add: - function: pub::read_string - function: pub::get_file_purpose - function: pub::upload_file - function: pub::delete_file - function: pub::retrieve_file - function: pub::validate_file_upload - function: pub::delete_file_using_file_id - function: pub::retrieve_file_and_provider_file_id_from_file_id - function: pub::upload_and_get_provider_provider_file_id **s3_utils.rs** Add: - function: private::get_aws_client - function: pub::upload_file_to_s3 - function: pub::delete_file_from_s3 - function: pub::retrieve_file_from_s3 **metrics.rs** Modify existing code **flows.rs** Modify existing code **utils.rs** Add: - function: pub::construct_accept_dispute_router_data - function: pub::construct_submit_evidence_router_data - function: pub::construct_upload_file_router_data **db.rs** Add: - mod: pub::file **file.rs** Add: - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - trait: pub::FileMetadataInterface - impl: impl FileMetadataInterface for Store - impl: impl FileMetadataInterface for MockDb **lib.rs** Modify existing code **routes.rs** Add: - mod: pub::files **app.rs** Add: - function: pub::server - struct: private::Files - impl: impl Files **disputes.rs** Add: - struct: pub::SubmitEvidenceRequest **files.rs** Add: - struct: pub::CreateFileResponse **transformers.rs** Add: - function: pub::construct_file_upload_request - function: private::try_from - struct: pub::FileUploadResponse - struct: pub::Evidence - struct: pub::DisputeObj - impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence **api.rs** Add: - function: private::get_request_form_data - function: private::http_response_file_data **request.rs** Add: - function: pub::set_form_data - function: pub::form_data **types.rs** Add: - struct: pub::AcceptDisputeRequestData - struct: pub::AcceptDisputeResponse - struct: pub::SubmitEvidenceRequestData - struct: pub::SubmitEvidenceResponse - struct: pub::UploadFileRequestData - struct: pub::UploadFileResponse **api.rs** Add: - function: private::get_request_form_data - function: private::http_response_file_data **disputes.rs** Add: - struct: pub::SubmitEvidenceRequest **files.rs** Add: - struct: pub::CreateFileResponse **storage.rs** Add: - mod: pub::file **file.rs** Add: - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - trait: pub::FileMetadataInterface - impl: impl FileMetadataInterface for Store - impl: impl FileMetadataInterface for MockDb **transformers.rs** Add: - function: pub::construct_file_upload_request - function: private::try_from - struct: pub::FileUploadResponse - struct: pub::Evidence - struct: pub::DisputeObj - impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence **types.rs** Add: - struct: pub::AcceptDisputeRequestData - struct: pub::AcceptDisputeResponse - struct: pub::SubmitEvidenceRequestData - struct: pub::SubmitEvidenceResponse - struct: pub::UploadFileRequestData - struct: pub::UploadFileResponse **dispute.rs** Modify existing code **enums.rs** Add: - function: pub::supports_file_storage_module **file.rs** Add: - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - trait: pub::FileMetadataInterface - impl: impl FileMetadataInterface for Store - impl: impl FileMetadataInterface for MockDb **lib.rs** Modify existing code **query.rs** Add: - mod: pub::file **file.rs** Add: - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - function: private::insert_file_metadata - function: private::find_file_metadata_by_merchant_id_file_id - function: private::delete_file_metadata_by_merchant_id_file_id - function: private::update_file_metadata - trait: pub::FileMetadataInterface - impl: impl FileMetadataInterface for Store - impl: impl FileMetadataInterface for MockDb **schema.rs** Modify existing code
feat(connector): [Payme] Add Void flow to Payme (#3817)
Files to modify: **payme.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body **transformers.rs** Add: - function: private::try_from - function: private::try_from - struct: pub::PaymeVoidRequest - struct: pub::PaymeVoidResponse - impl: impl TryFrom< &PaymeRouterData< &types::RouterData<api::Void, types::PaymentsCancelData, types::PaymentsResponseData>, >, > for PaymeVoidRequest - impl: impl TryFrom<types::PaymentsCancelResponseRouterData<PaymeVoidResponse>> for types::PaymentsCancelRouterData
feat(connector): [RazorPay] Add new connector and Implement payment flows for UPI payment method (#5200) Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **configs.rs** Add: - struct: pub::ConnectorParamsWithKeys **defaults.rs** Modify existing code **connector.rs** Modify existing code **razorpay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - function: private::get_webhook_object_from_body - struct: pub::Razorpay - impl: impl Razorpay - impl: impl api::Payment for Razorpay - impl: impl api::PaymentSession for Razorpay - impl: impl api::ConnectorAccessToken for Razorpay - impl: impl api::MandateSetup for Razorpay - impl: impl api::PaymentAuthorize for Razorpay - impl: impl api::PaymentSync for Razorpay - impl: impl api::PaymentCapture for Razorpay - impl: impl api::PaymentVoid for Razorpay - impl: impl api::Refund for Razorpay - impl: impl api::RefundExecute for Razorpay - impl: impl api::RefundSync for Razorpay - impl: impl api::PaymentToken for Razorpay - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Razorpay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Razorpay - impl: impl ConnectorCommon for Razorpay - impl: impl ConnectorValidation for Razorpay - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Razorpay - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Razorpay - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Razorpay - impl: impl api::IncomingWebhook for Razorpay - mod: pub::transformers **transformers.rs** Add: - function: private::try_from - function: private::generate_12_digit_number - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::RazorpayRouterData - struct: pub::RazorpayPaymentsRequest - struct: pub::SecondFactor - struct: pub::MerchantAccount - struct: pub::OrderReference - struct: pub::TxnDetail - struct: pub::TxnCardInfo - struct: pub::MerchantGatewayAccount - struct: pub::TransactionCreateReq - struct: pub::OrderMetadataV2 - struct: pub::RazorpayCard - struct: pub::RazorpayAuthType - struct: pub::JuspayAuthData - struct: pub::RazorpayPaymentsResponse - struct: pub::ApiMetadata - struct: pub::Contents - struct: pub::SecondFactorResponse - struct: pub::PgrInfo - struct: pub::RazorpayCreateSyncRequest - struct: pub::GatewayTxnData - struct: pub::AccountDetails - struct: pub::RazorpaySyncResponse - struct: pub::RazorpayRefundRequest - struct: pub::Refund - struct: pub::PaymentGatewayResponse - struct: pub::RefundResponse - struct: pub::RazorpayErrorResponse - struct: pub::ErrorInfo - struct: pub::Fields - struct: pub::RazorpayWebhookEvent - struct: pub::RazorpayWebhookPayload - struct: pub::RazorpayPaymentWebhookPayload - struct: pub::RazorpayRefundWebhookPayload - struct: pub::WebhookRefundEntity - struct: pub::WebhookPaymentEntity - enum: pub::SecondFactorType - enum: pub::SecondFactorStatus - enum: pub::OrderType - enum: pub::MandateFeature - enum: pub::OrderStatus - enum: pub::TxnType - enum: pub::TxnMode - enum: pub::Gateway - enum: pub::Tag - enum: pub::TxnStatus - enum: pub::PsyncStatus - enum: pub::RefundStatus - enum: pub::ErrorResponse - enum: pub::RazorpayWebhookEventType - enum: pub::RazorpayPaymentStatus - enum: pub::RazorpayRefundStatus - impl: impl TryFrom<(FloatMajorUnit, T)> for RazorpayRouterData<T> - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for RazorpayPaymentsRequest - impl: impl TryFrom<&RazorpayRouterData<&types::PaymentsAuthorizeRouterData>> for SecondFactor - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for MerchantAccount - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for OrderReference - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, UpiCollectData, )> for TxnCardInfo - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for TxnDetail - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for MerchantGatewayAccount - impl: impl TryFrom<&RazorpayRouterData<&types::PaymentsAuthorizeRouterData>> for OrderMetadataV2 - impl: impl TryFrom<&types::ConnectorAuthType> for RazorpayAuthType - impl: impl TryFrom<&settings::Connectors> for JuspayAuthData - impl: impl From<TxnStatus> for enums::AttemptStatus - impl: impl From<enums::AttemptStatus> for TxnStatus - impl: impl TryFrom<types::ResponseRouterData<F, RazorpayPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<( RazorpayRouterData<&types::PaymentsSyncRouterData>, &settings::Connectors, )> for RazorpayCreateSyncRequest - impl: impl From<PsyncStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, RazorpaySyncResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<( &RazorpayRouterData<&types::RefundsRouterData<F>>, &settings::Connectors, )> for RazorpayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> - impl: impl TryFrom<RazorpayWebhookPayload> for api_models::webhooks::IncomingWebhookEvent **admin.rs** Modify existing code **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::generate_12_digit_number - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::RazorpayRouterData - struct: pub::RazorpayPaymentsRequest - struct: pub::SecondFactor - struct: pub::MerchantAccount - struct: pub::OrderReference - struct: pub::TxnDetail - struct: pub::TxnCardInfo - struct: pub::MerchantGatewayAccount - struct: pub::TransactionCreateReq - struct: pub::OrderMetadataV2 - struct: pub::RazorpayCard - struct: pub::RazorpayAuthType - struct: pub::JuspayAuthData - struct: pub::RazorpayPaymentsResponse - struct: pub::ApiMetadata - struct: pub::Contents - struct: pub::SecondFactorResponse - struct: pub::PgrInfo - struct: pub::RazorpayCreateSyncRequest - struct: pub::GatewayTxnData - struct: pub::AccountDetails - struct: pub::RazorpaySyncResponse - struct: pub::RazorpayRefundRequest - struct: pub::Refund - struct: pub::PaymentGatewayResponse - struct: pub::RefundResponse - struct: pub::RazorpayErrorResponse - struct: pub::ErrorInfo - struct: pub::Fields - struct: pub::RazorpayWebhookEvent - struct: pub::RazorpayWebhookPayload - struct: pub::RazorpayPaymentWebhookPayload - struct: pub::RazorpayRefundWebhookPayload - struct: pub::WebhookRefundEntity - struct: pub::WebhookPaymentEntity - enum: pub::SecondFactorType - enum: pub::SecondFactorStatus - enum: pub::OrderType - enum: pub::MandateFeature - enum: pub::OrderStatus - enum: pub::TxnType - enum: pub::TxnMode - enum: pub::Gateway - enum: pub::Tag - enum: pub::TxnStatus - enum: pub::PsyncStatus - enum: pub::RefundStatus - enum: pub::ErrorResponse - enum: pub::RazorpayWebhookEventType - enum: pub::RazorpayPaymentStatus - enum: pub::RazorpayRefundStatus - impl: impl TryFrom<(FloatMajorUnit, T)> for RazorpayRouterData<T> - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for RazorpayPaymentsRequest - impl: impl TryFrom<&RazorpayRouterData<&types::PaymentsAuthorizeRouterData>> for SecondFactor - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for MerchantAccount - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for OrderReference - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, UpiCollectData, )> for TxnCardInfo - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for TxnDetail - impl: impl TryFrom<( &RazorpayRouterData<&types::PaymentsAuthorizeRouterData>, &settings::Connectors, )> for MerchantGatewayAccount - impl: impl TryFrom<&RazorpayRouterData<&types::PaymentsAuthorizeRouterData>> for OrderMetadataV2 - impl: impl TryFrom<&types::ConnectorAuthType> for RazorpayAuthType - impl: impl TryFrom<&settings::Connectors> for JuspayAuthData - impl: impl From<TxnStatus> for enums::AttemptStatus - impl: impl From<enums::AttemptStatus> for TxnStatus - impl: impl TryFrom<types::ResponseRouterData<F, RazorpayPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<( RazorpayRouterData<&types::PaymentsSyncRouterData>, &settings::Connectors, )> for RazorpayCreateSyncRequest - impl: impl From<PsyncStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, RazorpaySyncResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<( &RazorpayRouterData<&types::RefundsRouterData<F>>, &settings::Connectors, )> for RazorpayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> - impl: impl TryFrom<RazorpayWebhookPayload> for api_models::webhooks::IncomingWebhookEvent **main.rs** Add: - mod: private::razorpay **razorpay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - function: private::get_webhook_object_from_body - struct: pub::Razorpay - impl: impl Razorpay - impl: impl api::Payment for Razorpay - impl: impl api::PaymentSession for Razorpay - impl: impl api::ConnectorAccessToken for Razorpay - impl: impl api::MandateSetup for Razorpay - impl: impl api::PaymentAuthorize for Razorpay - impl: impl api::PaymentSync for Razorpay - impl: impl api::PaymentCapture for Razorpay - impl: impl api::PaymentVoid for Razorpay - impl: impl api::Refund for Razorpay - impl: impl api::RefundExecute for Razorpay - impl: impl api::RefundSync for Razorpay - impl: impl api::PaymentToken for Razorpay - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Razorpay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Razorpay - impl: impl ConnectorCommon for Razorpay - impl: impl ConnectorValidation for Razorpay - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Razorpay - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Razorpay - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Razorpay - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Razorpay - impl: impl api::IncomingWebhook for Razorpay - mod: pub::transformers **misc.rs** Modify existing code **connector_auth.rs** Modify existing code
feat(router): store `network_reference_id` against the `payment_method_id` in the `payment_method_table` (#4041) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_method.rs** Modify existing code **transformers.rs** Modify existing code **cards.rs** Modify existing code **payment_response.rs** Modify existing code **payment_status.rs** Modify existing code **tokenization.rs** Modify existing code **helpers.rs** Modify existing code
refactor(payments): add support for receiving card_holder_name field as an empty string (#3127)
Files to modify: **helpers.rs** Remove: - function: pub::validate_card_holder_name **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Modify existing code
fix(connectors): [Nuvei] payments, refunds and chargeback webhooks (#9378) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **nuvei.rs** Remove: - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Nuvei Add: - function: private::handle_response - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Nuvei **transformers.rs** Remove: - function: private::from - enum: pub::PaymentTransactionType - impl: impl clone() - impl: impl From<&NuveiWebhook> for NuveiWebhookTransactionId Add: - function: private::from - function: pub::map_dispute_notification_to_event - function: private::from - struct: pub::ChargebackData - struct: pub::ChargebackTransactionDetails - enum: pub::NuveiPaymentSyncResponse - enum: pub::DisputeUnifiedStatusCode - enum: pub::ChargebackType - enum: pub::ChargebackStatusCategory - enum: pub::DmnApiTransactionStatus - impl: impl From<NuveiPaymentSyncResponse> for NuveiTransactionSyncResponse - impl: impl From<DisputeUnifiedStatusCode> for common_enums::DisputeStage
feat(user): generate and delete sample data (#2987) Co-authored-by: Rachit Naithani <rachit.naithani@juspay.in> Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **db.rs** Modify existing code **kafka_store.rs** Add: - function: private::insert_payment_intents_batch_for_sample_data - function: private::insert_payment_attempts_batch_for_sample_data - function: private::insert_refunds_batch_for_sample_data - function: private::delete_payment_intents_for_sample_data - function: private::delete_payment_attempts_for_sample_data - function: private::delete_refunds_for_sample_data - impl: impl BatchSampleDataInterface for KafkaStore **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **sample_data.rs** Add: - struct: pub::SampleDataRequest **types.rs** Modify existing code
refactor(connector): [Stripe] Using `connector_request_reference_id` as object_reference_id for Webhooks (#2064)
Files to modify: **stripe.rs** Modify existing code **transformers.rs** Remove: - struct: pub::StripeMetadata Add: - struct: pub::StripeMetadata
Call multiple connectors (#90)
Files to modify: **payments.rs** Add: - function: private::call_multiple_connectors_service **flows.rs** Modify existing code **authorize_flow.rs** Modify existing code **cancel_flow.rs** Modify existing code **capture_flow.rs** Modify existing code **psync_flow.rs** Modify existing code **session_flow.rs** Modify existing code **verfiy_flow.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **types.rs** Add: - struct: pub::ConnectorSessionToken
refactor(router): Add FE error logs to loki (#4077)
Files to modify: **api.rs** Modify existing code
feat(business_profile): introduce domain models for business profile v1 and v2 APIs (#5497)
Files to modify: **enums.rs** Add: - enum: pub::OrderFulfillmentTimeOrigin **business_profile.rs** Add: - function: private::from - function: pub::apply_changeset - struct: pub::BusinessProfile - struct: pub::BusinessProfileNew - struct: pub::BusinessProfileUpdateInternal - enum: pub::BusinessProfileUpdate - impl: impl From<BusinessProfileUpdate> for BusinessProfileUpdateInternal - impl: impl BusinessProfileUpdate **enums.rs** Add: - enum: pub::OrderFulfillmentTimeOrigin **business_profile.rs** Add: - function: private::from - function: pub::apply_changeset - struct: pub::BusinessProfile - struct: pub::BusinessProfileNew - struct: pub::BusinessProfileUpdateInternal - enum: pub::BusinessProfileUpdate - impl: impl From<BusinessProfileUpdate> for BusinessProfileUpdateInternal - impl: impl BusinessProfileUpdate **schema_v2.rs** Modify existing code **business_profile.rs** Add: - function: private::from - function: pub::apply_changeset - struct: pub::BusinessProfile - struct: pub::BusinessProfileNew - struct: pub::BusinessProfileUpdateInternal - enum: pub::BusinessProfileUpdate - impl: impl From<BusinessProfileUpdate> for BusinessProfileUpdateInternal - impl: impl BusinessProfileUpdate **lib.rs** Add: - mod: pub::business_profile **admin.rs** Modify existing code **helpers.rs** Modify existing code
feat(dashboard_metadata): Add email alert for Prod Intent (#3482) Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **user.rs** Modify existing code **dashboard_metadata.rs** Modify existing code **types.rs** Add: - function: pub::new - function: private::get_email_data - struct: private::BizEmailProd - impl: impl BizEmailProd - impl: impl EmailData for BizEmailProd **dashboard_metadata.rs** Modify existing code
refactor(router): Remove `refunds_v2` feature flag (#8310) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **refunds.rs** Modify existing code **kv.rs** Modify existing code **refund.rs** Modify existing code **refund.rs** Modify existing code **refunds.rs** Modify existing code **payments.rs** Modify existing code **refunds.rs** Modify existing code **refunds_v2.rs** Modify existing code **utils.rs** Modify existing code **refunds_validator.rs** Modify existing code **incoming.rs** Modify existing code **kafka_store.rs** Modify existing code **refund.rs** Modify existing code **app.rs** Modify existing code **refunds.rs** Modify existing code **refunds.rs** Modify existing code **refund.rs** Modify existing code **lib.rs** Modify existing code
chore: add deprecated flag to soon to be deprecated fields in payment request and response (#4261) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code
feat(connector): [billwerk] add connector template code (#4123) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Modify existing code **billwerk.rs** Add: - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Billwerk - impl: impl api::Payment for Billwerk - impl: impl api::PaymentSession for Billwerk - impl: impl api::ConnectorAccessToken for Billwerk - impl: impl api::MandateSetup for Billwerk - impl: impl api::PaymentAuthorize for Billwerk - impl: impl api::PaymentSync for Billwerk - impl: impl api::PaymentCapture for Billwerk - impl: impl api::PaymentVoid for Billwerk - impl: impl api::Refund for Billwerk - impl: impl api::RefundExecute for Billwerk - impl: impl api::RefundSync for Billwerk - impl: impl api::PaymentToken for Billwerk - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Billwerk - impl: impl ConnectorCommonExt<Flow, Request, Response> for Billwerk - impl: impl ConnectorCommon for Billwerk - impl: impl ConnectorValidation for Billwerk - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Billwerk - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Billwerk - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Billwerk - impl: impl api::IncomingWebhook for Billwerk - mod: pub::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::BillwerkRouterData - struct: pub::BillwerkPaymentsRequest - struct: pub::BillwerkCard - struct: pub::BillwerkAuthType - struct: pub::BillwerkPaymentsResponse - struct: pub::BillwerkRefundRequest - struct: pub::RefundResponse - struct: pub::BillwerkErrorResponse - enum: pub::BillwerkPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for BillwerkRouterData<T> - impl: impl TryFrom<&BillwerkRouterData<&types::PaymentsAuthorizeRouterData>> for BillwerkPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for BillwerkAuthType - impl: impl From<BillwerkPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, BillwerkPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&BillwerkRouterData<&types::RefundsRouterData<F>>> for BillwerkRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **admin.rs** Modify existing code **flows.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::BillwerkRouterData - struct: pub::BillwerkPaymentsRequest - struct: pub::BillwerkCard - struct: pub::BillwerkAuthType - struct: pub::BillwerkPaymentsResponse - struct: pub::BillwerkRefundRequest - struct: pub::RefundResponse - struct: pub::BillwerkErrorResponse - enum: pub::BillwerkPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for BillwerkRouterData<T> - impl: impl TryFrom<&BillwerkRouterData<&types::PaymentsAuthorizeRouterData>> for BillwerkPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for BillwerkAuthType - impl: impl From<BillwerkPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, BillwerkPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&BillwerkRouterData<&types::RefundsRouterData<F>>> for BillwerkRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **billwerk.rs** Add: - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Billwerk - impl: impl api::Payment for Billwerk - impl: impl api::PaymentSession for Billwerk - impl: impl api::ConnectorAccessToken for Billwerk - impl: impl api::MandateSetup for Billwerk - impl: impl api::PaymentAuthorize for Billwerk - impl: impl api::PaymentSync for Billwerk - impl: impl api::PaymentCapture for Billwerk - impl: impl api::PaymentVoid for Billwerk - impl: impl api::Refund for Billwerk - impl: impl api::RefundExecute for Billwerk - impl: impl api::RefundSync for Billwerk - impl: impl api::PaymentToken for Billwerk - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Billwerk - impl: impl ConnectorCommonExt<Flow, Request, Response> for Billwerk - impl: impl ConnectorCommon for Billwerk - impl: impl ConnectorValidation for Billwerk - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Billwerk - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Billwerk - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Billwerk - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Billwerk - impl: impl api::IncomingWebhook for Billwerk - mod: pub::transformers **main.rs** Add: - mod: private::billwerk **connector_auth.rs** Modify existing code
refactor: move Payout traits to hyperswitch_interfaces for connectors crate (#6481) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **default_implementations.rs** Modify existing code **api.rs** Add: - trait: pub::Payouts **payouts.rs** Add: - trait: pub::Payouts **payouts_v2.rs** Add: - trait: pub::PayoutsV2 - trait: pub::PayoutsV2 **flows.rs** Remove: - impl: impl api::Payouts for $connector - impl: impl api::Payouts for connector::DummyConnector<T> Add: - impl: impl Payouts for $connector - impl: impl Payouts for connector::DummyConnector<T> **api.rs** Add: - trait: pub::Payouts **payouts.rs** Add: - trait: pub::Payouts
feat(events): add hashed customer_email and feature_metadata (#5220) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **search.rs** Modify existing code **search.rs** Modify existing code **payments.rs** Modify existing code **hashing.rs** Add: - function: private::serialize - function: private::from - struct: pub::HashedString - impl: impl Serialize for HashedString<T> - impl: impl From<Secret<String, T>> for HashedString<T> **lib.rs** Add: - mod: pub::hashing **pii.rs** Modify existing code **payments.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_intent_event.rs** Modify existing code
feat(connector): implement pre auth flow for gpayments (#4692) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **connector.rs** Modify existing code **authentication.rs** Modify existing code **router_response_types.rs** Modify existing code **gpayments.rs** Add: - mod: pub::gpayments_types **gpayments_types.rs** Add: - struct: pub::GpaymentsConnectorMetaData - struct: pub::GpaymentsPreAuthVersionCallRequest - struct: pub::GpaymentsPreAuthVersionCallResponse - struct: pub::TDS2ApiError - struct: pub::GpaymentsPreAuthenticationRequest - struct: pub::GpaymentsPreAuthenticationResponse - enum: pub::EnrollmentStatus - enum: pub::ChallengeWindowSize - enum: pub::CardScheme **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **admin.rs** Modify existing code **utils.rs** Modify existing code **helpers.rs** Add: - function: pub::create_certificate **client.rs** Modify existing code **api.rs** Modify existing code **authentication.rs** Modify existing code **transformers.rs** Modify existing code
feat(router): disable temp locker call for connector-payment_method flow based on env (#2120)
Files to modify: **settings.rs** Add: - struct: pub::TempLockerDisableConfig - struct: pub::TempLockerDisablePaymentMethodFilter **helpers.rs** Add: - function: pub::should_store_payment_method_data_in_vault **payment_complete_authorize.rs** Modify existing code
feat(analytics): adding kafka dispute analytic events (#3549) Co-authored-by: Sampras Lopes <lsampras@pm.me>
Files to modify: **kafka_store.rs** Modify existing code **kafka.rs** Add: - function: pub::log_dispute - mod: private::dispute **dispute.rs** Add: - function: pub::from_storage - function: private::key - function: private::creation_timestamp - struct: pub::KafkaDispute - impl: impl KafkaDispute<'a> - impl: impl super::KafkaMessage for KafkaDispute<'a>
feat(connector): [Nexixpay] add Payment & Refunds flows for cards (#5864) Co-authored-by: Mrudul Vajpayee <mrudul.vajpayee@mrudulvajpayee-XJWXCWP7HF.local> Co-authored-by: Debarati <debarati.ghatak@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **nexixpay.rs** Remove: - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Nexixpay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Nexixpay Add: - function: private::validate_capture_method - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_payment_id - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::PaymentsPreProcessing for Nexixpay - impl: impl api::PaymentsCompleteAuthorize for Nexixpay - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Nexixpay - impl: impl ConnectorIntegration<PreProcessing, PaymentsPreProcessingData, PaymentsResponseData> for Nexixpay - impl: impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResponseData> for Nexixpay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Nexixpay **transformers.rs** Add: - function: private::update_nexi_meta_data - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::NexixpayCompleteAuthorizeRequest - struct: pub::OperationData - struct: pub::NexixpayCompleteAuthorizeResponse - struct: pub::NexixpayPreProcessingRequest - struct: pub::Order - struct: pub::CustomerInfo - struct: pub::Address - struct: private::Recurrence - struct: pub::NexixpayPaymentsResponse - struct: pub::ThreeDSAuthResult - struct: pub::NexixpayRedirectionRequest - struct: pub::NexixpayConnectorMetaData - struct: pub::UpdateNexixpayConnectorMetaData - struct: pub::ThreeDSAuthData - struct: pub::NexixpayPreProcessingResponse - struct: pub::Operation - struct: pub::AdditionalData - struct: pub::RedirectPayload - struct: pub::NexixpayTransactionResponse - struct: pub::NexixpayRSyncResponse - struct: pub::NexixpayPaymentsCaptureRequest - struct: pub::NexixpayPaymentsCancelRequest - struct: pub::NexixpayOperationResponse - struct: pub::NexixpayRefundRequest - struct: pub::RefundResponse - struct: pub::NexixpayErrorBody - struct: pub::NexixpayErrorResponse - enum: pub::NexixpayCaptureType - enum: pub::NexixpayPaymentIntent - enum: pub::NexixpayOperationType - enum: pub::NexixpayRefundOperationType - enum: pub::NexixpayRefundResultStatus - impl: impl TryFrom<&PaymentsPreProcessingRouterData> for NexixpayPreProcessingRequest - impl: impl TryFrom< ResponseRouterData< F, NexixpayPreProcessingResponse, PaymentsPreProcessingData, PaymentsResponseData, >, > for RouterData<F, PaymentsPreProcessingData, PaymentsResponseData> - impl: impl TryFrom< ResponseRouterData< F, NexixpayPaymentsResponse, PaymentsAuthorizeData, PaymentsResponseData, >, > for get_complete_authorize_url() - impl: impl TryFrom< ResponseRouterData< F, NexixpayCompleteAuthorizeResponse, CompleteAuthorizeData, PaymentsResponseData, >, > for RouterData<F, CompleteAuthorizeData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCompleteAuthorizeRouterData>> for NexixpayCompleteAuthorizeRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayTransactionResponse, PaymentsSyncData, PaymentsResponseData>, > for RouterData<F, PaymentsSyncData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCaptureRouterData>> for NexixpayPaymentsCaptureRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayOperationResponse, PaymentsCaptureData, PaymentsResponseData>, > for RouterData<F, PaymentsCaptureData, PaymentsResponseData> - impl: impl TryFrom<NexixpayRouterData<&PaymentsCancelRouterData>> for NexixpayPaymentsCancelRequest **constants.rs** Modify existing code **default_implementations.rs** Modify existing code **utils.rs** Add: - function: private::get_expiry_date_as_mmyy - function: private::is_auto_capture - trait: pub::PaymentsPreProcessingRequestData - impl: impl PaymentsPreProcessingRequestData for PaymentsPreProcessingData **router_request_types.rs** Modify existing code **types.rs** Modify existing code **defaults.rs** Modify existing code **utils.rs** Add: - function: private::get_expiry_date_as_mmyy - function: private::is_auto_capture - trait: pub::PaymentsPreProcessingRequestData - impl: impl PaymentsPreProcessingRequestData for PaymentsPreProcessingData **admin.rs** Modify existing code **payments.rs** Modify existing code **transformers.rs** Add: - function: private::update_nexi_meta_data - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::NexixpayCompleteAuthorizeRequest - struct: pub::OperationData - struct: pub::NexixpayCompleteAuthorizeResponse - struct: pub::NexixpayPreProcessingRequest - struct: pub::Order - struct: pub::CustomerInfo - struct: pub::Address - struct: private::Recurrence - struct: pub::NexixpayPaymentsResponse - struct: pub::ThreeDSAuthResult - struct: pub::NexixpayRedirectionRequest - struct: pub::NexixpayConnectorMetaData - struct: pub::UpdateNexixpayConnectorMetaData - struct: pub::ThreeDSAuthData - struct: pub::NexixpayPreProcessingResponse - struct: pub::Operation - struct: pub::AdditionalData - struct: pub::RedirectPayload - struct: pub::NexixpayTransactionResponse - struct: pub::NexixpayRSyncResponse - struct: pub::NexixpayPaymentsCaptureRequest - struct: pub::NexixpayPaymentsCancelRequest - struct: pub::NexixpayOperationResponse - struct: pub::NexixpayRefundRequest - struct: pub::RefundResponse - struct: pub::NexixpayErrorBody - struct: pub::NexixpayErrorResponse - enum: pub::NexixpayCaptureType - enum: pub::NexixpayPaymentIntent - enum: pub::NexixpayOperationType - enum: pub::NexixpayRefundOperationType - enum: pub::NexixpayRefundResultStatus - impl: impl TryFrom<&PaymentsPreProcessingRouterData> for NexixpayPreProcessingRequest - impl: impl TryFrom< ResponseRouterData< F, NexixpayPreProcessingResponse, PaymentsPreProcessingData, PaymentsResponseData, >, > for RouterData<F, PaymentsPreProcessingData, PaymentsResponseData> - impl: impl TryFrom< ResponseRouterData< F, NexixpayPaymentsResponse, PaymentsAuthorizeData, PaymentsResponseData, >, > for get_complete_authorize_url() - impl: impl TryFrom< ResponseRouterData< F, NexixpayCompleteAuthorizeResponse, CompleteAuthorizeData, PaymentsResponseData, >, > for RouterData<F, CompleteAuthorizeData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCompleteAuthorizeRouterData>> for NexixpayCompleteAuthorizeRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayTransactionResponse, PaymentsSyncData, PaymentsResponseData>, > for RouterData<F, PaymentsSyncData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCaptureRouterData>> for NexixpayPaymentsCaptureRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayOperationResponse, PaymentsCaptureData, PaymentsResponseData>, > for RouterData<F, PaymentsCaptureData, PaymentsResponseData> - impl: impl TryFrom<NexixpayRouterData<&PaymentsCancelRouterData>> for NexixpayPaymentsCancelRequest **api.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::update_nexi_meta_data - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::NexixpayCompleteAuthorizeRequest - struct: pub::OperationData - struct: pub::NexixpayCompleteAuthorizeResponse - struct: pub::NexixpayPreProcessingRequest - struct: pub::Order - struct: pub::CustomerInfo - struct: pub::Address - struct: private::Recurrence - struct: pub::NexixpayPaymentsResponse - struct: pub::ThreeDSAuthResult - struct: pub::NexixpayRedirectionRequest - struct: pub::NexixpayConnectorMetaData - struct: pub::UpdateNexixpayConnectorMetaData - struct: pub::ThreeDSAuthData - struct: pub::NexixpayPreProcessingResponse - struct: pub::Operation - struct: pub::AdditionalData - struct: pub::RedirectPayload - struct: pub::NexixpayTransactionResponse - struct: pub::NexixpayRSyncResponse - struct: pub::NexixpayPaymentsCaptureRequest - struct: pub::NexixpayPaymentsCancelRequest - struct: pub::NexixpayOperationResponse - struct: pub::NexixpayRefundRequest - struct: pub::RefundResponse - struct: pub::NexixpayErrorBody - struct: pub::NexixpayErrorResponse - enum: pub::NexixpayCaptureType - enum: pub::NexixpayPaymentIntent - enum: pub::NexixpayOperationType - enum: pub::NexixpayRefundOperationType - enum: pub::NexixpayRefundResultStatus - impl: impl TryFrom<&PaymentsPreProcessingRouterData> for NexixpayPreProcessingRequest - impl: impl TryFrom< ResponseRouterData< F, NexixpayPreProcessingResponse, PaymentsPreProcessingData, PaymentsResponseData, >, > for RouterData<F, PaymentsPreProcessingData, PaymentsResponseData> - impl: impl TryFrom< ResponseRouterData< F, NexixpayPaymentsResponse, PaymentsAuthorizeData, PaymentsResponseData, >, > for get_complete_authorize_url() - impl: impl TryFrom< ResponseRouterData< F, NexixpayCompleteAuthorizeResponse, CompleteAuthorizeData, PaymentsResponseData, >, > for RouterData<F, CompleteAuthorizeData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCompleteAuthorizeRouterData>> for NexixpayCompleteAuthorizeRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayTransactionResponse, PaymentsSyncData, PaymentsResponseData>, > for RouterData<F, PaymentsSyncData, PaymentsResponseData> - impl: impl TryFrom<&NexixpayRouterData<&PaymentsCaptureRouterData>> for NexixpayPaymentsCaptureRequest - impl: impl TryFrom< ResponseRouterData<F, NexixpayOperationResponse, PaymentsCaptureData, PaymentsResponseData>, > for RouterData<F, PaymentsCaptureData, PaymentsResponseData> - impl: impl TryFrom<NexixpayRouterData<&PaymentsCancelRouterData>> for NexixpayPaymentsCancelRequest
doc: Documentation for customer and MCA and Mechant account API (#416) Co-authored-by: bernard-eugine <114725419+bernard-eugine@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **customers.rs** Modify existing code **openapi.rs** Modify existing code **admin.rs** Modify existing code **customers.rs** Modify existing code
feat(router): add connector_response_reference_id in payments response (#1664)
Files to modify: **transformers.rs** Modify existing code **payments.rs** Modify existing code **payment_attempt.rs** Modify existing code **schema.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **bluesnap.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **worldpay.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **payment_response.rs** Modify existing code **transformers.rs** Modify existing code **payment_attempt.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Modify existing code
refactor(connector): Move connector mappings and endpoints to dedicated modules (#8562)
Files to modify: **coinbase.rs** Modify existing code **connector_endpoints.rs** Modify existing code **lib.rs** Remove: - mod: pub::configs Add: - mod: pub::connector_endpoints **revenue_recovery.rs** Modify existing code **api.rs** Modify existing code **configs.rs** Modify existing code **connector_integration_interface.rs** Modify existing code **types.rs** Modify existing code **recovery_incoming.rs** Modify existing code **types.rs** Modify existing code **api.rs** Modify existing code **connector_mapping.rs** Add: - function: pub::get_connector_by_name - function: pub::get_payout_connector_by_name - function: pub::get_external_vault_connector_by_name - function: pub::convert_connector - struct: pub::ConnectorData - enum: pub::GetToken - impl: impl ConnectorData **connector_transformers.rs** Add: - function: private::foreign_try_from - impl: impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors **transformers.rs** Remove: - function: private::foreign_try_from - impl: impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors
feat(analytics): Analytics Request Validator and config driven forex feature (#6733) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sandeep Kumar <83278309+tsdk02@users.noreply.github.com>
Files to modify: **lib.rs** Modify existing code **core.rs** Modify existing code **core.rs** Modify existing code **core.rs** Modify existing code **analytics.rs** Add: - function: pub::requires_forex_functionality - struct: pub::AnalyticsRequest - trait: pub::ForexMetric - impl: impl AnalyticsRequest **disputes.rs** Add: - function: private::is_forex_metric - impl: impl ForexMetric for DisputeMetrics **payment_intents.rs** Add: - function: private::is_forex_metric - impl: impl ForexMetric for PaymentIntentMetrics **payments.rs** Add: - function: private::is_forex_metric - impl: impl ForexMetric for PaymentMetrics **refunds.rs** Add: - function: private::is_forex_metric - impl: impl ForexMetric for RefundMetrics **analytics.rs** Add: - function: pub::requires_forex_functionality - struct: pub::AnalyticsRequest - trait: pub::ForexMetric - impl: impl AnalyticsRequest **analytics_validator.rs** Add: - function: pub::request_validator **lib.rs** Modify existing code
fix(connector): [Tokenex] fix tokenize flow response handling for tokenex (#9528) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **tokenex.rs** Modify existing code **transformers.rs** Modify existing code **payment_method_data.rs** Add: - function: pub::get_card_details - function: private::try_from - impl: impl TryFrom<( cards::CardNumber, Option<&CardToken>, Option<payment_methods::CoBadgedCardData>, CardDetailsPaymentMethod, )> for Card **vault.rs** Modify existing code **payment_methods.rs** Modify existing code **vault.rs** Modify existing code **helpers.rs** Modify existing code
feat(router): Add Smart Routing to route payments efficiently (#2665) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: shashank_attarde <shashank.attarde@juspay.in> Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com> Co-authored-by: Amisha Prabhat <55580080+Aprabhat19@users.noreply.github.com>
Files to modify: **admin.rs** Remove: - function: private::from - function: private::from - enum: pub::RoutingAlgorithm - enum: pub::RoutableConnectorChoice - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde **lib.rs** Add: - mod: pub::routing **routing.rs** Add: - function: pub::get_connector_list - function: private::get_dir_value_for_analysis - function: private::to_string - function: private::eq - function: private::from - function: private::from - function: private::from - function: pub::get_connector_label - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: pub::get_kind - function: pub::update_algorithm_id - function: pub::update_conditional_config_id - function: pub::update_surcharge_config_id - struct: pub::RoutingConfigRequest - struct: pub::RoutingRetrieveQuery - struct: pub::RoutingRetrieveLinkQuery - struct: pub::RoutingRetrieveResponse - struct: pub::MerchantRoutingAlgorithm - struct: pub::ConnectorVolumeSplit - struct: pub::RoutableConnectorChoice - struct: pub::DetailedConnectorChoice - struct: pub::RoutingAlgorithmRef - struct: pub::RoutingDictionaryRecord - struct: pub::RoutingDictionary - enum: pub::ConnectorSelection - enum: pub::LinkedRoutingConfigRetrieveResponse - enum: pub::RoutableChoiceKind - enum: pub::RoutableChoiceSerde - enum: pub::RoutingAlgorithmKind - enum: pub::RoutingAlgorithm - enum: pub::RoutingAlgorithmSerde - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - enum: pub::RoutingKind - impl: impl ConnectorSelection - impl: impl EuclidDirFilter for ConnectorSelection - impl: impl EuclidAnalysable for ConnectorSelection - impl: impl ToString for RoutableConnectorChoice - impl: impl PartialEq for RoutableConnectorChoice - impl: impl Eq for RoutableConnectorChoice - impl: impl From<RoutableChoiceSerde> for RoutableConnectorChoice - impl: impl From<RoutableConnectorChoice> for RoutableChoiceSerde - impl: impl From<RoutableConnectorChoice> for ast::ConnectorChoice - impl: impl DetailedConnectorChoice - impl: impl TryFrom<RoutingAlgorithmSerde> for RoutingAlgorithm - impl: impl TryFrom<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithm> for RoutingAlgorithm - impl: impl RoutingAlgorithm - impl: impl RoutingAlgorithmRef **lib.rs** Add: - mod: pub::routing **static_cache.rs** Add: - function: pub::new - function: pub::present - function: pub::expired - function: pub::retrieve - function: pub::save - function: pub::clear - struct: pub::CacheEntry - struct: pub::StaticCache - enum: pub::CacheError - impl: impl StaticCache<T> **enums.rs** Add: - enum: pub::RoutingAlgorithmKind **lib.rs** Add: - mod: pub::routing **query.rs** Add: - mod: pub::routing_algorithm **routing_algorithm.rs** Add: - function: pub::insert - function: pub::find_by_algorithm_id_merchant_id - function: pub::find_by_algorithm_id_profile_id - function: pub::find_metadata_by_algorithm_id_profile_id - function: pub::list_metadata_by_profile_id - function: pub::list_metadata_by_merchant_id - impl: impl RoutingAlgorithm **routing_algorithm.rs** Add: - function: pub::insert - function: pub::find_by_algorithm_id_merchant_id - function: pub::find_by_algorithm_id_profile_id - function: pub::find_metadata_by_algorithm_id_profile_id - function: pub::list_metadata_by_profile_id - function: pub::list_metadata_by_merchant_id - impl: impl RoutingAlgorithm **schema.rs** Modify existing code **backends.rs** Add: - function: private::get_program_data - function: private::interpreter_vs_jit_vs_vir_interpreter **backend.rs** Add: - struct: pub::BackendOutput - trait: pub::EuclidBackend - mod: pub::inputs - mod: pub::interpreter - mod: pub::vir_interpreter **inputs.rs** Add: - struct: pub::MandateData - struct: pub::PaymentMethodInput - struct: pub::PaymentInput - struct: pub::BackendInput **interpreter.rs** Add: - function: private::eval_number_comparison_array - function: private::eval_comparison - function: private::eval_if_condition - function: private::eval_if_statement - function: private::eval_rule_statements - function: private::eval_rule - function: private::eval_program - function: private::with_program - function: private::execute - struct: pub::InterpreterBackend - impl: impl InterpreterBackend<O> - impl: impl EuclidBackend<O> for InterpreterBackend<O> - mod: pub::types **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **vir_interpreter.rs** Add: - function: private::eval_comparison - function: private::eval_condition - function: private::eval_statement - function: private::eval_rule - function: private::eval_program - function: private::with_program - function: private::execute - function: private::test_execution - function: private::test_payment_type - function: private::test_mandate_type - function: private::test_mandate_acceptance_type - function: private::test_card_bin - function: private::test_payment_amount - function: private::test_payment_method - function: private::test_future_usage - function: private::test_metadata_execution - function: private::test_less_than_operator - function: private::test_greater_than_operator - struct: pub::VirInterpreterBackend - impl: impl VirInterpreterBackend<O> - impl: impl EuclidBackend<O> for VirInterpreterBackend<O> - mod: pub::types - mod: private::test **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **dssa.rs** Add: - mod: pub::analyzer - mod: pub::graph - mod: pub::state_machine - mod: pub::truth - mod: pub::types - mod: pub::utils **analyzer.rs** Add: - function: pub::analyze_conflicting_assertions - function: pub::analyze_exhaustive_negations - function: private::analyze_negated_assertions - function: private::perform_condition_analyses - function: private::perform_context_analyses - function: pub::analyze - function: private::test_conflicting_assertion_detection - function: private::test_exhaustive_negation_detection - function: private::test_negated_assertions_detection - function: private::test_negation_graph_analysis - mod: private::tests **graph.rs** Add: - function: private::from - function: private::get_id - function: private::with_id - function: pub::new - function: private::get_id - function: private::with_id - function: private::get_id - function: private::with_id - function: pub::new - function: private::default - function: private::deref - function: private::deref_mut - function: private::new - function: private::default - function: private::from - function: private::from - function: private::assertion_from_graph_error - function: private::negation_from_graph_error - function: private::get_analysis_trace - function: private::eq - function: pub::from_dir_values - function: private::check_presence - function: pub::insert - function: pub::remove - function: pub::new - function: pub::build - function: pub::make_domain - function: pub::make_value_node - function: pub::make_edge - function: pub::make_all_aggregator - function: pub::make_any_aggregator - function: pub::make_in_aggregator - function: private::ensure_node_exists - function: private::check_node - function: private::key_analysis - function: private::value_analysis - function: pub::check_value_validity - function: pub::key_value_analysis - function: private::assertion_analysis - function: private::negation_analysis - function: pub::perform_context_analysis - function: pub::combine - function: private::test_strong_positive_relation_success - function: private::test_strong_positive_relation_failure - function: private::test_strong_negative_relation_success - function: private::test_strong_negative_relation_failure - function: private::test_normal_one_of_failure - function: private::test_all_aggregator_success - function: private::test_all_aggregator_failure - function: private::test_all_aggregator_mandatory_failure - function: private::test_in_aggregator_success - function: private::test_in_aggregator_failure - function: private::test_not_in_aggregator_success - function: private::test_not_in_aggregator_failure - function: private::test_in_aggregator_failure_trace - function: private::_test_memoization_in_kgraph - struct: pub::NodeId - struct: pub::DomainInfo - struct: pub::DomainIdentifier - struct: pub::DomainId - struct: pub::EdgeId - struct: pub::Memoization - struct: pub::Edge - struct: pub::Node - struct: pub::KnowledgeGraph - struct: pub::KnowledgeGraphBuilder - struct: pub::AnalysisContext - enum: pub::Strength - enum: pub::Relation - enum: pub::NodeType - enum: pub::NodeValue - enum: pub::ValueTracePredecessor - enum: pub::AnalysisTrace - enum: pub::AnalysisError - enum: pub::GraphError - trait: pub::KgraphMetadata - impl: impl From<Relation> for bool - impl: impl utils::EntityId for NodeId - impl: impl DomainIdentifier<'a> - impl: impl utils::EntityId for DomainId - impl: impl utils::EntityId for EdgeId - impl: impl Memoization - impl: impl Default for Memoization - impl: impl Deref for Memoization - impl: impl DerefMut for Memoization - impl: impl Node - impl: impl KgraphMetadata for M - impl: impl Default for KnowledgeGraphBuilder<'a> - impl: impl From<dir::DirValue> for NodeValue - impl: impl From<dir::DirKey> for NodeValue - impl: impl AnalysisError - impl: impl GraphError - impl: impl PartialEq<dir::DirValue> for NodeValue - impl: impl AnalysisContext - impl: impl KnowledgeGraphBuilder<'a> - impl: impl KnowledgeGraph<'a> - mod: private::test **state_machine.rs** Add: - function: private::is_finished - function: private::advance - function: private::reset - function: private::put - function: private::push - function: private::new - function: private::init - function: private::destroy - function: private::is_finished - function: private::get_next_ctx_idx - function: private::advance - function: private::new - function: private::init - function: private::is_finished - function: private::is_condition_machine_finished - function: private::destroy - function: private::advance_condition_machine - function: private::advance - function: private::new - function: private::is_finished - function: private::init_next - function: private::advance - function: pub::new - function: pub::advance - function: pub::advance_mut - function: pub::new - function: pub::is_finished - function: pub::init - function: pub::advance - function: pub::new - function: pub::advance - function: pub::make_connector_selection_data - function: private::test_correct_contexts - struct: private::ComparisonStateMachine - struct: private::ConditionStateMachine - struct: private::IfStmtStateMachine - struct: private::RuleStateMachine - struct: pub::RuleContextManager - struct: pub::ProgramStateMachine - struct: pub::AnalysisContextManager - enum: pub::StateMachineError - impl: impl ComparisonStateMachine<'a> - impl: impl ConditionStateMachine<'a> - impl: impl IfStmtStateMachine<'a> - impl: impl RuleStateMachine<'a> - impl: impl RuleContextManager<'a> - impl: impl ProgramStateMachine<'a> - impl: impl AnalysisContextManager<'a> - mod: private::tests **truth.rs** Modify existing code **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **utils.rs** Add: - struct: pub::Unpacker **enums.rs** Add: - enum: pub::RoutingAlgorithmKind **frontend.rs** Add: - mod: pub::ast - mod: pub::dir - mod: pub::vir **ast.rs** Add: - function: pub::get_type - struct: pub::ConnectorChoice - struct: pub::MetadataValue - struct: pub::NumberComparison - struct: pub::Comparison - struct: pub::IfStatement - struct: pub::Rule - struct: pub::Program - enum: pub::ValueType - enum: pub::ComparisonType - impl: impl ValueType - mod: pub::lowering - mod: pub::parser **lowering.rs** Add: - function: private::lower_comparison_inner - function: private::lower_comparison - function: private::lower_if_statement - function: pub::lower_rule - function: pub::lower_program **parser.rs** Add: - function: private::parse_output - function: pub::skip_ws - function: pub::num_i64 - function: pub::string_str - function: pub::identifier - function: pub::percentage - function: pub::number_value - function: pub::str_value - function: pub::enum_value_string - function: pub::enum_variant_value - function: pub::number_array_value - function: pub::enum_variant_array_value - function: pub::number_comparison - function: pub::number_comparison_array_value - function: pub::value_type - function: pub::comparison_type - function: pub::comparison - function: pub::arbitrary_comparison - function: pub::comparison_array - function: pub::if_statement - function: pub::rule_conditions_array - function: pub::rule - function: pub::output - function: pub::default_output - function: pub::program - enum: pub::EuclidError - trait: pub::EuclidParsable - impl: impl EuclidParsable for DummyOutput **dir.rs** Add: - function: pub::new - function: private::get_allowed_keys - function: private::is_key_allowed - function: pub::get_type - function: pub::get_value_set - function: pub::get_key - function: pub::get_metadata_val - function: pub::get_str_val - function: pub::get_num_value - function: pub::check_equality - function: private::test_consistent_dir_key_naming - function: private::test_allowed_dir_keys - function: private::test_not_allowed_dir_keys - struct: pub::DirKey - struct: pub::DirComparison - struct: pub::DirIfStatement - struct: pub::DirRule - struct: pub::DirProgram - enum: pub::DirKeyKind - enum: pub::DirValue - enum: pub::DirComparisonLogic - trait: pub::EuclidDirFilter - impl: impl DirKey - impl: impl DirKeyKind - impl: impl DirValue - mod: pub::enums - mod: pub::lowering - mod: pub::transformers - mod: private::test **enums.rs** Add: - enum: pub::RoutingAlgorithmKind **lowering.rs** Add: - function: private::lower_comparison_inner - function: private::lower_comparison - function: private::lower_if_statement - function: pub::lower_rule - function: pub::lower_program **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **vir.rs** Add: - struct: pub::ValuedComparison - struct: pub::ValuedIfStatement - struct: pub::ValuedRule - struct: pub::ValuedProgram - enum: pub::ValuedComparisonLogic **lib.rs** Add: - mod: pub::routing **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **utils.rs** Add: - struct: pub::Unpacker **dense_map.rs** Add: - function: pub::new - function: private::default - function: pub::push - function: pub::get - function: pub::get_mut - function: pub::contains_key - function: pub::keys - function: pub::into_keys - function: pub::values - function: pub::values_mut - function: pub::into_values - function: pub::iter - function: pub::iter_mut - function: private::fmt - function: private::new - function: private::next - function: private::new - function: private::next - function: private::new - function: private::next - function: private::new - function: private::next - function: private::into_iter - function: private::from_iter - struct: pub::DenseMap - struct: pub::Keys - struct: pub::Iter - struct: pub::IterMut - struct: pub::IntoIter - trait: pub::EntityId - impl: impl DenseMap<K, V> - impl: impl Default for DenseMap<K, V> - impl: impl DenseMap<K, V> - impl: impl fmt::Debug for DenseMap<K, V> - impl: impl Keys<K> - impl: impl Iterator for Keys<K> - impl: impl Iter<'a, K, V> - impl: impl Iterator for Iter<'a, K, V> - impl: impl IterMut<'a, K, V> - impl: impl Iterator for IterMut<'a, K, V> - impl: impl IntoIter<K, V> - impl: impl Iterator for IntoIter<K, V> - impl: impl IntoIterator for DenseMap<K, V> - impl: impl FromIterator<V> for DenseMap<K, V> **inner.rs** Add: - mod: private::enum_nums - mod: private::knowledge **enum_nums.rs** Add: - function: private::error - function: pub::enum_nums_inner **knowledge.rs** Add: - function: private::to_string - function: private::parse - function: private::to_string - function: private::parse - function: private::to_string - function: private::parse - function: private::parse - function: private::parse_atom_type_inner - function: private::parse - function: private::parse_rhs_atom - function: private::parse - function: private::parse - function: private::to_string - function: private::parse - function: private::new - function: private::register_node - function: private::register_edge - function: private::register_rule - function: private::cycle_dfs - function: private::detect_graph_cycles - function: private::next_node_ident - function: private::compile_atom - function: private::compile_atom_type - function: private::compile_rule - function: private::compile - function: pub::knowledge_inner - struct: private::Atom - struct: private::Rule - struct: private::Program - struct: private::GenContext - enum: private::Comparison - enum: private::ValueType - enum: private::Strength - enum: private::Relation - enum: private::AtomType - enum: private::Scope - impl: impl ToString for Comparison - impl: impl Parse for Comparison - impl: impl ValueType - impl: impl Parse for ValueType - impl: impl ToString for Atom - impl: impl Parse for Atom - impl: impl Parse for Strength - impl: impl Parse for AtomType - impl: impl Parse for Rule - impl: impl Parse for Scope - impl: impl ToString for Scope - impl: impl Parse for Program - impl: impl GenContext - mod: private::strength - mod: private::kw **lib.rs** Add: - mod: pub::routing **lib.rs** Add: - mod: pub::routing **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **utils.rs** Add: - struct: pub::Unpacker **evaluation.rs** Add: - function: private::build_test_data - function: private::evaluation **error.rs** Add: - enum: pub::KgraphError **lib.rs** Add: - mod: pub::routing **mca.rs** Add: - function: private::compile_request_pm_types - function: private::compile_payment_method_enabled - function: private::compile_merchant_connector_graph - function: pub::make_mca_graph - function: private::build_test_data - function: private::test_credit_card_success_case - function: private::test_debit_card_success_case - function: private::test_single_mismatch_failure_case - function: private::test_amount_mismatch_failure_case - function: private::test_incomplete_data_failure_case - function: private::test_incomplete_data_failure_case2 - function: private::test_sandbox_applepay_bug_usecase - mod: private::tests **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **payment_intents.rs** Modify existing code **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **setup_intents.rs** Modify existing code **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context **consts.rs** Modify existing code **core.rs** Add: - mod: pub::routing **admin.rs** Remove: - function: private::from - function: private::from - enum: pub::RoutingAlgorithm - enum: pub::RoutableConnectorChoice - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde **errors.rs** Add: - enum: pub::RoutingError **cards.rs** Modify existing code **payments.rs** Add: - function: pub::get_connector_data - function: pub::connector_selection - function: pub::should_add_task_to_process_tracker - mod: pub::routing **routing.rs** Add: - function: pub::get_connector_list - function: private::get_dir_value_for_analysis - function: private::to_string - function: private::eq - function: private::from - function: private::from - function: private::from - function: pub::get_connector_label - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: pub::get_kind - function: pub::update_algorithm_id - function: pub::update_conditional_config_id - function: pub::update_surcharge_config_id - struct: pub::RoutingConfigRequest - struct: pub::RoutingRetrieveQuery - struct: pub::RoutingRetrieveLinkQuery - struct: pub::RoutingRetrieveResponse - struct: pub::MerchantRoutingAlgorithm - struct: pub::ConnectorVolumeSplit - struct: pub::RoutableConnectorChoice - struct: pub::DetailedConnectorChoice - struct: pub::RoutingAlgorithmRef - struct: pub::RoutingDictionaryRecord - struct: pub::RoutingDictionary - enum: pub::ConnectorSelection - enum: pub::LinkedRoutingConfigRetrieveResponse - enum: pub::RoutableChoiceKind - enum: pub::RoutableChoiceSerde - enum: pub::RoutingAlgorithmKind - enum: pub::RoutingAlgorithm - enum: pub::RoutingAlgorithmSerde - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - enum: pub::RoutingKind - impl: impl ConnectorSelection - impl: impl EuclidDirFilter for ConnectorSelection - impl: impl EuclidAnalysable for ConnectorSelection - impl: impl ToString for RoutableConnectorChoice - impl: impl PartialEq for RoutableConnectorChoice - impl: impl Eq for RoutableConnectorChoice - impl: impl From<RoutableChoiceSerde> for RoutableConnectorChoice - impl: impl From<RoutableConnectorChoice> for RoutableChoiceSerde - impl: impl From<RoutableConnectorChoice> for ast::ConnectorChoice - impl: impl DetailedConnectorChoice - impl: impl TryFrom<RoutingAlgorithmSerde> for RoutingAlgorithm - impl: impl TryFrom<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithm> for RoutingAlgorithm - impl: impl RoutingAlgorithm - impl: impl RoutingAlgorithmRef **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **routing.rs** Add: - function: pub::get_connector_list - function: private::get_dir_value_for_analysis - function: private::to_string - function: private::eq - function: private::from - function: private::from - function: private::from - function: pub::get_connector_label - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: pub::get_kind - function: pub::update_algorithm_id - function: pub::update_conditional_config_id - function: pub::update_surcharge_config_id - struct: pub::RoutingConfigRequest - struct: pub::RoutingRetrieveQuery - struct: pub::RoutingRetrieveLinkQuery - struct: pub::RoutingRetrieveResponse - struct: pub::MerchantRoutingAlgorithm - struct: pub::ConnectorVolumeSplit - struct: pub::RoutableConnectorChoice - struct: pub::DetailedConnectorChoice - struct: pub::RoutingAlgorithmRef - struct: pub::RoutingDictionaryRecord - struct: pub::RoutingDictionary - enum: pub::ConnectorSelection - enum: pub::LinkedRoutingConfigRetrieveResponse - enum: pub::RoutableChoiceKind - enum: pub::RoutableChoiceSerde - enum: pub::RoutingAlgorithmKind - enum: pub::RoutingAlgorithm - enum: pub::RoutingAlgorithmSerde - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - enum: pub::RoutingKind - impl: impl ConnectorSelection - impl: impl EuclidDirFilter for ConnectorSelection - impl: impl EuclidAnalysable for ConnectorSelection - impl: impl ToString for RoutableConnectorChoice - impl: impl PartialEq for RoutableConnectorChoice - impl: impl Eq for RoutableConnectorChoice - impl: impl From<RoutableChoiceSerde> for RoutableConnectorChoice - impl: impl From<RoutableConnectorChoice> for RoutableChoiceSerde - impl: impl From<RoutableConnectorChoice> for ast::ConnectorChoice - impl: impl DetailedConnectorChoice - impl: impl TryFrom<RoutingAlgorithmSerde> for RoutingAlgorithm - impl: impl TryFrom<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithm> for RoutingAlgorithm - impl: impl RoutingAlgorithm - impl: impl RoutingAlgorithmRef **helpers.rs** Add: - function: pub::get_merchant_routing_dictionary - function: pub::get_merchant_default_config - function: pub::update_merchant_default_config - function: pub::update_merchant_routing_dictionary - function: pub::update_routing_algorithm - function: pub::update_merchant_active_algorithm_ref - function: pub::update_business_profile_active_algorithm_ref - function: pub::get_merchant_connector_agnostic_mandate_config - function: pub::update_merchant_connector_agnostic_mandate_config - function: pub::validate_connectors_in_routing_config - function: pub::get_routing_dictionary_key - function: pub::get_pg_agnostic_mandate_config_key - function: pub::get_default_config_key - function: pub::get_payment_config_routing_id - function: pub::get_payment_method_surcharge_routing_id **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **webhooks.rs** Modify existing code **db.rs** Add: - mod: pub::routing_algorithm **routing_algorithm.rs** Add: - function: pub::insert - function: pub::find_by_algorithm_id_merchant_id - function: pub::find_by_algorithm_id_profile_id - function: pub::find_metadata_by_algorithm_id_profile_id - function: pub::list_metadata_by_profile_id - function: pub::list_metadata_by_merchant_id - impl: impl RoutingAlgorithm **lib.rs** Add: - mod: pub::routing **routes.rs** Add: - mod: pub::routing **app.rs** Add: - function: pub::server - struct: pub::Routing - impl: impl Routing **lock_utils.rs** Modify existing code **payments.rs** Add: - function: pub::get_connector_data - function: pub::connector_selection - function: pub::should_add_task_to_process_tracker - mod: pub::routing **routing.rs** Add: - function: pub::get_connector_list - function: private::get_dir_value_for_analysis - function: private::to_string - function: private::eq - function: private::from - function: private::from - function: private::from - function: pub::get_connector_label - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: pub::get_kind - function: pub::update_algorithm_id - function: pub::update_conditional_config_id - function: pub::update_surcharge_config_id - struct: pub::RoutingConfigRequest - struct: pub::RoutingRetrieveQuery - struct: pub::RoutingRetrieveLinkQuery - struct: pub::RoutingRetrieveResponse - struct: pub::MerchantRoutingAlgorithm - struct: pub::ConnectorVolumeSplit - struct: pub::RoutableConnectorChoice - struct: pub::DetailedConnectorChoice - struct: pub::RoutingAlgorithmRef - struct: pub::RoutingDictionaryRecord - struct: pub::RoutingDictionary - enum: pub::ConnectorSelection - enum: pub::LinkedRoutingConfigRetrieveResponse - enum: pub::RoutableChoiceKind - enum: pub::RoutableChoiceSerde - enum: pub::RoutingAlgorithmKind - enum: pub::RoutingAlgorithm - enum: pub::RoutingAlgorithmSerde - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - enum: pub::RoutingKind - impl: impl ConnectorSelection - impl: impl EuclidDirFilter for ConnectorSelection - impl: impl EuclidAnalysable for ConnectorSelection - impl: impl ToString for RoutableConnectorChoice - impl: impl PartialEq for RoutableConnectorChoice - impl: impl Eq for RoutableConnectorChoice - impl: impl From<RoutableChoiceSerde> for RoutableConnectorChoice - impl: impl From<RoutableConnectorChoice> for RoutableChoiceSerde - impl: impl From<RoutableConnectorChoice> for ast::ConnectorChoice - impl: impl DetailedConnectorChoice - impl: impl TryFrom<RoutingAlgorithmSerde> for RoutingAlgorithm - impl: impl TryFrom<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithm> for RoutingAlgorithm - impl: impl RoutingAlgorithm - impl: impl RoutingAlgorithmRef **api.rs** Remove: - function: pub::is_single - enum: pub::ConnectorCallType - impl: impl ConnectorCallType Add: - enum: pub::ConnectorCallType - mod: pub::routing **admin.rs** Remove: - function: private::from - function: private::from - enum: pub::RoutingAlgorithm - enum: pub::RoutableConnectorChoice - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde **routing.rs** Add: - function: pub::get_connector_list - function: private::get_dir_value_for_analysis - function: private::to_string - function: private::eq - function: private::from - function: private::from - function: private::from - function: pub::get_connector_label - function: private::try_from - function: private::try_from - function: private::from - function: private::from - function: pub::get_kind - function: pub::update_algorithm_id - function: pub::update_conditional_config_id - function: pub::update_surcharge_config_id - struct: pub::RoutingConfigRequest - struct: pub::RoutingRetrieveQuery - struct: pub::RoutingRetrieveLinkQuery - struct: pub::RoutingRetrieveResponse - struct: pub::MerchantRoutingAlgorithm - struct: pub::ConnectorVolumeSplit - struct: pub::RoutableConnectorChoice - struct: pub::DetailedConnectorChoice - struct: pub::RoutingAlgorithmRef - struct: pub::RoutingDictionaryRecord - struct: pub::RoutingDictionary - enum: pub::ConnectorSelection - enum: pub::LinkedRoutingConfigRetrieveResponse - enum: pub::RoutableChoiceKind - enum: pub::RoutableChoiceSerde - enum: pub::RoutingAlgorithmKind - enum: pub::RoutingAlgorithm - enum: pub::RoutingAlgorithmSerde - enum: pub::StraightThroughAlgorithm - enum: pub::StraightThroughAlgorithmInner - enum: pub::StraightThroughAlgorithmSerde - enum: pub::RoutingKind - impl: impl ConnectorSelection - impl: impl EuclidDirFilter for ConnectorSelection - impl: impl EuclidAnalysable for ConnectorSelection - impl: impl ToString for RoutableConnectorChoice - impl: impl PartialEq for RoutableConnectorChoice - impl: impl Eq for RoutableConnectorChoice - impl: impl From<RoutableChoiceSerde> for RoutableConnectorChoice - impl: impl From<RoutableConnectorChoice> for RoutableChoiceSerde - impl: impl From<RoutableConnectorChoice> for ast::ConnectorChoice - impl: impl DetailedConnectorChoice - impl: impl TryFrom<RoutingAlgorithmSerde> for RoutingAlgorithm - impl: impl TryFrom<StraightThroughAlgorithmSerde> for StraightThroughAlgorithm - impl: impl From<StraightThroughAlgorithm> for StraightThroughAlgorithmSerde - impl: impl From<StraightThroughAlgorithm> for RoutingAlgorithm - impl: impl RoutingAlgorithm - impl: impl RoutingAlgorithmRef **storage.rs** Add: - function: private::from - function: private::from - struct: pub::PaymentRoutingInfo - struct: pub::PaymentRoutingInfoInner - enum: pub::PaymentRoutingInfoSerde - impl: impl From<PaymentRoutingInfoSerde> for PaymentRoutingInfo - impl: impl From<PaymentRoutingInfo> for PaymentRoutingInfoSerde - mod: pub::routing_algorithm **routing_algorithm.rs** Add: - function: pub::insert - function: pub::find_by_algorithm_id_merchant_id - function: pub::find_by_algorithm_id_profile_id - function: pub::find_metadata_by_algorithm_id_profile_id - function: pub::list_metadata_by_profile_id - function: pub::list_metadata_by_merchant_id - impl: impl RoutingAlgorithm **transformers.rs** Add: - function: private::into_dir_value - trait: pub::IntoDirValue - impl: impl IntoDirValue for (global_enums::PaymentMethodType, global_enums::PaymentMethod) **payment_sync.rs** Modify existing code **payments.rs** Add: - function: pub::get_connector_data - function: pub::connector_selection - function: pub::should_add_task_to_process_tracker - mod: pub::routing **payments2.rs** Modify existing code **types.rs** Add: - function: private::fmt - function: private::deref - function: private::from - struct: pub::InterpreterError - struct: pub::Context - enum: pub::InterpreterErrorType - impl: impl fmt::Display for InterpreterError - impl: impl Deref for Context - impl: impl From<inputs::BackendInput> for Context
feat(router): dynamically toggle KV for merchant and refactoring around it (#79)
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **flows.rs** Modify existing code **authorize_flow.rs** Modify existing code **cancel_flow.rs** Modify existing code **capture_flow.rs** Modify existing code **psync_flow.rs** Modify existing code **verfiy_flow.rs** Modify existing code **helpers.rs** Modify existing code **operations.rs** Add: - struct: pub::ValidateResult **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **refunds.rs** Modify existing code **validator.rs** Modify existing code **address.rs** Modify existing code **connector_response.rs** Modify existing code **merchant_account.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **refund.rs** Modify existing code **lib.rs** Modify existing code **schema.rs** Modify existing code **api.rs** Modify existing code **enums.rs** Add: - enum: pub::MerchantStorageScheme **merchant_account.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code
refactor: use hashmap deserializer for generic_link options (#5157) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Modify existing code **payouts.rs** Modify existing code **link_utils.rs** Remove: - struct: pub::GenericLinkUIConfigFormData Add: - struct: pub::GenericLinkUiConfigFormData **serde.rs** Add: - impl: impl SerializableSecret for url::Url **settings.rs** Add: - function: private::default - function: private::default - function: private::deserialize_hashmap_inner - function: private::deserialize_hashmap - function: private::test_payment_method_and_payment_method_types - function: private::test_payment_method_and_payment_method_types_with_spaces - function: private::test_payment_method_deserializer_error - impl: impl Default for GenericLinkEnvConfig - impl: impl Default for GenericLinkEnvUiConfig - mod: private::hashmap_deserialization_test **validations.rs** Modify existing code **payment_methods.rs** Modify existing code **validator.rs** Modify existing code **payout_link.rs** Modify existing code **payouts.rs** Modify existing code **validator.rs** Modify existing code **app.rs** Modify existing code
feat(connector): add payouts integration for AdyenPlatform (#4874) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **payouts.rs** Modify existing code **enums.rs** Modify existing code **common_config.rs** Modify existing code **connector.rs** Modify existing code **response_modifier.rs** Modify existing code **transformer.rs** Modify existing code **payouts.rs** Modify existing code **schema.rs** Modify existing code **payouts.rs** Modify existing code **router_request_types.rs** Modify existing code **openapi.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Modify existing code **transformers.rs** Modify existing code **adyenplatform.rs** Add: - function: private::id - function: private::get_auth_header - function: private::base_url - function: private::build_error_response - function: private::get_url - function: private::get_headers - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Adyenplatform - impl: impl ConnectorCommon for Adyenplatform - impl: impl api::Payment for Adyenplatform - impl: impl api::PaymentAuthorize for Adyenplatform - impl: impl api::PaymentSync for Adyenplatform - impl: impl api::PaymentVoid for Adyenplatform - impl: impl api::PaymentCapture for Adyenplatform - impl: impl api::MandateSetup for Adyenplatform - impl: impl api::ConnectorAccessToken for Adyenplatform - impl: impl api::PaymentToken for Adyenplatform - impl: impl ConnectorValidation for Adyenplatform - impl: impl services::ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Adyenplatform - impl: impl api::PaymentSession for Adyenplatform - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessionData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Adyenplatform - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::Void, types::PaymentsCancelData, types::PaymentsResponseData, > for Adyenplatform - impl: impl api::Payouts for Adyenplatform - impl: impl api::PayoutFulfill for Adyenplatform - impl: impl services::ConnectorIntegration<api::PoFulfill, types::PayoutsData, types::PayoutsResponseData> for Adyenplatform - impl: impl api::Refund for Adyenplatform - impl: impl api::RefundExecute for Adyenplatform - impl: impl api::RefundSync for Adyenplatform - impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Adyenplatform - impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Adyenplatform - impl: impl api::IncomingWebhook for Adyenplatform - mod: pub::transformers **transformers.rs** Modify existing code **payouts.rs** Modify existing code **connect.rs** Modify existing code **transformers.rs** Modify existing code **admin.rs** Modify existing code **flows.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **utils.rs** Modify existing code **payout.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Modify existing code **adyenplatform.rs** Add: - function: private::id - function: private::get_auth_header - function: private::base_url - function: private::build_error_response - function: private::get_url - function: private::get_headers - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Adyenplatform - impl: impl ConnectorCommon for Adyenplatform - impl: impl api::Payment for Adyenplatform - impl: impl api::PaymentAuthorize for Adyenplatform - impl: impl api::PaymentSync for Adyenplatform - impl: impl api::PaymentVoid for Adyenplatform - impl: impl api::PaymentCapture for Adyenplatform - impl: impl api::MandateSetup for Adyenplatform - impl: impl api::ConnectorAccessToken for Adyenplatform - impl: impl api::PaymentToken for Adyenplatform - impl: impl ConnectorValidation for Adyenplatform - impl: impl services::ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Adyenplatform - impl: impl api::PaymentSession for Adyenplatform - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessionData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Adyenplatform - impl: impl services::ConnectorIntegration< api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Adyenplatform - impl: impl services::ConnectorIntegration< api::Void, types::PaymentsCancelData, types::PaymentsResponseData, > for Adyenplatform - impl: impl api::Payouts for Adyenplatform - impl: impl api::PayoutFulfill for Adyenplatform - impl: impl services::ConnectorIntegration<api::PoFulfill, types::PayoutsData, types::PayoutsResponseData> for Adyenplatform - impl: impl api::Refund for Adyenplatform - impl: impl api::RefundExecute for Adyenplatform - impl: impl api::RefundSync for Adyenplatform - impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Adyenplatform - impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Adyenplatform - impl: impl api::IncomingWebhook for Adyenplatform - mod: pub::transformers **main.rs** Add: - mod: private::adyenplatform **utils.rs** Modify existing code **payouts.rs** Modify existing code **connector_auth.rs** Modify existing code
feat(router): add payment method display name to feature matrix response (#7639) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **feature_matrix.rs** Modify existing code **enums.rs** Add: - function: pub::to_display_name **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **feature_matrix.rs** Modify existing code
feat(core): add subscription table (#9133) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **lib.rs** Add: - mod: pub::subscription **query.rs** Add: - mod: pub::subscription **subscription.rs** Add: - function: pub::insert - function: pub::find_by_merchant_id_subscription_id - function: pub::update_subscription_entry - impl: impl SubscriptionNew - impl: impl Subscription **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **subscription.rs** Add: - function: pub::insert - function: pub::find_by_merchant_id_subscription_id - function: pub::update_subscription_entry - impl: impl SubscriptionNew - impl: impl Subscription **db.rs** Add: - mod: pub::subscription **subscription.rs** Add: - function: pub::insert - function: pub::find_by_merchant_id_subscription_id - function: pub::update_subscription_entry - impl: impl SubscriptionNew - impl: impl Subscription **storage.rs** Add: - mod: pub::subscription **subscription.rs** Add: - function: pub::insert - function: pub::find_by_merchant_id_subscription_id - function: pub::update_subscription_entry - impl: impl SubscriptionNew - impl: impl Subscription
feat(payment_methods): delete payment method using payment token (#258) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **payment_methods.rs** Modify existing code **cards.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **utils.rs** Modify existing code **locker_mock_up.rs** Modify existing code **schema.rs** Modify existing code
refactor(router): return generic message for UnprocessableEntity in make_pm_data (#2050)
Files to modify: **cards.rs** Modify existing code **helpers.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **payment_methods.rs** Modify existing code
feat(connector): [TRUSTPAY] Added Integrity Checks for PSync & RSync flows & Added New Variants in AttemptStatus & IntentStatus (#8096) Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sahkal Poddar <sahkalplanet@gmail.com>
Files to modify: **enums.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **trustpay.rs** Modify existing code **utils.rs** Modify existing code **router_data.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_attempt_record.rs** Modify existing code **payment_capture_v2.rs** Modify existing code **payment_confirm_intent.rs** Modify existing code **payment_get.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session_intent.rs** Modify existing code **payment_update_intent.rs** Modify existing code **proxy_payments_intent.rs** Modify existing code **payment_methods.rs** Modify existing code **retry.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code
fix(connector): [Forte] Response Handling for Verify Action (#2601) Co-authored-by: Prasunna Soppa <70575890+prasunna09@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code
feat(connector): [Tsys] Add cards for Payments and Refunds flow (#1716) Co-authored-by: Prasunna Soppa <prasunna.soppa@juspay.in>
Files to modify: **enums.rs** Modify existing code **tsys.rs** Modify existing code **transformers.rs** Remove: - struct: pub::TsysPaymentsRequest Add: - function: private::try_from - function: private::from - struct: pub::TsysCaptureRequest - struct: pub::TsysPaymentsCaptureRequest - struct: pub::TsysReturnRequest - enum: pub::TsysPaymentsRequest - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for TsysPaymentsCaptureRequest **api.rs** Modify existing code **tsys.rs** Modify existing code **connector_auth.rs** Modify existing code
feat(payment_link): expose configurations for payment links (#7742) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **ui.rs** Add: - enum: pub::PaymentLinkSdkLabelType - enum: pub::PaymentLinkShowSdkTerms **business_profile.rs** Modify existing code **payment_intent.rs** Modify existing code **lib.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **payment_link.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Modify existing code **transformers.rs** Modify existing code
refactor(router): add camel_case for the applepay request (#2172)
Files to modify: **verifications.rs** Modify existing code **verification.rs** Modify existing code
refactor(core): move update trackers after build request (#1472)
Files to modify: **airwallex.rs** Modify existing code **nuvei.rs** Modify existing code **shift4.rs** Modify existing code **disputes.rs** Modify existing code **helpers.rs** Modify existing code **payments.rs** Modify existing code **access_token.rs** Modify existing code **customers.rs** Modify existing code **flows.rs** Modify existing code **authorize_flow.rs** Remove: - enum: pub::Action **cancel_flow.rs** Modify existing code **capture_flow.rs** Modify existing code **complete_authorize_flow.rs** Modify existing code **psync_flow.rs** Modify existing code **session_flow.rs** Modify existing code **verify_flow.rs** Add: - function: private::build_flow_specific_connector_request **operations.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **tokenization.rs** Modify existing code **refunds.rs** Modify existing code **api.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Modify existing code
feat(router): add requeue support for payments and fix duplicate entry error in process tracker for requeued payments (#1567)
Files to modify: **enums.rs** Add: - enum: pub::RetryAction **payments.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **openapi.rs** Modify existing code **metrics.rs** Modify existing code **process_tracker.rs** Add: - function: private::reset
revert(order_details): revert back `order_details` to be an object, and removing `meta_data` from `PaymentIntent` (#1279)
Files to modify: **payments.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **payment_create.rs** Modify existing code **payment_session.rs** Modify existing code **transformers.rs** Modify existing code **payment_intent.rs** Modify existing code **types.rs** Modify existing code **zen.rs** Modify existing code **payment_intent.rs** Modify existing code **schema.rs** Modify existing code
refactor(connector): move AuthorizeSessionToken flow to core from execute_pretasks for nuvei and square (#4854)
Files to modify: **nuvei.rs** Remove: - impl: impl ConnectorIntegration<InitPayment, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Nuvei Add: - impl: impl api::PaymentAuthorizeSessionToken for Nuvei - impl: impl ConnectorIntegration< api::InitPayment, types::PaymentsAuthorizeData, types::PaymentsResponseData, > for Nuvei **square.rs** Remove: - function: private::execute_pretasks Add: - impl: impl api::PaymentAuthorizeSessionToken for Square **payments.rs** Modify existing code **flows.rs** Add: - function: private::add_session_token - impl: impl api::PaymentAuthorizeSessionToken for connector::DummyConnector<T> - impl: impl services::ConnectorIntegration< api::AuthorizeSessionToken, types::AuthorizeSessionTokenData, types::PaymentsResponseData, > for connector::DummyConnector<T> **authorize_flow.rs** Add: - function: private::add_session_token **types.rs** Modify existing code **payments.rs** Modify existing code
feat(connector): [SQUARE] Implement webhooks (#1980)
Files to modify: **square.rs** Add: - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - function: private::get_webhook_source_verification_message **transformers.rs** Add: - function: private::from - struct: pub::SquareWebhookData - struct: pub::SquareWebhookBody - enum: pub::SquareWebhookObject - impl: impl From<SquareWebhookObject> for api::IncomingWebhookEvent **webhooks.rs** Modify existing code **webhooks.rs** Modify existing code
fix: use card bin to get additional card details (#3036) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Modify existing code **payments.rs** Add: - function: private::apply_additional_card_info - function: pub::apply_additional_payment_data - impl: impl Card **surcharge_decision_configs.rs** Modify existing code **payments.rs** Add: - function: private::apply_additional_card_info - function: pub::apply_additional_payment_data - impl: impl Card **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **types.rs** Modify existing code
feat: allow (de)serializing countries to/from alpha-2, alpha-3 and numeric country codes (#836) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Files to modify: **enums.rs** Add: - function: private::fmt - function: pub::from_alpha2 - function: pub::to_alpha2 - function: pub::from_alpha3 - function: pub::to_alpha3 - function: pub::from_numeric - function: pub::to_numeric - function: pub::serialize - function: private::expecting - function: pub::deserialize - function: pub::serialize - function: private::expecting - function: pub::deserialize - function: pub::serialize - function: private::expecting - function: pub::deserialize - function: private::test_serialize_alpha2 - function: private::test_serialize_alpha3 - function: private::test_serialize_numeric - function: private::test_deserialize_alpha2 - function: private::test_deserialize_alpha3 - function: private::test_deserialize_numeric - function: private::test_deserialize_and_serialize - function: private::test_serialize_and_deserialize - function: private::test_deserialize_invalid_country_code - struct: pub::NumericCountryCodeParseError - struct: private::FieldVisitor - struct: private::FieldVisitor - struct: private::FieldVisitor - struct: private::Alpha2Request - struct: private::Alpha3Request - struct: private::NumericRequest - struct: private::HyperswitchRequestAlpha2 - struct: private::HyperswitchRequestAlpha3 - struct: private::HyperswitchRequestNumeric - enum: pub::CountryAlpha2 - enum: pub::CountryAlpha3 - enum: pub::Country - impl: impl Display for NumericCountryCodeParseError - impl: impl Country - impl: impl Visitor<'de> for FieldVisitor - impl: impl Visitor<'de> for FieldVisitor - impl: impl Visitor<'de> for FieldVisitor - mod: private::custom_serde - mod: pub::alpha2_country_code - mod: pub::alpha3_country_code - mod: pub::numeric_country_code - mod: private::tests
refactor: get connection pool based on olap/oltp features (#743)
Files to modify: **connection.rs** Modify existing code **address.rs** Modify existing code **api_keys.rs** Modify existing code **configs.rs** Modify existing code **connector_response.rs** Modify existing code **customers.rs** Modify existing code **events.rs** Modify existing code **locker_mock_up.rs** Modify existing code **mandate.rs** Modify existing code **merchant_account.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_method.rs** Modify existing code **process_tracker.rs** Modify existing code **refund.rs** Modify existing code **reverse_lookup.rs** Modify existing code **payments.rs** Modify existing code
feat(connector): [Braintree] implement 3DS card payment for braintree (#2095)
Files to modify: **braintree.rs** Add: - function: private::get_flow_type - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::PaymentsCompleteAuthorize for Braintree - impl: impl services::ConnectorRedirectResponse for Braintree - impl: impl ConnectorIntegration< api::CompleteAuthorize, types::CompleteAuthorizeData, types::PaymentsResponseData, > for Braintree **braintree_graphql_transformers.rs** Add: - function: private::try_from - struct: pub::CardPaymentRequest - impl: impl TryFrom<&types::PaymentsCompleteAuthorizeRouterData> for BraintreePaymentsRequest **flows.rs** Modify existing code **api.rs** Modify existing code
feat(router): adding metrics for tracking behavior throughout the `router` crate (#768)
Files to modify: **api_keys.rs** Modify existing code **customers.rs** Modify existing code **mandate.rs** Modify existing code **cards.rs** Modify existing code **vault.rs** Modify existing code **access_token.rs** Modify existing code **authorize_flow.rs** Modify existing code **cancel_flow.rs** Modify existing code **session_flow.rs** Modify existing code **helpers.rs** Modify existing code **payment_response.rs** Modify existing code **refunds.rs** Modify existing code **admin.rs** Modify existing code **api_keys.rs** Modify existing code **configs.rs** Modify existing code **customers.rs** Modify existing code **ephemeral_key.rs** Modify existing code **mandates.rs** Modify existing code **metrics.rs** Add: - mod: pub::request - mod: pub::utils **request.rs** Add: - function: pub::record_request_time_metric - function: pub::record_card_operation_time - function: pub::add_attributes **utils.rs** Add: - function: pub::time_future **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **payouts.rs** Modify existing code **refunds.rs** Modify existing code **webhooks.rs** Modify existing code **api.rs** Modify existing code **types.rs** Modify existing code
feat(customers): add customer list endpoint (#2564) Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com>
Files to modify: **customers.rs** Add: - function: pub::list_by_merchant_id **errors.rs** Modify existing code **customers.rs** Add: - function: pub::list_by_merchant_id **customers_error_response.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Add: - function: pub::list_by_merchant_id **openapi.rs** Modify existing code **app.rs** Modify existing code **customers.rs** Add: - function: pub::list_by_merchant_id **lock_utils.rs** Modify existing code **types.rs** Modify existing code
feat(payment_methods_v2): Implemented Diesel and Domain models for v2 (#5700) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **kv.rs** Modify existing code **payment_method.rs** Add: - function: pub::get_id - function: pub::get_id - function: pub::create_payment_method - function: pub::apply_changeset - function: private::from - struct: pub::PaymentMethod - struct: pub::PaymentMethodNew - struct: pub::PaymentMethodUpdateInternal - impl: impl PaymentMethod - impl: impl PaymentMethodUpdateInternal - impl: impl From<PaymentMethodUpdate> for PaymentMethodUpdateInternal **payment_method.rs** Add: - function: pub::get_id - function: pub::get_id - function: pub::create_payment_method - function: pub::apply_changeset - function: private::from - struct: pub::PaymentMethod - struct: pub::PaymentMethodNew - struct: pub::PaymentMethodUpdateInternal - impl: impl PaymentMethod - impl: impl PaymentMethodUpdateInternal - impl: impl From<PaymentMethodUpdate> for PaymentMethodUpdateInternal **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **lib.rs** Add: - mod: pub::payment_methods **payment_methods.rs** Add: - function: pub::get_id - function: pub::get_id - function: private::convert - function: private::convert_back - function: private::construct_new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::PaymentMethod - struct: pub::PaymentMethod - impl: impl PaymentMethod - impl: impl super::behaviour::Conversion for PaymentMethod - impl: impl super::behaviour::Conversion for PaymentMethod **customers.rs** Modify existing code **locker_migration.rs** Modify existing code **helpers.rs** Modify existing code **payment_methods.rs** Add: - function: pub::get_id - function: pub::get_id - function: private::convert - function: private::convert_back - function: private::construct_new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::PaymentMethod - struct: pub::PaymentMethod - impl: impl PaymentMethod - impl: impl super::behaviour::Conversion for PaymentMethod - impl: impl super::behaviour::Conversion for PaymentMethod **cards.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_response.rs** Modify existing code **payment_status.rs** Modify existing code **tokenization.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **pm_auth.rs** Modify existing code **customers.rs** Modify existing code **kafka_store.rs** Add: - function: private::delete_payment_method **payment_method.rs** Add: - function: pub::get_id - function: pub::get_id - function: pub::create_payment_method - function: pub::apply_changeset - function: private::from - struct: pub::PaymentMethod - struct: pub::PaymentMethodNew - struct: pub::PaymentMethodUpdateInternal - impl: impl PaymentMethod - impl: impl PaymentMethodUpdateInternal - impl: impl From<PaymentMethodUpdate> for PaymentMethodUpdateInternal **mandates.rs** Add: - function: private::from_db_mandate - impl: impl MandateResponseExt for MandateResponse **domain.rs** Add: - mod: pub::payment_methods - mod: pub::consts **transformers.rs** Modify existing code **payment_method_status_update.rs** Modify existing code **lib.rs** Add: - mod: pub::payment_methods **kv_store.rs** Modify existing code
refactor(connector): convert init payment flow to preprocessing flow for nuvei (#4878)
Files to modify: **router_request_types.rs** Modify existing code **nuvei.rs** Remove: - function: private::execute_pretasks Add: - impl: impl api::PaymentsPreProcessing for Nuvei **transformers.rs** Add: - function: private::get_browser_info - function: private::get_related_transaction_id - function: private::get_email_required - function: private::get_setup_mandate_details - function: private::get_complete_authorize_url - function: private::get_connector_mandate_id - function: private::get_return_url_required - function: private::get_capture_method - function: private::get_amount_required - function: private::get_currency_required - function: private::get_payment_method_data_required - function: private::get_browser_info - function: private::get_related_transaction_id - function: private::get_email_required - function: private::get_setup_mandate_details - function: private::get_complete_authorize_url - function: private::get_connector_mandate_id - function: private::get_return_url_required - function: private::get_capture_method - function: private::get_amount_required - function: private::get_currency_required - function: private::get_payment_method_data_required - trait: private::NuveiAuthorizePreprocessingCommon - impl: impl NuveiAuthorizePreprocessingCommon for types::PaymentsAuthorizeData - impl: impl NuveiAuthorizePreprocessingCommon for types::PaymentsPreProcessingData - impl: impl TryFrom<types::PaymentsPreprocessingResponseRouterData<NuveiPaymentsResponse>> for impl<F, Req> TryFrom<&types::RouterData<F, Req, types::PaymentsResponseData>> **utils.rs** Add: - function: private::connector_mandate_id **payments.rs** Modify existing code **flows.rs** Modify existing code **authorize_flow.rs** Modify existing code **transformers.rs** Add: - function: private::get_browser_info - function: private::get_related_transaction_id - function: private::get_email_required - function: private::get_setup_mandate_details - function: private::get_complete_authorize_url - function: private::get_connector_mandate_id - function: private::get_return_url_required - function: private::get_capture_method - function: private::get_amount_required - function: private::get_currency_required - function: private::get_payment_method_data_required - function: private::get_browser_info - function: private::get_related_transaction_id - function: private::get_email_required - function: private::get_setup_mandate_details - function: private::get_complete_authorize_url - function: private::get_connector_mandate_id - function: private::get_return_url_required - function: private::get_capture_method - function: private::get_amount_required - function: private::get_currency_required - function: private::get_payment_method_data_required - trait: private::NuveiAuthorizePreprocessingCommon - impl: impl NuveiAuthorizePreprocessingCommon for types::PaymentsAuthorizeData - impl: impl NuveiAuthorizePreprocessingCommon for types::PaymentsPreProcessingData - impl: impl TryFrom<types::PaymentsPreprocessingResponseRouterData<NuveiPaymentsResponse>> for impl<F, Req> TryFrom<&types::RouterData<F, Req, types::PaymentsResponseData>> **types.rs** Modify existing code
refactor(conditional_configs): refactor conditional_configs to use Moka Cache instead of Static Cache (#4814) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **vir_interpreter.rs** Modify existing code **vir.rs** Modify existing code **types.rs** Modify existing code **conditional_config.rs** Modify existing code **surcharge_decision_configs.rs** Modify existing code **conditional_configs.rs** Remove: - function: pub::ensure_algorithm_cached **routing.rs** Modify existing code **routing.rs** Modify existing code **helpers.rs** Modify existing code **surcharge_decision_config.rs** Modify existing code **merchant_account.rs** Modify existing code **cache.rs** Modify existing code **pub_sub.rs** Modify existing code
feat(business_profile): introduce business profile v2 update endpoint (#5641)
Files to modify: **admin.rs** Add: - struct: pub::BusinessProfileUpdate **customers.rs** Modify existing code **business_profile.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **business_profile.rs** Modify existing code **admin.rs** Add: - struct: pub::BusinessProfileUpdate **customers.rs** Modify existing code **payouts.rs** Modify existing code **customers.rs** Modify existing code **kafka_store.rs** Modify existing code **admin.rs** Add: - struct: pub::BusinessProfileUpdate **app.rs** Modify existing code **admin.rs** Add: - struct: pub::BusinessProfileUpdate
feat(stripe): add setup intent in connector integration (stripe) (#50) Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **errors.rs** Modify existing code **aci.rs** Add: - impl: impl api::PreVerify for Aci - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Aci **adyen.rs** Add: - impl: impl api::PreVerify for Adyen - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Adyen **authorizedotnet.rs** Add: - impl: impl api::PreVerify for Authorizedotnet - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Authorizedotnet **braintree.rs** Add: - impl: impl api::PreVerify for Braintree - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Braintree **checkout.rs** Add: - impl: impl api::PreVerify for Checkout - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Checkout **stripe.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::PreVerify for Stripe - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Stripe **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::from - struct: pub::SetupIntentRequest - struct: pub::SetupIntentResponse - impl: impl TryFrom<&types::VerifyRouterData> for SetupIntentRequest - impl: impl TryFrom<types::ResponseRouterData<F, SetupIntentResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl From<(api::PaymentMethod, enums::AuthenticationType)> for StripePaymentMethodData **api_error_response.rs** Modify existing code **utils.rs** Modify existing code **flows.rs** Add: - mod: private::verfiy_flow **verfiy_flow.rs** Add: - function: private::construct_r_d - function: private::decide_flows - function: pub::decide_flow - function: private::generate_mandate - impl: impl ConstructFlowSpecificData<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for PaymentData<api::Verify> - impl: impl Feature<api::Verify, types::VerifyRequestData> for types::VerifyRouterData - impl: impl types::VerifyRouterData **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::from - struct: pub::SetupIntentRequest - struct: pub::SetupIntentResponse - impl: impl TryFrom<&types::VerifyRouterData> for SetupIntentRequest - impl: impl TryFrom<types::ResponseRouterData<F, SetupIntentResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl From<(api::PaymentMethod, enums::AuthenticationType)> for StripePaymentMethodData **types.rs** Modify existing code **payments.rs** Add: - struct: pub::Verify - trait: pub::PreVerify
refactor(connector): [Worldpayvantiv] refactor void flow and handle transaction status (#8540)
Files to modify: **worldpayvantiv.rs** Modify existing code **transformers.rs** Remove: - struct: pub::Void Add: - struct: pub::AuthReversal
feat(api): add browser information in payments response (#3963) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **payments.rs** Modify existing code **transformers.rs** Remove: - impl: impl ToResponse<Req, PaymentData<F>, Op> for payments_to_payments_response<R, Op, F: Clone>( payment_request: Option<R>, let output = Ok(match payment_request { Some(_request) => { if payments::is_start_pay(&operation) && payment_attempt.authentication_data.is_some() Add: - trait: pub::api **utils.rs** Modify existing code **payment_sync.rs** Modify existing code
refactor(payment_id): add payment id domain type (#5738) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **events.rs** Modify existing code **events.rs** Modify existing code **events.rs** Modify existing code **query.rs** Add: - function: private::to_sql - impl: impl ToSql<T> for &common_utils::id_type::PaymentId **events.rs** Modify existing code **api_event.rs** Modify existing code **outgoing_webhook_event.rs** Modify existing code **sdk_events.rs** Modify existing code **disputes.rs** Modify existing code **types.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **pm_auth.rs** Modify existing code **refunds.rs** Modify existing code **dashboard_metadata.rs** Modify existing code **webhooks.rs** Modify existing code **events.rs** Modify existing code **id_type.rs** Add: - mod: private::payment **payment.rs** Add: - function: pub::get_hash_key_for_kv_store - function: pub::get_irrelevant_id - function: pub::get_attempt_id - function: pub::generate_client_secret - function: pub::get_pm_auth_key - function: pub::get_external_authentication_request_poll_id - function: pub::generate_test_payment_id_for_sample_data - function: pub::wrap - function: private::from - impl: impl PaymentId - impl: impl From<PaymentId> for router_env::opentelemetry::Value **address.rs** Modify existing code **authentication.rs** Modify existing code **authorization.rs** Modify existing code **capture.rs** Modify existing code **dispute.rs** Modify existing code **events.rs** Modify existing code **fraud_check.rs** Modify existing code **mandate.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_link.rs** Modify existing code **address.rs** Modify existing code **authorization.rs** Modify existing code **capture.rs** Modify existing code **connector_response.rs** Modify existing code **dispute.rs** Modify existing code **fraud_check.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **refund.rs** Modify existing code **refund.rs** Modify existing code **sample_data.rs** Modify existing code **api_error_response.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **router_data.rs** Modify existing code **fraud_check.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **errors.rs** Modify existing code **payment_intents.rs** Modify existing code **types.rs** Modify existing code **refunds.rs** Modify existing code **types.rs** Modify existing code **setup_intents.rs** Modify existing code **types.rs** Modify existing code **webhooks.rs** Modify existing code **transformers.rs** Modify existing code **worldline.rs** Modify existing code **authentication.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **checkout_flow.rs** Modify existing code **fulfillment_flow.rs** Modify existing code **record_return.rs** Modify existing code **sale_flow.rs** Modify existing code **transaction_flow.rs** Modify existing code **fraud_check_post.rs** Modify existing code **fraud_check_pre.rs** Modify existing code **types.rs** Modify existing code **mandate.rs** Modify existing code **utils.rs** Modify existing code **payment_link.rs** Modify existing code **cards.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **access_token.rs** Modify existing code **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_approve.rs** Modify existing code **payment_cancel.rs** Modify existing code **payment_capture.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_reject.rs** Modify existing code **payment_response.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **payments_incremental_authorization.rs** Modify existing code **retry.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **helpers.rs** Modify existing code **retry.rs** Modify existing code **pm_auth.rs** Modify existing code **refunds.rs** Modify existing code **utils.rs** Modify existing code **incoming.rs** Modify existing code **utils.rs** Modify existing code **db.rs** Modify existing code **address.rs** Modify existing code **authorization.rs** Modify existing code **capture.rs** Modify existing code **dispute.rs** Modify existing code **events.rs** Modify existing code **fraud_check.rs** Modify existing code **kafka_store.rs** Modify existing code **refund.rs** Modify existing code **outgoing_webhook_logs.rs** Modify existing code **dummy_connector.rs** Modify existing code **consts.rs** Modify existing code **core.rs** Modify existing code **types.rs** Modify existing code **payment_link.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **conversion_impls.rs** Modify existing code **authentication.rs** Modify existing code **authentication_event.rs** Modify existing code **dispute.rs** Modify existing code **dispute_event.rs** Modify existing code **fraud_check.rs** Modify existing code **fraud_check_event.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_attempt_event.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_intent_event.rs** Modify existing code **refund.rs** Modify existing code **refund_event.rs** Modify existing code **types.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **verify_connector.rs** Modify existing code **address.rs** Modify existing code **fraud_check.rs** Modify existing code **payment_attempt.rs** Modify existing code **utils.rs** Modify existing code **sample_data.rs** Modify existing code **outgoing_webhook_retry.rs** Modify existing code **payments.rs** Remove: - function: pub::and_then - impl: impl PaymentIdType Add: - function: pub::get_client_secret - impl: impl ClientSecret **payments2.rs** Modify existing code **refunds.rs** Modify existing code **utils.rs** Modify existing code **lib.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **kv_store.rs** Modify existing code
feat(connector): [Novalnet] Integrate Applepay wallet token flow (#6409)
Files to modify: **novalnet.rs** Modify existing code **transformers.rs** Add: - struct: pub::NovalnetApplePay
feat(users): Role info api with parent tags (#5536)
Files to modify: **user_role.rs** Add: - struct: pub::ParentInfo - enum: pub::ParentGroup **user_role.rs** Add: - struct: pub::ParentInfo - enum: pub::ParentGroup **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user_role.rs** Add: - struct: pub::ParentInfo - enum: pub::ParentGroup **info.rs** Add: - function: pub::get_parent_name - function: pub::get_parent_group_description **types.rs** Modify existing code
fix(payment_methods): delete token when a payment reaches terminal state (#1818)
Files to modify: **cards.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_methods.rs** Add: - function: pub::create_key_for_token - function: pub::insert - function: pub::should_delete_payment_method_token - function: pub::delete - struct: pub::ParentPaymentMethodToken - impl: impl ParentPaymentMethodToken
feat(connector): [INESPAY] add Connector Template Code (#6614) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **connectors.rs** Add: - mod: pub::inespay **inespay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Inespay - impl: impl Inespay - impl: impl api::Payment for Inespay - impl: impl api::PaymentSession for Inespay - impl: impl api::ConnectorAccessToken for Inespay - impl: impl api::MandateSetup for Inespay - impl: impl api::PaymentAuthorize for Inespay - impl: impl api::PaymentSync for Inespay - impl: impl api::PaymentCapture for Inespay - impl: impl api::PaymentVoid for Inespay - impl: impl api::Refund for Inespay - impl: impl api::RefundExecute for Inespay - impl: impl api::RefundSync for Inespay - impl: impl api::PaymentToken for Inespay - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Inespay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Inespay - impl: impl ConnectorCommon for Inespay - impl: impl ConnectorValidation for Inespay - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Inespay - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Inespay - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Inespay - impl: impl webhooks::IncomingWebhook for Inespay - mod: pub::transformers **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::InespayRouterData - struct: pub::InespayPaymentsRequest - struct: pub::InespayCard - struct: pub::InespayAuthType - struct: pub::InespayPaymentsResponse - struct: pub::InespayRefundRequest - struct: pub::RefundResponse - struct: pub::InespayErrorResponse - enum: pub::InespayPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for InespayRouterData<T> - impl: impl TryFrom<&InespayRouterData<&PaymentsAuthorizeRouterData>> for InespayPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for InespayAuthType - impl: impl From<InespayPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, InespayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&InespayRouterData<&RefundsRouterData<F>>> for InespayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync> **default_implementations.rs** Modify existing code **default_implementations_v2.rs** Modify existing code **configs.rs** Modify existing code **connector.rs** Modify existing code **admin.rs** Modify existing code **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::InespayRouterData - struct: pub::InespayPaymentsRequest - struct: pub::InespayCard - struct: pub::InespayAuthType - struct: pub::InespayPaymentsResponse - struct: pub::InespayRefundRequest - struct: pub::RefundResponse - struct: pub::InespayErrorResponse - enum: pub::InespayPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for InespayRouterData<T> - impl: impl TryFrom<&InespayRouterData<&PaymentsAuthorizeRouterData>> for InespayPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for InespayAuthType - impl: impl From<InespayPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, InespayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&InespayRouterData<&RefundsRouterData<F>>> for InespayRefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<RefundsResponseRouterData<Execute, RefundResponse>> for RefundsRouterData<Execute> - impl: impl TryFrom<RefundsResponseRouterData<RSync, RefundResponse>> for RefundsRouterData<RSync> **inespay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - function: private::get_webhook_object_reference_id - function: private::get_webhook_event_type - function: private::get_webhook_resource_object - struct: pub::Inespay - impl: impl Inespay - impl: impl api::Payment for Inespay - impl: impl api::PaymentSession for Inespay - impl: impl api::ConnectorAccessToken for Inespay - impl: impl api::MandateSetup for Inespay - impl: impl api::PaymentAuthorize for Inespay - impl: impl api::PaymentSync for Inespay - impl: impl api::PaymentCapture for Inespay - impl: impl api::PaymentVoid for Inespay - impl: impl api::Refund for Inespay - impl: impl api::RefundExecute for Inespay - impl: impl api::RefundSync for Inespay - impl: impl api::PaymentToken for Inespay - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Inespay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Inespay - impl: impl ConnectorCommon for Inespay - impl: impl ConnectorValidation for Inespay - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Inespay - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Inespay - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Inespay - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Inespay - impl: impl webhooks::IncomingWebhook for Inespay - mod: pub::transformers **main.rs** Add: - mod: private::inespay **connector_auth.rs** Modify existing code
feat(core): use redis as temp locker instead of basilisk (#2789)
Files to modify: **consts.rs** Modify existing code **payment_methods.rs** Modify existing code **cards.rs** Remove: - function: private::create_payment_method_data_in_locker - struct: pub::BasiliskCardSupport - impl: impl BasiliskCardSupport Add: - struct: pub::TempLockerCardSupport **vault.rs** Remove: - function: pub::get_payout_method_data_from_temporary_locker - function: pub::store_payout_method_data_in_locker - function: pub::store_payment_method_data_in_locker - function: pub::delete_locker_payment_method_by_lookup_key - function: pub::add_delete_tokenized_data_task - function: pub::start_tokenize_data_workflow - function: pub::get_delete_tokenize_schedule_time Add: - function: private::get_redis_locker_key - function: pub::create_tokenize - function: pub::get_tokenized_data - function: pub::delete_tokenized_data - function: pub::add_delete_tokenized_data_task **payments.rs** Modify existing code **authorize_flow.rs** Modify existing code **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_approve.rs** Modify existing code **payment_complete_authorize.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_method_validate.rs** Modify existing code **payment_session.rs** Modify existing code **payment_start.rs** Modify existing code **payment_status.rs** Modify existing code **payment_update.rs** Modify existing code **tokenization.rs** Modify existing code **payouts.rs** Modify existing code **helpers.rs** Modify existing code **validator.rs** Modify existing code **payment_methods.rs** Modify existing code **tokenized_data.rs** Remove: - function: private::execute_workflow
feat(payout_link): return total_count in filtered payouts list API response (#5538) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payouts.rs** Modify existing code **payout_attempt.rs** Modify existing code **payouts.rs** Modify existing code **payout_attempt.rs** Modify existing code **payouts.rs** Modify existing code **payouts.rs** Modify existing code **kafka_store.rs** Add: - function: private::get_total_count_of_filtered_payouts - function: private::filter_active_payout_ids_by_constraints **payouts.rs** Modify existing code **payouts.rs** Modify existing code
fix(connector): [Bluesnap] Update incoming Webhooks flow (#1982) Co-authored-by: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com>
Files to modify: **bluesnap.rs** Modify existing code **transformers.rs** Modify existing code **bluesnap.rs** Modify existing code
refactor(compatibility): remove specific imports (#181)
Files to modify: **stripe.rs** Modify existing code **app.rs** Modify existing code **customers.rs** Modify existing code **types.rs** Modify existing code **errors.rs** Modify existing code **payment_intents.rs** Modify existing code **types.rs** Modify existing code **refunds.rs** Modify existing code **types.rs** Modify existing code **setup_intents.rs** Modify existing code **types.rs** Modify existing code **wrap.rs** Modify existing code
fix(connector): add config cleanup on payment connector deletion (#5998)
Files to modify: **enums.rs** Add: - function: private::from - impl: impl From<ConnectorType> for TransactionType **admin.rs** Add: - function: private::retrieve_and_delete_from_default_fallback_routing_algorithm_if_routable_connector_exists - function: private::retrieve_and_delete_from_default_fallback_routing_algorithm_if_routable_connector_exists