prompt
stringlengths
14
2.16k
response
stringlengths
52
115k
refactor(open_banking): Added merchant data update in mca update (#5655) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **admin.rs** Modify existing code **paypal.rs** Modify existing code **utils.rs** Modify existing code
feat: separate olap oltp (#348)
Files to modify: **router.rs** Modify existing code **payment_intents.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **refunds.rs** Modify existing code **payment_intent.rs** Modify existing code **refund.rs** Modify existing code **lib.rs** Add: - function: pub::start_olap_server **app.rs** Add: - function: pub::oltp_server - function: pub::olap_server - function: pub::olap_server - function: pub::olap_server - function: pub::olap_server - function: pub::olap_server **payments.rs** Modify existing code **refunds.rs** Modify existing code **utils.rs** Modify existing code
Rapyd webhook integration (#435)
Files to modify: **adyen.rs** Modify existing code **rapyd.rs** Add: - function: private::build_error_response - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - function: private::get_webhook_source_verification_merchant_secret - function: private::get_webhook_source_verification_message - function: private::verify_webhook_source **transformers.rs** Remove: - function: private::try_from - impl: impl TryFrom<types::PaymentsResponseRouterData<RapydPaymentsResponse>> for types::PaymentsAuthorizeRouterData - impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<RapydPaymentsResponse>> for as_str() **stripe.rs** Modify existing code **utils.rs** Add: - function: pub::get_header_key_value **webhooks.rs** Modify existing code
feat(connector): [Mollie] Implement Przelewy24 and BancontactCard Bank Redirects for Mollie connector (#1303) Co-authored-by: Jagan Elavarasan <jaganelavarasan@gmail.com>
Files to modify: **transformers.rs** Modify existing code **mollie_ui.rs** Add: - function: private::should_make_mollie_bancontact_card_payment - function: private::should_make_mollie_przelewy24_payment - function: private::should_make_mollie_bancontact_card_payment_test - function: private::should_make_mollie_przelewy24_payment_test **selenium.rs** Modify existing code
refactor(payment_methods): add BankTransfer payment method data to new domain type to be used in connector module (#4260) Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code
feat(connector): [trustpay] introduce instant bank_transfer, finland and poland (#7925) Co-authored-by: PiX <69745008+pixincreate@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **additional_info.rs** Modify existing code **enums.rs** Modify existing code **transformers.rs** Modify existing code **enums.rs** Modify existing code **lowering.rs** Modify existing code **transformers.rs** Modify existing code **adyen.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **klarna.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 **utils.rs** Modify existing code **payment_method_data.rs** Modify existing code **mca.rs** Modify existing code **transformers.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **helpers.rs** Modify existing code **utils.rs** Modify existing code **transformers.rs** Modify existing code
feat(connector): [CYBERSOURCE] Implement Apple Pay (#3149) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **defaults.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - struct: pub::TokenizedCard - struct: pub::ApplePayPaymentInformation - enum: pub::TransactionType - impl: impl TryFrom<( &CybersourceRouterData<&types::PaymentsAuthorizeRouterData>, Box<ApplePayPredecryptData>, )> for CybersourcePaymentsRequest
fix(authentication): fixed ctp confirmation bug (#9050) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code **unified_authentication_service.rs** Modify existing code **payments.rs** Add: - function: private::complete_confirmation_for_click_to_pay_if_required - function: private::get_click_to_pay_service_details **helpers.rs** Modify existing code **operations.rs** Modify existing code **payment_confirm.rs** Modify existing code **unified_authentication_service.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Modify existing code
feat(router): add profile id and extra filters in lists (#2379)
Files to modify: **disputes.rs** Modify existing code **payments.rs** Modify existing code **refunds.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **payment_attempt.rs** Modify existing code **payments.rs** Modify existing code **dispute.rs** Modify existing code **refund.rs** Modify existing code **dispute.rs** Modify existing code **refund.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code
feat(core): [Payouts] Add access_token flow for Payout Create and Fulfill flow (#4375) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Add: - function: pub::supports_instant_payout - function: pub::supports_create_recipient - function: pub::supports_payout_eligibility - function: pub::supports_access_token_for_payout **connector.rs** Modify existing code **payouts.rs** Add: - function: pub::complete_payout_eligibility - function: pub::complete_create_payout - mod: pub::access_token **access_token.rs** Add: - function: pub::create_access_token - function: pub::add_access_token_for_payout - function: pub::refresh_connector_auth **retry.rs** Modify existing code
feat(connector): add authorize, capture, void, refund, psync, rsync support for Dlocal connector (#650) Co-authored-by: Venkatesh <inventvenkat@gmail.com>
Files to modify: **enums.rs** Modify existing code **lib.rs** Add: - function: pub::date_as_yyyymmddthhmmssmmmz **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::dlocal **dlocal.rs** Add: - function: private::build_headers - function: private::id - 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::build_request - function: private::get_error_response - function: private::handle_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::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_flow_type - struct: pub::Dlocal - impl: impl api::Payment for Dlocal - impl: impl api::PaymentSession for Dlocal - impl: impl api::ConnectorAccessToken for Dlocal - impl: impl api::PreVerify for Dlocal - impl: impl api::PaymentAuthorize for Dlocal - impl: impl api::PaymentSync for Dlocal - impl: impl api::PaymentCapture for Dlocal - impl: impl api::PaymentVoid for Dlocal - impl: impl api::Refund for Dlocal - impl: impl api::RefundExecute for Dlocal - impl: impl api::RefundSync for Dlocal - impl: impl ConnectorCommonExt<Flow, Request, Response> for Dlocal - impl: impl ConnectorCommon for Dlocal - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Dlocal - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Dlocal - impl: impl api::IncomingWebhook for Dlocal - impl: impl services::ConnectorRedirectResponse for Dlocal - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::get_payer_name - function: private::try_from - 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::try_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::get_doc_from_currency - struct: pub::Payer - struct: pub::Card - struct: pub::ThreeDSecureReqData - struct: pub::DlocalPaymentsRequest - struct: pub::DlocalPaymentsSyncRequest - struct: pub::DlocalPaymentsCancelRequest - struct: pub::DlocalPaymentsCaptureRequest - struct: pub::DlocalAuthType - struct: pub::ThreeDSecureResData - struct: pub::DlocalPaymentsResponse - struct: pub::DlocalPaymentsSyncResponse - struct: pub::DlocalPaymentsCaptureResponse - struct: pub::DlocalPaymentsCancelResponse - struct: pub::RefundRequest - struct: pub::RefundResponse - struct: pub::DlocalRefundsSyncRequest - struct: pub::DlocalErrorResponse - enum: pub::PaymentMethodId - enum: pub::PaymentMethodFlow - enum: pub::DlocalPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for DlocalPaymentsRequest - impl: impl TryFrom<&types::PaymentsSyncRouterData> for DlocalPaymentsSyncRequest - impl: impl TryFrom<&types::PaymentsCancelRouterData> for DlocalPaymentsCancelRequest - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for DlocalPaymentsCaptureRequest - impl: impl TryFrom<&types::ConnectorAuthType> for DlocalAuthType - impl: impl From<DlocalPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, DlocalPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, DlocalPaymentsSyncResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, DlocalPaymentsCaptureResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, DlocalPaymentsCancelResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for RefundRequest - impl: impl From<RefundStatus> for enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<&types::RefundSyncRouterData> for DlocalRefundsSyncRequest - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync> **utils.rs** Add: - function: private::get_billing_address **lib.rs** Add: - function: pub::date_as_yyyymmddthhmmssmmmz **api.rs** Modify existing code **connector_auth.rs** Modify existing code **dlocal.rs** Add: - function: private::build_headers - function: private::id - 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::build_request - function: private::get_error_response - function: private::handle_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::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_flow_type - struct: pub::Dlocal - impl: impl api::Payment for Dlocal - impl: impl api::PaymentSession for Dlocal - impl: impl api::ConnectorAccessToken for Dlocal - impl: impl api::PreVerify for Dlocal - impl: impl api::PaymentAuthorize for Dlocal - impl: impl api::PaymentSync for Dlocal - impl: impl api::PaymentCapture for Dlocal - impl: impl api::PaymentVoid for Dlocal - impl: impl api::Refund for Dlocal - impl: impl api::RefundExecute for Dlocal - impl: impl api::RefundSync for Dlocal - impl: impl ConnectorCommonExt<Flow, Request, Response> for Dlocal - impl: impl ConnectorCommon for Dlocal - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Dlocal - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Dlocal - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Dlocal - impl: impl api::IncomingWebhook for Dlocal - impl: impl services::ConnectorRedirectResponse for Dlocal - mod: private::transformers **main.rs** Add: - mod: private::dlocal
feat(router): [dummy_connector] add upi collect (#8014) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **dummyconnector.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - struct: pub::DummyConnectorUpiCollect - enum: pub::DummyConnectorUpi - enum: pub::DummyConnectorUpiType - impl: impl TryFrom<domain::UpiCollectData> for DummyConnectorUpi **consts.rs** Modify existing code **types.rs** Add: - function: private::get_name - function: private::get_image_link - struct: pub::DummyConnectorUpiCollect - struct: pub::DummyConnectorUpiFlow - enum: pub::DummyConnectorUpi - enum: pub::DummyConnectorUpiType - impl: impl GetPaymentMethodDetails for DummyConnectorUpiType **utils.rs** Add: - function: private::build_payment_data_from_payment_attempt - function: pub::get_flow_from_upi_collect - impl: impl ProcessPaymentAttempt for types::DummyConnectorUpiCollect - impl: impl types::DummyConnectorUpiCollect
feat(router): add three_ds_decision_rule support in routing apis (#8132) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **routing.rs** Add: - function: pub::should_validate_connectors_in_routing_config - struct: pub::RoutingActivatePayload - struct: pub::ProgramThreeDsDecisionRule - struct: pub::RuleThreeDsDecisionRule **enums.rs** Add: - function: pub::is_three_ds_authentication - impl: impl TransactionType **enums.rs** Add: - function: pub::is_three_ds_authentication - impl: impl TransactionType **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **admin.rs** Modify existing code **errors.rs** Modify existing code **routing.rs** Add: - function: pub::should_validate_connectors_in_routing_config - struct: pub::RoutingActivatePayload - struct: pub::ProgramThreeDsDecisionRule - struct: pub::RuleThreeDsDecisionRule **routing.rs** Add: - function: pub::should_validate_connectors_in_routing_config - struct: pub::RoutingActivatePayload - struct: pub::ProgramThreeDsDecisionRule - struct: pub::RuleThreeDsDecisionRule **helpers.rs** Modify existing code **transformers.rs** Modify existing code **app.rs** Modify existing code **routing.rs** Add: - function: pub::should_validate_connectors_in_routing_config - struct: pub::RoutingActivatePayload - struct: pub::ProgramThreeDsDecisionRule - struct: pub::RuleThreeDsDecisionRule
feat: add deep health check (#3210) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **health_check.rs** Add: - struct: pub::RouterHealthCheckResponse **lib.rs** Add: - mod: pub::health_check **consts.rs** Modify existing code **db.rs** Add: - mod: pub::health_check **health_check.rs** Add: - struct: pub::RouterHealthCheckResponse **kafka_store.rs** Add: - function: private::health_check_db - function: private::health_check_redis - function: private::health_check_locker - impl: impl HealthCheckInterface for KafkaStore **app.rs** Modify existing code **health.rs** Add: - function: pub::deep_health_check **api.rs** Add: - function: pub::http_server_error_json_response **client.rs** Modify existing code **errors.rs** Add: - function: private::from - enum: pub::HealthCheckDBError - enum: pub::HealthCheckRedisError - enum: pub::HealthCheckLockerError - impl: impl From<diesel::result::Error> for HealthCheckDBError
feat(user): create apis for custom role (#3763) Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in> Co-authored-by: Mani Chandra <84711804+ThisIsMani@users.noreply.github.com>
Files to modify: **user_role.rs** Modify existing code **user_role.rs** Modify existing code **role.rs** Add: - struct: pub::CreateRoleRequest - struct: pub::UpdateRoleRequest - struct: pub::ListRolesResponse - struct: pub::RoleInfoResponse - struct: pub::GetRoleRequest **role.rs** Add: - struct: pub::CreateRoleRequest - struct: pub::UpdateRoleRequest - struct: pub::ListRolesResponse - struct: pub::RoleInfoResponse - struct: pub::GetRoleRequest **user_role.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **role.rs** Add: - struct: pub::CreateRoleRequest - struct: pub::UpdateRoleRequest - struct: pub::ListRolesResponse - struct: pub::RoleInfoResponse - struct: pub::GetRoleRequest **role.rs** Add: - struct: pub::CreateRoleRequest - struct: pub::UpdateRoleRequest - struct: pub::ListRolesResponse - struct: pub::RoleInfoResponse - struct: pub::GetRoleRequest **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user_role.rs** Modify existing code **user.rs** Modify existing code **user_role.rs** Modify existing code **types.rs** Modify existing code
feat(charges): integrated PaymentSync for stripe connect (#4771) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **router_request_types.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Add: - function: pub::transform_headers_for_connect_platform **helpers.rs** Add: - function: pub::validate_platform_fees_for_marketplace **payment_create.rs** Modify existing code **transformers.rs** Add: - function: pub::transform_headers_for_connect_platform **refunds.rs** Add: - mod: pub::transformers **transformers.rs** Add: - function: pub::transform_headers_for_connect_platform **bambora.rs** Modify existing code **forte.rs** Modify existing code **nexinets.rs** Modify existing code **paypal.rs** Modify existing code **utils.rs** Modify existing code **zen.rs** Modify existing code
feat(connector) : add template code for connector forte (#854)
Files to modify: **mod.rs** Add: - impl: impl api::PaymentToken for project - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for project **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::forte **forte.rs** Add: - function: private::build_headers - function: private::id - 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::Forte - impl: impl api::Payment for Forte - impl: impl api::PaymentSession for Forte - impl: impl api::ConnectorAccessToken for Forte - impl: impl api::PreVerify for Forte - impl: impl api::PaymentAuthorize for Forte - impl: impl api::PaymentSync for Forte - impl: impl api::PaymentCapture for Forte - impl: impl api::PaymentVoid for Forte - impl: impl api::Refund for Forte - impl: impl api::RefundExecute for Forte - impl: impl api::RefundSync for Forte - impl: impl api::PaymentToken for Forte - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Forte - impl: impl ConnectorCommonExt<Flow, Request, Response> for Forte - impl: impl ConnectorCommon for Forte - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Forte - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Forte - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Forte - impl: impl api::IncomingWebhook for Forte - mod: private::transformers **transformers.rs** Add: - 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::FortePaymentsRequest - struct: pub::ForteCard - struct: pub::ForteAuthType - struct: pub::FortePaymentsResponse - struct: pub::ForteRefundRequest - struct: pub::RefundResponse - struct: pub::ForteErrorResponse - enum: pub::FortePaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for FortePaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for ForteAuthType - impl: impl From<FortePaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, FortePaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for ForteRefundRequest - 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> **flows.rs** Modify existing code **api.rs** Modify existing code **connector_auth.rs** Modify existing code **forte.rs** Add: - function: private::build_headers - function: private::id - 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::Forte - impl: impl api::Payment for Forte - impl: impl api::PaymentSession for Forte - impl: impl api::ConnectorAccessToken for Forte - impl: impl api::PreVerify for Forte - impl: impl api::PaymentAuthorize for Forte - impl: impl api::PaymentSync for Forte - impl: impl api::PaymentCapture for Forte - impl: impl api::PaymentVoid for Forte - impl: impl api::Refund for Forte - impl: impl api::RefundExecute for Forte - impl: impl api::RefundSync for Forte - impl: impl api::PaymentToken for Forte - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Forte - impl: impl ConnectorCommonExt<Flow, Request, Response> for Forte - impl: impl ConnectorCommon for Forte - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Forte - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Forte - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Forte - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Forte - impl: impl api::IncomingWebhook for Forte - mod: private::transformers **main.rs** Add: - mod: private::forte
refactor: removed basilisk feature (#3281) Co-authored-by: venkatesh.devendran <venkatesh.devendran@juspay.in>
Files to modify: **kms.rs** Modify existing code **settings.rs** Modify existing code **vault.rs** Remove: - function: private::get_locker_jwe_keys - function: pub::old_create_tokenize - function: pub::old_get_tokenized_data - function: pub::old_delete_tokenized_data - function: pub::get_key_id **client.rs** Modify existing code
feat(connector): add afterpay, klarna, affirm support in adyen connector (#516)
Files to modify: **adyen.rs** Modify existing code **transformers.rs** Remove: - function: private::try_from - impl: impl TryFrom<&types::BrowserInformation> for AdyenBrowserInfo Add: - function: private::from - function: private::get_recurring_processing_model - function: private::get_browser_info - function: private::get_additional_data - function: private::get_amount_data - function: private::get_address_info - function: private::get_line_items - function: private::get_telephone_number - function: private::get_shopper_name - function: private::get_country_code - function: private::get_card_specific_payment_data - function: private::get_wallet_specific_payment_data - struct: pub::ShopperName - struct: pub::Address - struct: pub::LineItem - enum: pub::PaymentType - impl: impl From<&types::PaymentsAuthorizeRouterData> for AdyenShopperInteraction **utils.rs** Add: - function: private::get_return_url **adyen.rs** Modify existing code **connector_auth.rs** Modify existing code **main.rs** Add: - mod: private::adyen
feat(core): [Paypal] Add Preprocessing flow to CompleteAuthorize for Card 3DS Auth Verification (#2757)
Files to modify: **paypal.rs** Add: - function: private::get_headers - function: private::get_url - function: private::build_request - function: private::handle_response - function: private::get_error_response - impl: impl api::PaymentsPreProcessing for Paypal - impl: impl ConnectorIntegration< api::PreProcessing, types::PaymentsPreProcessingData, types::PaymentsResponseData, > for Paypal **transformers.rs** Add: - struct: pub::PaypalPreProcessingResponse - struct: pub::CardParams - struct: pub::AuthResult - struct: pub::PaypalThreeDsParams - struct: pub::ThreeDsCheck - enum: pub::LiabilityShift - enum: pub::EnrollementStatus - enum: pub::AuthenticationStatus **consts.rs** Modify existing code **payments.rs** Modify existing code **flows.rs** Modify existing code **authorize_flow.rs** Modify existing code **complete_authorize_flow.rs** Add: - function: private::preprocessing_steps **transformers.rs** Add: - struct: pub::PaypalPreProcessingResponse - struct: pub::CardParams - struct: pub::AuthResult - struct: pub::PaypalThreeDsParams - struct: pub::ThreeDsCheck - enum: pub::LiabilityShift - enum: pub::EnrollementStatus - enum: pub::AuthenticationStatus **types.rs** Modify existing code
build(deps): remove unused dependencies and features (#2854)
Files to modify: **adyen.rs** Modify existing code **bankofamerica.rs** Modify existing code **globepay.rs** Modify existing code **gocardless.rs** Modify existing code **helcim.rs** Modify existing code **main.rs** Modify existing code **opayo.rs** Modify existing code **payeezy.rs** Modify existing code **powertranz.rs** Modify existing code **prophetpay.rs** Modify existing code **utils.rs** Modify existing code **volt.rs** Modify existing code **wise.rs** Modify existing code
refactor(connectors): [ZSL] add Local bank Transfer (#4337) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: SamraatBansal <55536657+SamraatBansal@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **utils.rs** Add: - function: private::get_optional_billing_phone_number - function: private::get_optional_billing_email **zsl.rs** Remove: - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Zsl **transformers.rs** Add: - function: private::foreign_from - function: private::try_from - function: private::try_from - struct: pub::ZslWebhookResponse - enum: pub::ZslResponseStatus - enum: pub::ZslSignatureType - impl: impl types::transformers::ForeignFrom<String> for api_models::webhooks::IncomingWebhookEvent - impl: impl TryFrom<String> for ZslResponseStatus - mod: private::auth_error - mod: private::zsl_version **admin.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Add: - function: private::foreign_from - function: private::try_from - function: private::try_from - struct: pub::ZslWebhookResponse - enum: pub::ZslResponseStatus - enum: pub::ZslSignatureType - impl: impl types::transformers::ForeignFrom<String> for api_models::webhooks::IncomingWebhookEvent - impl: impl TryFrom<String> for ZslResponseStatus - mod: private::auth_error - mod: private::zsl_version
feat(connectors): [Worldpayvantiv] add card support (#8219) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **worldpayvantiv.rs** Modify existing code **transformers.rs** Remove: - function: private::from - struct: pub::WorldpayvantivPaymentsRequest - struct: pub::WorldpayvantivAuthType - impl: impl From<(StringMinorUnit, T)> for WorldpayvantivRouterData<T> Add: - function: private::try_from - struct: pub::WorldpayvantivAuthType - struct: pub::WorldpayvantivPaymentMetadata - struct: pub::WorldpayvantivMetadataObject - struct: pub::CnpOnlineRequest - struct: pub::Void - struct: pub::Capture - struct: pub::Authorization - struct: pub::Sale - struct: pub::RefundRequest - struct: pub::TransactionQuery - struct: pub::WorldpayvantivCardData - enum: pub::OrderSource - enum: pub::WorldpayvativCardType - impl: impl TryFrom<&Option<common_utils::pii::SecretSerdeValue>> for change_context - mod: pub::worldpayvantiv_constants **worldpayxml.rs** Modify existing code **utils.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **admin.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Remove: - function: private::from - struct: pub::WorldpayvantivPaymentsRequest - struct: pub::WorldpayvantivAuthType - impl: impl From<(StringMinorUnit, T)> for WorldpayvantivRouterData<T> Add: - function: private::try_from - struct: pub::WorldpayvantivAuthType - struct: pub::WorldpayvantivPaymentMetadata - struct: pub::WorldpayvantivMetadataObject - struct: pub::CnpOnlineRequest - struct: pub::Void - struct: pub::Capture - struct: pub::Authorization - struct: pub::Sale - struct: pub::RefundRequest - struct: pub::TransactionQuery - struct: pub::WorldpayvantivCardData - enum: pub::OrderSource - enum: pub::WorldpayvativCardType - impl: impl TryFrom<&Option<common_utils::pii::SecretSerdeValue>> for change_context - mod: pub::worldpayvantiv_constants
feat(user): implement change password for user (#2959)
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Modify existing code **authentication.rs** Add: - function: private::authenticate_and_fetch - function: private::authenticate_and_fetch - function: private::authenticate_and_fetch - struct: pub::UserFromToken - struct: pub::DashboardNoPermissionAuth - impl: impl AuthenticateAndFetch<UserFromToken, A> for JWTAuth - impl: impl AuthenticateAndFetch<UserFromToken, A> for DashboardNoPermissionAuth - impl: impl AuthenticateAndFetch<(), A> for DashboardNoPermissionAuth **types.rs** Modify existing code
feat(connector): [Stax] Implement Bank Debits and Webhooks for Connector Stax (#1832) Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
Files to modify: **enums.rs** Add: - enum: pub::BankType - enum: pub::BankHolderType **payments.rs** Modify existing code **stax.rs** Add: - function: private::verify_webhook_source **transformers.rs** Add: - struct: pub::StaxBankTokenizeData - struct: pub::StaxWebhookBody - enum: private::StaxWebhookEventType
feat: add `hsdev` binary to run migrations (#4877) Co-authored-by: James Motherwell <motherwell.james@student.greenriver.edu> Co-authored-by: James M <122129564+JamesM25@users.noreply.github.com>
Files to modify: **input_file.rs** Add: - function: pub::read - function: pub::postgres_url - struct: pub::InputData - impl: impl InputData **main.rs** Add: - function: private::main - function: pub::get_toml_table - function: private::test_input_file - function: private::test_given_toml - struct: private::Args - mod: private::input_file - mod: private::tests
feat(routing): Integrate global success rates (#6950) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **routing.rs** Add: - enum: pub::SuccessRateSpecificityLevel **dynamic_routing_stats.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **success_rate_client.rs** Add: - function: private::calculate_entity_and_global_success_rate **openapi.rs** Modify existing code **helpers.rs** Modify existing code
fix: amount_captured goes to 0 for 3ds payments (#2954)
Files to modify: **payments.rs** Add: - function: pub::get_total_capturable_amount - impl: impl PaymentsRequest **utils.rs** Modify existing code **helpers.rs** Modify existing code **payment_response.rs** Modify existing code **refunds.rs** Modify existing code **types.rs** Remove: - function: private::is_psync - impl: impl Capturable for PaymentsCancelData Add: - function: private::get_capture_amount - impl: impl Capturable for PaymentsCancelData
feat(connector): create Taxjar connector (#5597) Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connectors.rs** Add: - mod: pub::taxjar **taxjar.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::Taxjar - impl: impl Taxjar - impl: impl api::Payment for Taxjar - impl: impl api::PaymentSession for Taxjar - impl: impl api::ConnectorAccessToken for Taxjar - impl: impl api::MandateSetup for Taxjar - impl: impl api::PaymentAuthorize for Taxjar - impl: impl api::PaymentSync for Taxjar - impl: impl api::PaymentCapture for Taxjar - impl: impl api::PaymentVoid for Taxjar - impl: impl api::Refund for Taxjar - impl: impl api::RefundExecute for Taxjar - impl: impl api::RefundSync for Taxjar - impl: impl api::PaymentToken for Taxjar - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Taxjar - impl: impl ConnectorCommonExt<Flow, Request, Response> for Taxjar - impl: impl ConnectorCommon for Taxjar - impl: impl ConnectorValidation for Taxjar - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Taxjar - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Taxjar - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Taxjar - impl: impl webhooks::IncomingWebhook for Taxjar - 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::TaxjarRouterData - struct: pub::TaxjarPaymentsRequest - struct: pub::TaxjarCard - struct: pub::TaxjarAuthType - struct: pub::TaxjarPaymentsResponse - struct: pub::TaxjarRefundRequest - struct: pub::RefundResponse - struct: pub::TaxjarErrorResponse - enum: pub::TaxjarPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for TaxjarRouterData<T> - impl: impl TryFrom<&TaxjarRouterData<&PaymentsAuthorizeRouterData>> for TaxjarPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for TaxjarAuthType - impl: impl From<TaxjarPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, TaxjarPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&TaxjarRouterData<&RefundsRouterData<F>>> for TaxjarRefundRequest - 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 **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::TaxjarRouterData - struct: pub::TaxjarPaymentsRequest - struct: pub::TaxjarCard - struct: pub::TaxjarAuthType - struct: pub::TaxjarPaymentsResponse - struct: pub::TaxjarRefundRequest - struct: pub::RefundResponse - struct: pub::TaxjarErrorResponse - enum: pub::TaxjarPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for TaxjarRouterData<T> - impl: impl TryFrom<&TaxjarRouterData<&PaymentsAuthorizeRouterData>> for TaxjarPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for TaxjarAuthType - impl: impl From<TaxjarPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, TaxjarPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&TaxjarRouterData<&RefundsRouterData<F>>> for TaxjarRefundRequest - 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> **main.rs** Add: - mod: private::taxjar **taxjar.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::Taxjar - impl: impl Taxjar - impl: impl api::Payment for Taxjar - impl: impl api::PaymentSession for Taxjar - impl: impl api::ConnectorAccessToken for Taxjar - impl: impl api::MandateSetup for Taxjar - impl: impl api::PaymentAuthorize for Taxjar - impl: impl api::PaymentSync for Taxjar - impl: impl api::PaymentCapture for Taxjar - impl: impl api::PaymentVoid for Taxjar - impl: impl api::Refund for Taxjar - impl: impl api::RefundExecute for Taxjar - impl: impl api::RefundSync for Taxjar - impl: impl api::PaymentToken for Taxjar - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Taxjar - impl: impl ConnectorCommonExt<Flow, Request, Response> for Taxjar - impl: impl ConnectorCommon for Taxjar - impl: impl ConnectorValidation for Taxjar - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Taxjar - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Taxjar - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Taxjar - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Taxjar - impl: impl webhooks::IncomingWebhook for Taxjar - mod: pub::transformers **connector_auth.rs** Modify existing code
refactor(euclid): refactor logs for evaluation of equality for dynamic routing evaluate response (#8834)
Files to modify: **routing.rs** Modify existing code **utils.rs** Add: - function: private::transform_de_output_for_router - function: pub::decision_engine_routing - function: private::try_from - impl: impl TryFrom<ConnectorInfo> for DeRoutableConnectorChoice
feat(multitenancy): add tenant_id as a field for data pipeline and support individual database for clickhouse (#4867) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Arun Raj M <jarnura47@gmail.com> Co-authored-by: Sampras Lopes <sampras.lopes@juspay.in>
Files to modify: **clickhouse.rs** Modify existing code **lib.rs** Modify existing code **consts.rs** Modify existing code **user.rs** Remove: - function: pub::find_joined_users_and_roles_by_merchant_id **settings.rs** Modify existing code **settings.rs** Modify existing code **middleware.rs** Modify existing code **app.rs** Modify existing code **api.rs** Modify existing code **config.rs** Add: - trait: pub::ClickHouseConfig
feat(core): add all_keys_required in confirm and psync payload (#7998) Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local> Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **utils.rs** Modify existing code **router_data.rs** Modify existing code **conversion_impls.rs** Modify existing code **payment_intents.rs** Modify existing code **setup_intents.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Modify existing code **disputes.rs** Modify existing code **helpers.rs** Modify existing code **fraud_check.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 **mandate.rs** Modify existing code **utils.rs** Modify existing code **payment_methods.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 **approve_flow.rs** Modify existing code **authorize_flow.rs** Modify existing code **cancel_flow.rs** Modify existing code **capture_flow.rs** Modify existing code **complete_authorize_flow.rs** Modify existing code **incremental_authorization_flow.rs** Modify existing code **post_session_tokens_flow.rs** Modify existing code **psync_flow.rs** Modify existing code **reject_flow.rs** Modify existing code **session_flow.rs** Modify existing code **session_update_flow.rs** Modify existing code **setup_mandate_flow.rs** Modify existing code **update_metadata_flow.rs** Modify existing code **helpers.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_post_session_tokens.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 **payment_update_metadata.rs** Modify existing code **payments_incremental_authorization.rs** Modify existing code **tax_calculation.rs** Modify existing code **retry.rs** Modify existing code **session_operation.rs** Modify existing code **tokenization.rs** Modify existing code **transformers.rs** Modify existing code **payouts.rs** Modify existing code **access_token.rs** Modify existing code **refunds.rs** Modify existing code **refunds_v2.rs** Modify existing code **relay.rs** Modify existing code **utils.rs** Modify existing code **api.rs** Modify existing code **types.rs** Modify existing code **utils.rs** Modify existing code **utils.rs** Modify existing code **incoming.rs** Modify existing code **incoming_v2.rs** Modify existing code **recovery_incoming.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **api.rs** Modify existing code **types.rs** Modify existing code **verify_connector.rs** Modify existing code **aci.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Modify existing code **payments2.rs** Modify existing code
feat(connector): [FISERV] Added PayPal Redirect Payment Method (#8669) Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
Files to modify: **fiserv.rs** Modify existing code **transformers.rs** Add: - function: private::serialize - struct: pub::CheckoutPaymentsRequest - struct: pub::FiservInteractions - struct: pub::FiservReturnUrls - struct: pub::FiservPaymentMethod - struct: pub::FiservOrder - struct: pub::ChargesPaymentRequest - enum: pub::FiservCheckoutChargesRequest - enum: pub::FiservChannel - enum: pub::FiservPaymentInitiator - enum: pub::FiservCustomerConfirmation - enum: pub::FiservIntent - enum: pub::FiservWallet - enum: pub::FiservWalletType - impl: impl Serialize for FiservCheckoutChargesRequest
chore: make v1 merchant account forward compatible (#7426)
Files to modify: **admin.rs** Modify existing code **merchant_account.rs** Add: - function: pub::find_by_merchant_id - function: pub::find_by_publishable_key - function: pub::list_by_organization_id - function: pub::list_multiple_merchant_accounts - function: pub::list_all_merchant_accounts - function: pub::update_all_merchant_accounts - function: pub::update - function: pub::update_with_specific_fields **merchant_account.rs** Add: - function: pub::find_by_merchant_id - function: pub::find_by_publishable_key - function: pub::list_by_organization_id - function: pub::list_multiple_merchant_accounts - function: pub::list_all_merchant_accounts - function: pub::update_all_merchant_accounts - function: pub::update - function: pub::update_with_specific_fields **admin.rs** Modify existing code **admin.rs** Modify existing code **admin.rs** Modify existing code **user.rs** Modify existing code **user.rs** Modify existing code
fix(connector): [CYBERSOURCE] Display 2XX Failure Errors (#3201)
Files to modify: **transformers.rs** Add: - function: private::get_error_response_if_failure - function: private::is_payment_failure - function: private::get_payment_response
feat(process_tracker): make long standing payments failed (#2380) Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **consts.rs** Modify existing code **transformers.rs** Modify existing code **refunds.rs** Modify existing code **webhooks.rs** Modify existing code **utils.rs** Add: - function: private::foreign_try_from - function: pub::trigger_payments_webhook - impl: impl ForeignTryFrom<enums::IntentStatus> for enums::EventType **payment_sync.rs** Modify existing code **utils.rs** Add: - function: private::foreign_try_from - function: pub::trigger_payments_webhook - impl: impl ForeignTryFrom<enums::IntentStatus> for enums::EventType
feat(payment_methods): add support for tokenising bank details and fetching masked details while listing (#2585) Co-authored-by: shashank_attarde <shashank.attarde@juspay.in> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Add: - struct: pub::MaskedBankDetails **cards.rs** Add: - function: private::get_masked_bank_details - function: private::get_bank_account_connector_details **openapi.rs** Modify existing code
refactor(router): revert [Stripe/Itau/Paypal/Bambora/Cybs] prevent partial submission of billing address and add required fields for all payment methods (#5745)
Files to modify: **transformers.rs** Modify existing code **defaults.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Modify existing code **utils.rs** Remove: - function: private::get_optional_country
feat(subscription): domain_model for subscription and invoice (#9640) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Jagan <jaganelavarasan@gmail.com>
Files to modify: **invoice.rs** Add: - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::to_invoice - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - struct: pub::Invoice - struct: pub::InvoiceUpdate - trait: pub::InvoiceInterface - impl: impl super::behaviour::Conversion for Invoice - impl: impl Invoice - impl: impl super::behaviour::Conversion for InvoiceUpdate - impl: impl InvoiceUpdate **lib.rs** Add: - mod: pub::invoice **subscription.rs** Add: - function: private::fmt - function: pub::generate_and_set_client_secret - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::Subscription - struct: pub::SubscriptionUpdate - enum: pub::SubscriptionStatus - trait: pub::SubscriptionInterface - impl: impl std::fmt::Display for SubscriptionStatus - impl: impl Subscription - impl: impl super::behaviour::Conversion for Subscription - impl: impl SubscriptionUpdate - impl: impl super::behaviour::Conversion for SubscriptionUpdate **subscription.rs** Add: - function: private::fmt - function: pub::generate_and_set_client_secret - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::Subscription - struct: pub::SubscriptionUpdate - enum: pub::SubscriptionStatus - trait: pub::SubscriptionInterface - impl: impl std::fmt::Display for SubscriptionStatus - impl: impl Subscription - impl: impl super::behaviour::Conversion for Subscription - impl: impl SubscriptionUpdate - impl: impl super::behaviour::Conversion for SubscriptionUpdate **billing_processor_handler.rs** Modify existing code **invoice_handler.rs** Modify existing code **subscription_handler.rs** Modify existing code **db.rs** Remove: - mod: pub::invoice - mod: pub::subscription **invoice.rs** Add: - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::to_invoice - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - struct: pub::Invoice - struct: pub::InvoiceUpdate - trait: pub::InvoiceInterface - impl: impl super::behaviour::Conversion for Invoice - impl: impl Invoice - impl: impl super::behaviour::Conversion for InvoiceUpdate - impl: impl InvoiceUpdate **kafka_store.rs** Add: - function: private::insert_invoice_entry - function: private::find_invoice_by_invoice_id - function: private::update_invoice_entry - function: private::get_latest_invoice_for_subscription - function: private::insert_subscription_entry - function: private::find_by_merchant_id_subscription_id - function: private::update_subscription_entry - impl: impl InvoiceInterface for KafkaStore - impl: impl SubscriptionInterface for KafkaStore **subscription.rs** Add: - function: private::fmt - function: pub::generate_and_set_client_secret - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::Subscription - struct: pub::SubscriptionUpdate - enum: pub::SubscriptionStatus - trait: pub::SubscriptionInterface - impl: impl std::fmt::Display for SubscriptionStatus - impl: impl Subscription - impl: impl super::behaviour::Conversion for Subscription - impl: impl SubscriptionUpdate - impl: impl super::behaviour::Conversion for SubscriptionUpdate **invoice_sync.rs** Modify existing code **invoice.rs** Add: - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::to_invoice - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - struct: pub::Invoice - struct: pub::InvoiceUpdate - trait: pub::InvoiceInterface - impl: impl super::behaviour::Conversion for Invoice - impl: impl Invoice - impl: impl super::behaviour::Conversion for InvoiceUpdate - impl: impl InvoiceUpdate **lib.rs** Add: - mod: pub::invoice **subscription.rs** Add: - function: private::fmt - function: pub::generate_and_set_client_secret - function: private::convert - function: private::convert_back - function: private::construct_new - function: pub::new - function: private::convert - function: private::convert_back - function: private::construct_new - struct: pub::Subscription - struct: pub::SubscriptionUpdate - enum: pub::SubscriptionStatus - trait: pub::SubscriptionInterface - impl: impl std::fmt::Display for SubscriptionStatus - impl: impl Subscription - impl: impl super::behaviour::Conversion for Subscription - impl: impl SubscriptionUpdate - impl: impl super::behaviour::Conversion for SubscriptionUpdate
enhance(core): replace string with enum for country (#735)
Files to modify: **admin.rs** Modify existing code **enums.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **enums.rs** Modify existing code **lib.rs** Add: - mod: pub::enums **types.rs** Modify existing code **settings.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **requests.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 **utils.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Modify existing code **cards.rs** Modify existing code **session_flow.rs** Modify existing code **transformers.rs** Modify existing code **openapi.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code **adyen.rs** Modify existing code **cybersource.rs** Modify existing code **dlocal.rs** Modify existing code **globalpay.rs** Modify existing code **trustpay.rs** Modify existing code **worldline.rs** Modify existing code **address.rs** Modify existing code **enums.rs** Modify existing code **schema.rs** Modify existing code
refactor(compatibility): refactor stripe compatibility routes using `web::resource` (#1022)
Files to modify: **app.rs** Modify existing code **customers.rs** Modify existing code **payment_intents.rs** Modify existing code **refunds.rs** Modify existing code **setup_intents.rs** Modify existing code
feat(connector): [Ebanx] Template for ebanx payout (#4141) 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 **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::ebanx **ebanx.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::Ebanx - impl: impl api::Payment for Ebanx - impl: impl api::PaymentSession for Ebanx - impl: impl api::ConnectorAccessToken for Ebanx - impl: impl api::MandateSetup for Ebanx - impl: impl api::PaymentAuthorize for Ebanx - impl: impl api::PaymentSync for Ebanx - impl: impl api::PaymentCapture for Ebanx - impl: impl api::PaymentVoid for Ebanx - impl: impl api::Refund for Ebanx - impl: impl api::RefundExecute for Ebanx - impl: impl api::RefundSync for Ebanx - impl: impl api::PaymentToken for Ebanx - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Ebanx - impl: impl ConnectorCommonExt<Flow, Request, Response> for Ebanx - impl: impl ConnectorCommon for Ebanx - impl: impl ConnectorValidation for Ebanx - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Ebanx - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Ebanx - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Ebanx - impl: impl api::IncomingWebhook for Ebanx - 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::EbanxRouterData - struct: pub::EbanxPaymentsRequest - struct: pub::EbanxCard - struct: pub::EbanxAuthType - struct: pub::EbanxPaymentsResponse - struct: pub::EbanxRefundRequest - struct: pub::RefundResponse - struct: pub::EbanxErrorResponse - enum: pub::EbanxPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for EbanxRouterData<T> - impl: impl TryFrom<&EbanxRouterData<&types::PaymentsAuthorizeRouterData>> for EbanxPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for EbanxAuthType - impl: impl From<EbanxPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, EbanxPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&EbanxRouterData<&types::RefundsRouterData<F>>> for EbanxRefundRequest - 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> **flows.rs** Modify existing code **ebanx.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::Ebanx - impl: impl api::Payment for Ebanx - impl: impl api::PaymentSession for Ebanx - impl: impl api::ConnectorAccessToken for Ebanx - impl: impl api::MandateSetup for Ebanx - impl: impl api::PaymentAuthorize for Ebanx - impl: impl api::PaymentSync for Ebanx - impl: impl api::PaymentCapture for Ebanx - impl: impl api::PaymentVoid for Ebanx - impl: impl api::Refund for Ebanx - impl: impl api::RefundExecute for Ebanx - impl: impl api::RefundSync for Ebanx - impl: impl api::PaymentToken for Ebanx - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Ebanx - impl: impl ConnectorCommonExt<Flow, Request, Response> for Ebanx - impl: impl ConnectorCommon for Ebanx - impl: impl ConnectorValidation for Ebanx - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Ebanx - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Ebanx - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Ebanx - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Ebanx - impl: impl api::IncomingWebhook for Ebanx - mod: pub::transformers **main.rs** Add: - mod: private::ebanx **connector_auth.rs** Modify existing code
feat(payments_v2): implement payments capture v2 (#6722) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for events::PaymentsCaptureResponse **payments.rs** Remove: - struct: pub::ConfirmIntentAmountDetailsResponse Add: - struct: pub::PaymentAmountDetailsResponse - struct: pub::PaymentsCaptureResponse **payment_attempt.rs** Modify existing code **payment_intent.rs** Add: - enum: pub::PaymentIntentUpdate **payments.rs** Remove: - struct: pub::ConfirmIntentAmountDetailsResponse Add: - struct: pub::PaymentAmountDetailsResponse - struct: pub::PaymentsCaptureResponse **payment_attempt.rs** Modify existing code **payment_intent.rs** Add: - enum: pub::PaymentIntentUpdate **router_data.rs** Remove: - impl: impl status Add: - function: private::get_attempt_status_for_db_update - function: private::get_amount_capturable - function: private::get_captured_amount - function: private::get_payment_intent_update - function: private::get_payment_attempt_update - function: private::get_attempt_status_for_db_update - function: private::get_amount_capturable - function: private::get_captured_amount - function: private::get_attempt_status_for_db_update - function: private::get_amount_capturable - function: private::get_captured_amount - impl: impl TrackerPostUpdateObjects< router_flow_types::Capture, router_request_types::PaymentsCaptureData, payments::PaymentCaptureData<router_flow_types::Capture>, > for RouterData< router_flow_types::Capture, router_request_types::PaymentsCaptureData, router_response_types::PaymentsResponseData, > - impl: impl TrackerPostUpdateObjects< router_flow_types::PSync, router_request_types::PaymentsSyncData, payments::PaymentStatusData<router_flow_types::PSync>, > payment_data: &payments::PaymentStatusData<router_flow_types::PSync>, let amount_captured = self.get_captured_amount(payment_data); status: common_enums::IntentStatus::from( self.get_attempt_status_for_db_update(payment_data), ), amount_captured, amount_captured, payment_data: &payments::PaymentStatusData<router_flow_types::PSync>, let amount_capturable = self.get_amount_capturable(payment_data) **openapi_v2.rs** Modify existing code **payments.rs** Remove: - struct: pub::ConfirmIntentAmountDetailsResponse Add: - struct: pub::PaymentAmountDetailsResponse - struct: pub::PaymentsCaptureResponse **capture_flow.rs** Add: - function: private::get_merchant_recipient_data **operations.rs** Add: - mod: pub::payment_capture_v2 **payment_capture_v2.rs** Add: - function: private::validate_status_for_operation - function: private::to_validate_request - function: private::to_get_tracker - function: private::to_domain - function: private::to_update_tracker - function: private::to_validate_request - function: private::to_get_tracker - function: private::to_domain - function: private::to_update_tracker - function: private::validate_request - function: private::get_trackers - function: private::get_customer_details - function: private::make_pm_data - function: private::perform_routing - function: private::update_trackers - struct: pub::PaymentsCapture - impl: impl ValidateStatusForOperation for PaymentsCapture - impl: impl Operation<F, PaymentsCaptureRequest> for &PaymentsCapture - impl: impl Operation<F, PaymentsCaptureRequest> for PaymentsCapture - impl: impl ValidateRequest<F, PaymentsCaptureRequest, PaymentCaptureData<F>> for PaymentsCapture - impl: impl GetTracker<F, PaymentCaptureData<F>, PaymentsCaptureRequest> for PaymentsCapture - impl: impl Domain<F, PaymentsCaptureRequest, PaymentCaptureData<F>> for PaymentsCapture - impl: impl UpdateTracker<F, PaymentCaptureData<F>, PaymentsCaptureRequest> for PaymentsCapture **payment_get.rs** Modify existing code **payment_response.rs** Add: - function: private::to_post_update_tracker - function: private::update_tracker - impl: impl Operation<F, types::PaymentsCaptureData> for PaymentResponse - impl: impl PostUpdateTracker< F, hyperswitch_domain_models::payments::PaymentCaptureData<F>, types::PaymentsCaptureData, > for PaymentResponse **transformers.rs** Add: - function: private::generate_response **incoming_v2.rs** Modify existing code **app.rs** Modify existing code **payments.rs** Remove: - struct: pub::ConfirmIntentAmountDetailsResponse Add: - struct: pub::PaymentAmountDetailsResponse - struct: pub::PaymentsCaptureResponse **types.rs** Modify existing code
test: fix failing unit tests (#1743)
Files to modify: **crypto.rs** Modify existing code **lib.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code **merchant_connector_account.rs** Modify existing code **encryption.rs** Add: - impl: impl ValueExt
feat(payments): propagate additional payment method data for google pay during MIT (#6644) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_methods.rs** Add: - function: private::from - function: private::from - struct: pub::PaymentMethodDataWalletInfo - impl: impl From<payments::additional_info::WalletAdditionalDataForCard> for PaymentMethodDataWalletInfo - impl: impl From<PaymentMethodDataWalletInfo> for payments::additional_info::WalletAdditionalDataForCard **payment_method_data.rs** Add: - function: private::from - impl: impl From<GooglePayWalletData> for payment_methods::PaymentMethodDataWalletInfo **cards.rs** Modify existing code **payment_create.rs** Modify existing code **tokenization.rs** Modify existing code
feat(core): add Mobile Payment (Direct Carrier Billing) as a payment method (#6196) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **enums.rs** Modify existing code **payments.rs** Add: - function: private::get_payment_method_type - enum: pub::MobilePaymentData - impl: impl GetPaymentMethodType for MobilePaymentData **connector_enums.rs** Modify existing code **enums.rs** Modify existing code **transformers.rs** Modify existing code **connector.rs** Modify existing code **response_modifier.rs** Modify existing code **transformer.rs** Modify existing code **graph.rs** Modify existing code **lowering.rs** Modify existing code **dir.rs** Modify existing code **enums.rs** Modify existing code **lowering.rs** Modify existing code **transformers.rs** Modify existing code **lib.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **digitalvirgo.rs** Remove: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::handle_response - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - impl: impl ConnectorValidation for Digitalvirgo - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Digitalvirgo Add: - function: private::validate_capture_method - function: private::validate_psync_reference_id - function: private::get_flow_type - function: private::build_request - impl: impl api::PaymentsCompleteAuthorize for Digitalvirgo - impl: impl ConnectorValidation for Digitalvirgo - impl: impl ConnectorRedirectResponse for Digitalvirgo - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Digitalvirgo **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 **default_implementations.rs** Modify existing code **utils.rs** Modify existing code **payment_method_data.rs** Add: - enum: pub::MobilePaymentData **mca.rs** Modify existing code **transformers.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **types.rs** Modify existing code **types.rs** Modify existing code **payment_connector_required_fields.rs** Modify existing code **transformers.rs** Modify existing code **adyen.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 **klarna.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 **utils.rs** Modify existing code **transformers.rs** Modify existing code **admin.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Add: - function: private::get_payment_method_type - enum: pub::MobilePaymentData - impl: impl GetPaymentMethodType for MobilePaymentData **helpers.rs** Modify existing code **payment_response.rs** Modify existing code **transformers.rs** Modify existing code **payout_link.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Modify existing code
feat: Implement subscriptions workflow and incoming webhook support (#9400) Co-authored-by: Prajjwal kumar <write2prajjwal@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Files to modify: **webhooks.rs** Modify existing code **chargebee.rs** Add: - function: private::get_subscription_mit_payment_data **transformers.rs** Add: - function: private::try_from - struct: pub::ChargebeeMitPaymentData - impl: impl TryFrom<ChargebeeInvoiceBody> for ChargebeeMitPaymentData **subscriptions.rs** Add: - struct: pub::SubscriptionMitPaymentData **subscriptions.rs** Add: - struct: pub::SubscriptionMitPaymentData **connector_integration_interface.rs** Add: - function: private::get_subscription_mit_payment_data **webhooks.rs** Modify existing code **subscription.rs** Modify existing code **subscription_handler.rs** Add: - function: pub::new - function: pub::get_invoice_handler **incoming.rs** Modify existing code **recovery_incoming.rs** Modify existing code **utils.rs** Modify existing code
fix: refund fix with `connector_metadata` (#330)
Files to modify: **errors.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 **api_error_response.rs** Modify existing code **payment_response.rs** Modify existing code **transformers.rs** Modify existing code **refunds.rs** Modify existing code **validator.rs** Add: - function: pub::validate_for_valid_refunds **utils.rs** Modify existing code **payment_attempt.rs** Modify existing code **types.rs** Modify existing code **aci.rs** Modify existing code **authorizedotnet.rs** Modify existing code **checkout.rs** Modify existing code **utils.rs** Modify existing code **payment_attempt.rs** Modify existing code **schema.rs** Modify existing code
feat(connector): [Bluesnap] Add dispute webhooks support (#2053)
Files to modify: **enums.rs** Add: - function: pub::to_currency_lower_unit **bluesnap.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - struct: pub::BluesnapDisputeWebhookBody - enum: pub::BluesnapChargebackStatus - impl: impl TryFrom<BluesnapWebhookObjectEventType> for api::IncomingWebhookEvent **utils.rs** Add: - function: pub::to_currency_lower_unit
refactor(payment_methods): List the Payment Methods for Merchant , based on the connector type (#4909) Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
Files to modify: **helpers.rs** Modify existing code
feat(connector): (adyen) add support for multiple partial capture adyen (#2102)
Files to modify: **adyen.rs** Modify existing code **transformers.rs** Add: - function: pub::get_adyen_response_for_multiple_partial_capture - function: private::update_attempt_status_based_on_event_type_if_needed **globalpay.rs** Modify existing code **requests.rs** Modify existing code **transformers.rs** Add: - function: pub::get_adyen_response_for_multiple_partial_capture - function: private::update_attempt_status_based_on_event_type_if_needed **utils.rs** Add: - function: pub::is_manual_capture **payments.rs** Modify existing code **psync_flow.rs** Modify existing code **helpers.rs** Modify existing code **payment_capture.rs** Modify existing code
feat: add resources and granular permission groups for reconciliation (#6591) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Add: - function: private::from - enum: pub::ReconPermissionScope - impl: impl From<PermissionScope> for ReconPermissionScope **recon.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **recon.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **enums.rs** Add: - function: private::from - enum: pub::ReconPermissionScope - impl: impl From<PermissionScope> for ReconPermissionScope **recon.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **app.rs** Modify existing code **recon.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for VerifyTokenResponse **authentication.rs** Add: - function: private::authenticate_and_fetch - function: pub::new_token - struct: pub::UserFromTokenWithRoleInfo - struct: pub::ReconToken - impl: impl AuthenticateAndFetch<UserFromTokenWithRoleInfo, A> for JWTAuth - impl: impl ReconToken **info.rs** Modify existing code **permission_groups.rs** Modify existing code **permissions.rs** Modify existing code **roles.rs** Add: - function: pub::get_recon_acl **predefined_roles.rs** Modify existing code **types.rs** Modify existing code
feat(connector): add support for bank redirect for Paypal (#1107)
Files to modify: **payment_methods.rs** Add: - struct: pub::TokenizedBankRedirectValue1 - struct: pub::TokenizedBankRedirectValue2 **payments.rs** Modify existing code **paypal.rs** Modify existing code **transformers.rs** Add: - function: private::get_payment_source **utils.rs** Add: - function: private::get_billing_name - trait: pub::BankRedirectBillingData - impl: impl BankRedirectBillingData for payments::BankRedirectBilling **vault.rs** Add: - function: private::get_value1 - function: private::get_value2 - function: private::from_values - impl: impl Vaultable for api_models::payments::BankRedirectData **helpers.rs** Modify existing code **paypal_ui.rs** Add: - function: private::should_make_paypal_ideal_payment - function: private::should_make_paypal_giropay_payment - function: private::should_make_paypal_eps_payment - function: private::should_make_paypal_sofort_payment - function: private::should_make_paypal_ideal_payment_test - function: private::should_make_paypal_giropay_payment_test - function: private::should_make_paypal_eps_payment_test - function: private::should_make_paypal_sofort_payment_test
feat(connector): [Celero] add Connector Template Code (#8489) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **connectors.rs** Add: - mod: pub::celero **celero.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::Celero - impl: impl Celero - impl: impl api::Payment for Celero - impl: impl api::PaymentSession for Celero - impl: impl api::ConnectorAccessToken for Celero - impl: impl api::MandateSetup for Celero - impl: impl api::PaymentAuthorize for Celero - impl: impl api::PaymentSync for Celero - impl: impl api::PaymentCapture for Celero - impl: impl api::PaymentVoid for Celero - impl: impl api::Refund for Celero - impl: impl api::RefundExecute for Celero - impl: impl api::RefundSync for Celero - impl: impl api::PaymentToken for Celero - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Celero - impl: impl ConnectorCommonExt<Flow, Request, Response> for Celero - impl: impl ConnectorCommon for Celero - impl: impl ConnectorValidation for Celero - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Celero - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Celero - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Celero - impl: impl webhooks::IncomingWebhook for Celero - impl: impl ConnectorSpecifications for Celero - 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::CeleroRouterData - struct: pub::CeleroPaymentsRequest - struct: pub::CeleroCard - struct: pub::CeleroAuthType - struct: pub::CeleroPaymentsResponse - struct: pub::CeleroRefundRequest - struct: pub::RefundResponse - struct: pub::CeleroErrorResponse - enum: pub::CeleroPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for CeleroRouterData<T> - impl: impl TryFrom<&CeleroRouterData<&PaymentsAuthorizeRouterData>> for CeleroPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for CeleroAuthType - impl: impl From<CeleroPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, CeleroPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&CeleroRouterData<&RefundsRouterData<F>>> for CeleroRefundRequest - 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 **connector_validation.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::CeleroRouterData - struct: pub::CeleroPaymentsRequest - struct: pub::CeleroCard - struct: pub::CeleroAuthType - struct: pub::CeleroPaymentsResponse - struct: pub::CeleroRefundRequest - struct: pub::RefundResponse - struct: pub::CeleroErrorResponse - enum: pub::CeleroPaymentStatus - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for CeleroRouterData<T> - impl: impl TryFrom<&CeleroRouterData<&PaymentsAuthorizeRouterData>> for CeleroPaymentsRequest - impl: impl TryFrom<&ConnectorAuthType> for CeleroAuthType - impl: impl From<CeleroPaymentStatus> for common_enums::AttemptStatus - impl: impl TryFrom<ResponseRouterData<F, CeleroPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&CeleroRouterData<&RefundsRouterData<F>>> for CeleroRefundRequest - 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> **celero.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::Celero - impl: impl Celero - impl: impl api::Payment for Celero - impl: impl api::PaymentSession for Celero - impl: impl api::ConnectorAccessToken for Celero - impl: impl api::MandateSetup for Celero - impl: impl api::PaymentAuthorize for Celero - impl: impl api::PaymentSync for Celero - impl: impl api::PaymentCapture for Celero - impl: impl api::PaymentVoid for Celero - impl: impl api::Refund for Celero - impl: impl api::RefundExecute for Celero - impl: impl api::RefundSync for Celero - impl: impl api::PaymentToken for Celero - impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Celero - impl: impl ConnectorCommonExt<Flow, Request, Response> for Celero - impl: impl ConnectorCommon for Celero - impl: impl ConnectorValidation for Celero - impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Celero - impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Celero - impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Celero - impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Celero - impl: impl webhooks::IncomingWebhook for Celero - impl: impl ConnectorSpecifications for Celero - mod: pub::transformers **main.rs** Add: - mod: private::celero **connector_auth.rs** Modify existing code
refactor(payment_methods): add Wallets payment method data to new domain type to be used in connector module (#4160) Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **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 **utils.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **payments.rs** Modify existing code **payu.rs** Modify existing code **worldpay.rs** Modify existing code
refactor: incorporate `hyperswitch_interface` into drainer (#3629)
Files to modify: **connection.rs** Modify existing code **health_check.rs** Modify existing code **lib.rs** Add: - mod: private::secrets_transformers **main.rs** Modify existing code **secrets_transformers.rs** Add: - function: private::convert_to_raw_secret - function: pub::fetch_raw_secrets - impl: impl SecretsHandler for Database **services.rs** Modify existing code **settings.rs** Remove: - struct: pub::Settings Add: - function: pub::new - struct: pub::AppState - impl: impl AppState **secret_state.rs** Remove: - enum: pub::RawSecret - enum: pub::SecuredSecret Add: - struct: pub::RawSecret - struct: pub::SecuredSecret
feat: add hyperswitch ai chats table (#8831) Co-authored-by: Apoorv Dixit <apoorv.dixit@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **consts.rs** Modify existing code **hyperswitch_ai_interaction.rs** Add: - struct: pub::HyperswitchAiInteraction - struct: pub::HyperswitchAiInteractionNew **lib.rs** Add: - mod: pub::hyperswitch_ai_interaction **query.rs** Add: - mod: pub::hyperswitch_ai_interaction **hyperswitch_ai_interaction.rs** Add: - struct: pub::HyperswitchAiInteraction - struct: pub::HyperswitchAiInteractionNew **utils.rs** Add: - function: private::get_local_unique_key - impl: impl CompositeKey for <schema::hyperswitch_ai_interaction::table as diesel::Table>::PrimaryKey **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **secrets_transformers.rs** Add: - function: private::convert_to_raw_secret - impl: impl SecretsHandler for settings::ChatSettings **settings.rs** Modify existing code **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **db.rs** Add: - mod: pub::hyperswitch_ai_interaction **hyperswitch_ai_interaction.rs** Add: - struct: pub::HyperswitchAiInteraction - struct: pub::HyperswitchAiInteractionNew **kafka_store.rs** Add: - function: private::insert_hyperswitch_ai_interaction - function: private::list_hyperswitch_ai_interactions - impl: impl HyperswitchAiInteractionInterface for KafkaStore **app.rs** Modify existing code **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **lock_utils.rs** Modify existing code **storage.rs** Add: - mod: pub::hyperswitch_ai_interaction **hyperswitch_ai_interaction.rs** Add: - struct: pub::HyperswitchAiInteraction - struct: pub::HyperswitchAiInteractionNew **utils.rs** Add: - function: private::get_local_unique_key - impl: impl CompositeKey for <schema::hyperswitch_ai_interaction::table as diesel::Table>::PrimaryKey **chat.rs** Add: - struct: pub::ChatListRequest - struct: pub::ChatConversation - struct: pub::ChatListResponse **types.rs** Modify existing code **mock_db.rs** Modify existing code
feat(core): Add V2 Authentication to all available endpoints (#7487) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com>
Files to modify: **errors.rs** Modify existing code **admin.rs** Add: - function: pub::organization_create - function: pub::organization_update - function: pub::organization_retrieve - function: pub::retrieve_merchant_account - function: pub::update_merchant_account - function: pub::delete_merchant_account **api_keys.rs** Modify existing code **customers.rs** Add: - function: pub::customers_create - function: pub::customers_list **ephemeral_key.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **routing.rs** Modify existing code **authentication.rs** Add: - function: private::authenticate_and_fetch - struct: pub::V2AdminApiAuth - impl: impl AuthenticateAndFetch<(), A> for V2AdminApiAuth
feat: add deep health check for drainer (#3396) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
Files to modify: **health_check.rs** Modify existing code **errors.rs** Add: - function: private::from - function: private::status_code - enum: pub::HealthCheckError - impl: impl From<std::io::Error> for DrainerError - impl: impl actix_web::ResponseError for HealthCheckError **health_check.rs** Modify existing code **lib.rs** Add: - function: pub::start_web_server - mod: private::health_check **main.rs** Modify existing code **services.rs** Add: - function: pub::log_and_return_error_response - function: pub::http_response_json **settings.rs** Add: - function: pub::validate - function: private::default - struct: pub::Server - impl: impl Server - impl: impl Default for Server
refactor(users): Deprecate unused user APIs and stabilize v1 APIs (#6114)
Files to modify: **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **user_role.rs** Modify existing code **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **user_role.rs** Modify existing code **role.rs** Remove: - struct: pub::ListRolesResponse - struct: pub::RoleInfoWithPermissionsResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **user_role.rs** Modify existing code **role.rs** Remove: - struct: pub::ListRolesResponse - struct: pub::RoleInfoWithPermissionsResponse **kafka_store.rs** Remove: - function: private::find_user_role_by_user_id - function: private::find_user_role_by_user_id_merchant_id - function: private::list_user_roles_by_user_id_and_version - function: private::list_user_roles_by_merchant_id **user_role.rs** Modify existing code **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **user_role.rs** Modify existing code **info.rs** Remove: - function: pub::get_module_authorization_info - function: pub::get_module_description - function: pub::new - struct: pub::ModuleInfo - enum: pub::PermissionModule - impl: impl PermissionModule - impl: impl ModuleInfo **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **user.rs** Remove: - function: private::get_api_event_type - impl: impl ApiEventMetric for DashboardEntryResponse **types.rs** Modify existing code
refactor(payment_methods): introduce `locker_id` column in `payment_methods` table (#3760) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment_method.rs** Modify existing code **payment_method.rs** Modify existing code **schema.rs** Modify existing code **customers.rs** Modify existing code **locker_migration.rs** Modify existing code **payment_methods.rs** Modify existing code **cards.rs** Add: - function: pub::get_or_insert_payment_method **transformers.rs** Remove: - function: pub::mk_add_card_response **tokenization.rs** Modify existing code **helpers.rs** Modify existing code **kafka_store.rs** Add: - function: private::find_payment_method_by_locker_id **payment_method.rs** Modify existing code **mandates.rs** Modify existing code **payment_method.rs** Modify existing code
feat(db): implement `MerchantAccountInteraface` for `Mockdb` (#6283)
Files to modify: **merchant_account.rs** Add: - function: pub::apply_changeset - function: pub::apply_changeset - impl: impl MerchantAccountUpdateInternal - impl: impl MerchantAccountUpdateInternal **merchant_account.rs** Add: - function: pub::apply_changeset - function: pub::apply_changeset - impl: impl MerchantAccountUpdateInternal - impl: impl MerchantAccountUpdateInternal **merchant_account.rs** Add: - function: pub::apply_changeset - function: pub::apply_changeset - impl: impl MerchantAccountUpdateInternal - impl: impl MerchantAccountUpdateInternal
refactor(router): refactor merchant_connector update v2 flow (#5484)
Files to modify: **admin.rs** Add: - function: pub::get_frm_config_as_secret - struct: pub::MerchantConnectorUpdate - impl: impl MerchantConnectorUpdate **router_data.rs** Add: - function: pub::from_secret_value **admin.rs** Add: - function: pub::get_frm_config_as_secret - struct: pub::MerchantConnectorUpdate - impl: impl MerchantConnectorUpdate **paypal.rs** Modify existing code **admin.rs** Add: - function: pub::get_frm_config_as_secret - struct: pub::MerchantConnectorUpdate - impl: impl MerchantConnectorUpdate **app.rs** Modify existing code
feat(connector): [WORLDPAYVANTIV] Populate Network Decline Error Code & Message (#8856) Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
Files to modify: **transformers.rs** Add: - struct: pub::EnhancedAuthResponse - struct: pub::NetworkResponse - struct: pub::NetworkField - struct: pub::NetworkSubField
feat(connector): [BANKOFAMERICA] Add Connector Template Code (#2764) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: preetamrevankar <132073736+preetamrevankar@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::bankofamerica **bankofamerica.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::Bankofamerica - impl: impl api::Payment for Bankofamerica - impl: impl api::PaymentSession for Bankofamerica - impl: impl api::ConnectorAccessToken for Bankofamerica - impl: impl api::MandateSetup for Bankofamerica - impl: impl api::PaymentAuthorize for Bankofamerica - impl: impl api::PaymentSync for Bankofamerica - impl: impl api::PaymentCapture for Bankofamerica - impl: impl api::PaymentVoid for Bankofamerica - impl: impl api::Refund for Bankofamerica - impl: impl api::RefundExecute for Bankofamerica - impl: impl api::RefundSync for Bankofamerica - impl: impl api::PaymentToken for Bankofamerica - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Bankofamerica - impl: impl ConnectorCommonExt<Flow, Request, Response> for Bankofamerica - impl: impl ConnectorCommon for Bankofamerica - impl: impl ConnectorValidation for Bankofamerica - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Bankofamerica - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Bankofamerica - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Bankofamerica - impl: impl api::IncomingWebhook for Bankofamerica - 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::BankofamericaRouterData - struct: pub::BankofamericaPaymentsRequest - struct: pub::BankofamericaCard - struct: pub::BankofamericaAuthType - struct: pub::BankofamericaPaymentsResponse - struct: pub::BankofamericaRefundRequest - struct: pub::RefundResponse - struct: pub::BankofamericaErrorResponse - enum: pub::BankofamericaPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for BankofamericaRouterData<T> - impl: impl TryFrom<&BankofamericaRouterData<&types::PaymentsAuthorizeRouterData>> for BankofamericaPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for BankofamericaAuthType - impl: impl From<BankofamericaPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom< types::ResponseRouterData<F, BankofamericaPaymentsResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&BankofamericaRouterData<&types::RefundsRouterData<F>>> for BankofamericaRefundRequest - 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 **bankofamerica.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::Bankofamerica - impl: impl api::Payment for Bankofamerica - impl: impl api::PaymentSession for Bankofamerica - impl: impl api::ConnectorAccessToken for Bankofamerica - impl: impl api::MandateSetup for Bankofamerica - impl: impl api::PaymentAuthorize for Bankofamerica - impl: impl api::PaymentSync for Bankofamerica - impl: impl api::PaymentCapture for Bankofamerica - impl: impl api::PaymentVoid for Bankofamerica - impl: impl api::Refund for Bankofamerica - impl: impl api::RefundExecute for Bankofamerica - impl: impl api::RefundSync for Bankofamerica - impl: impl api::PaymentToken for Bankofamerica - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Bankofamerica - impl: impl ConnectorCommonExt<Flow, Request, Response> for Bankofamerica - impl: impl ConnectorCommon for Bankofamerica - impl: impl ConnectorValidation for Bankofamerica - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Bankofamerica - impl: impl ConnectorIntegration< api::SetupMandate, types::SetupMandateRequestData, types::PaymentsResponseData, > for Bankofamerica - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Bankofamerica - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Bankofamerica - impl: impl api::IncomingWebhook for Bankofamerica - mod: pub::transformers **main.rs** Add: - mod: private::bankofamerica **connector_auth.rs** Modify existing code
feat(routing): Add api-refs for new decision engine endpoints (#8709) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **open_router.rs** Modify existing code **routing.rs** Add: - function: private::deserialize_connector_choices - function: private::from - struct: pub::RoutingEvaluateRequest - struct: pub::RoutingEvaluateResponse - struct: pub::DeRoutableConnectorChoice - struct: pub::MetadataValue - struct: pub::NumberComparison - enum: pub::ValueType - enum: pub::ComparisonType - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateRequest - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateResponse - impl: impl From<DeRoutableConnectorChoice> for RoutableConnectorChoice **openapi.rs** Modify existing code **routing.rs** Add: - function: private::deserialize_connector_choices - function: private::from - struct: pub::RoutingEvaluateRequest - struct: pub::RoutingEvaluateResponse - struct: pub::DeRoutableConnectorChoice - struct: pub::MetadataValue - struct: pub::NumberComparison - enum: pub::ValueType - enum: pub::ComparisonType - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateRequest - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateResponse - impl: impl From<DeRoutableConnectorChoice> for RoutableConnectorChoice **utils.rs** Remove: - function: private::deserialize_connector_choices - function: private::from - struct: pub::RoutingEvaluateRequest - struct: pub::RoutingEvaluateResponse - struct: pub::DeRoutableConnectorChoice - struct: pub::MetadataValue - struct: pub::NumberComparison - enum: pub::ValueType - enum: pub::ComparisonType - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateRequest - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateResponse - impl: impl From<DeRoutableConnectorChoice> for RoutableConnectorChoice **routing.rs** Add: - function: private::deserialize_connector_choices - function: private::from - struct: pub::RoutingEvaluateRequest - struct: pub::RoutingEvaluateResponse - struct: pub::DeRoutableConnectorChoice - struct: pub::MetadataValue - struct: pub::NumberComparison - enum: pub::ValueType - enum: pub::ComparisonType - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateRequest - impl: impl common_utils::events::ApiEventMetric for RoutingEvaluateResponse - impl: impl From<DeRoutableConnectorChoice> for RoutableConnectorChoice
feat(connector): [Iatapay] Implement AccessTokenAuth, Authorize, PSync, Refund, RSync and testcases (#1034) Co-authored-by: arvindpatel24 <arvind.patel@juspay.in> Co-authored-by: Anji Reddy <anji.reddy@juspay.in> Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::iatapay **iatapay.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_url - function: private::get_content_type - 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_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_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 - struct: pub::Iatapay - impl: impl api::Payment for Iatapay - impl: impl api::PaymentSession for Iatapay - impl: impl api::ConnectorAccessToken for Iatapay - impl: impl api::PreVerify for Iatapay - impl: impl api::PaymentAuthorize for Iatapay - impl: impl api::PaymentSync for Iatapay - impl: impl api::PaymentCapture for Iatapay - impl: impl api::PaymentVoid for Iatapay - impl: impl api::Refund for Iatapay - impl: impl api::RefundExecute for Iatapay - impl: impl api::RefundSync for Iatapay - impl: impl api::PaymentToken for Iatapay - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Iatapay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Iatapay - impl: impl ConnectorCommon for Iatapay - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Iatapay - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Iatapay - impl: impl api::IncomingWebhook for Iatapay - mod: private::transformers **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::get_redirect_url - 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::IatapayAuthUpdateRequest - struct: pub::IatapayAuthUpdateResponse - struct: pub::RedirectUrls - struct: pub::IatapayPaymentsRequest - struct: pub::IatapayAuthType - struct: pub::RedirectUrl - struct: pub::CheckoutMethod - struct: pub::IatapayPaymentsResponse - struct: pub::IatapayRefundRequest - struct: pub::RefundResponse - struct: pub::IatapayErrorResponse - struct: pub::IatapayAccessTokenErrorResponse - enum: pub::IatapayPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::RefreshTokenRouterData> for IatapayAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, IatapayAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for IatapayAuthType - impl: impl From<IatapayPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, IatapayPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for IatapayRefundRequest - 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> **utils.rs** Add: - function: private::get_webhook_url **flows.rs** Modify existing code **helpers.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::get_redirect_url - 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::IatapayAuthUpdateRequest - struct: pub::IatapayAuthUpdateResponse - struct: pub::RedirectUrls - struct: pub::IatapayPaymentsRequest - struct: pub::IatapayAuthType - struct: pub::RedirectUrl - struct: pub::CheckoutMethod - struct: pub::IatapayPaymentsResponse - struct: pub::IatapayRefundRequest - struct: pub::RefundResponse - struct: pub::IatapayErrorResponse - struct: pub::IatapayAccessTokenErrorResponse - enum: pub::IatapayPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::RefreshTokenRouterData> for IatapayAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, IatapayAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for IatapayAuthType - impl: impl From<IatapayPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, IatapayPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for IatapayRefundRequest - 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> **utils.rs** Add: - function: private::get_webhook_url **types.rs** Modify existing code **api.rs** Modify existing code **webhooks.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::get_redirect_url - 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::IatapayAuthUpdateRequest - struct: pub::IatapayAuthUpdateResponse - struct: pub::RedirectUrls - struct: pub::IatapayPaymentsRequest - struct: pub::IatapayAuthType - struct: pub::RedirectUrl - struct: pub::CheckoutMethod - struct: pub::IatapayPaymentsResponse - struct: pub::IatapayRefundRequest - struct: pub::RefundResponse - struct: pub::IatapayErrorResponse - struct: pub::IatapayAccessTokenErrorResponse - enum: pub::IatapayPaymentStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::RefreshTokenRouterData> for IatapayAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, IatapayAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for IatapayPaymentsRequest - impl: impl TryFrom<&types::ConnectorAuthType> for IatapayAuthType - impl: impl From<IatapayPaymentStatus> for enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, IatapayPaymentsResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for IatapayRefundRequest - 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> **aci.rs** Modify existing code **authorizedotnet.rs** Modify existing code **connector_auth.rs** Modify existing code **dlocal.rs** Modify existing code **iatapay.rs** Add: - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_url - function: private::get_content_type - 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_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_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 - struct: pub::Iatapay - impl: impl api::Payment for Iatapay - impl: impl api::PaymentSession for Iatapay - impl: impl api::ConnectorAccessToken for Iatapay - impl: impl api::PreVerify for Iatapay - impl: impl api::PaymentAuthorize for Iatapay - impl: impl api::PaymentSync for Iatapay - impl: impl api::PaymentCapture for Iatapay - impl: impl api::PaymentVoid for Iatapay - impl: impl api::Refund for Iatapay - impl: impl api::RefundExecute for Iatapay - impl: impl api::RefundSync for Iatapay - impl: impl api::PaymentToken for Iatapay - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Iatapay - impl: impl ConnectorCommonExt<Flow, Request, Response> for Iatapay - impl: impl ConnectorCommon for Iatapay - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Iatapay - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Iatapay - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Iatapay - impl: impl api::IncomingWebhook for Iatapay - mod: private::transformers **main.rs** Add: - mod: private::iatapay **utils.rs** Add: - function: private::get_webhook_url **enums.rs** Modify existing code
feat(coingate): Add Crypto Pay Flow (#7247) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **coingate.rs** Remove: - function: private::get_url - 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_request_body - impl: impl ConnectorValidation for Coingate - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Coingate Add: - function: private::build_request - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Err(errors::ConnectorError::FlowNotSupported { flow: "Void".to_string(), connector: "Coingate".to_string(), } .into()) fn build_request( Err(errors::ConnectorError::FlowNotSupported { flow: "RefundSync".to_string(), connector: "Coingate".to_string(), } .into()) fn build_request( Err(errors::ConnectorError::FlowNotSupported { flow: "Refund".to_string(), connector: "Coingate".to_string(), } .into()) } impl ConnectorValidation for Coingate { fn validate_connector_against_payment_request( &self, capture_method: Option<CaptureMethod>, _payment_method: PaymentMethod, _pmt: Option<PaymentMethodType>, ) -> CustomResult<(), errors::ConnectorError> **transformers.rs** Remove: - function: private::from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::CoingateCard - struct: pub::CoingateRefundRequest - struct: pub::RefundResponse - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for CoingateRouterData<T> - impl: impl TryFrom<&CoingateRouterData<&RefundsRouterData<F>>> for CoingateRefundRequest - 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> **admin.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Remove: - function: private::from - function: private::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::CoingateCard - struct: pub::CoingateRefundRequest - struct: pub::RefundResponse - enum: pub::RefundStatus - impl: impl From<(StringMinorUnit, T)> for CoingateRouterData<T> - impl: impl TryFrom<&CoingateRouterData<&RefundsRouterData<F>>> for CoingateRefundRequest - 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>
feat(connector): [noon] add revoke mandate (#3487)
Files to modify: **noon.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: private::get_request_body - function: private::handle_response - function: private::get_error_response - impl: impl api::ConnectorMandateRevoke for Noon - impl: impl ConnectorIntegration< api::MandateRevoke, types::MandateRevokeRequestData, types::MandateRevokeResponseData, > for Noon **transformers.rs** Remove: - struct: pub::NoonSubscriptionResponse Add: - function: private::try_from - function: private::try_from - struct: pub::NoonSubscriptionObject - struct: pub::NoonCancelSubscriptionObject - struct: pub::NoonRevokeMandateResult - struct: pub::NoonRevokeMandateResponse - enum: pub::NoonRevokeStatus - impl: impl TryFrom<&types::MandateRevokeRouterData> for NoonRevokeMandateRequest - impl: impl TryFrom< types::ResponseRouterData< F, NoonRevokeMandateResponse, types::MandateRevokeRequestData, types::MandateRevokeResponseData, >, > for types::RouterData<F, types::MandateRevokeRequestData, types::MandateRevokeResponseData> **flows.rs** Modify existing code
feat(events): forward the tenant configuration as part of the kafka message (#5224) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **lib.rs** Modify existing code **wrap.rs** Modify existing code **settings.rs** Remove: - impl: impl storage_impl::config::ClickHouseConfig for Tenant Add: - function: private::get_clickhouse_database **kafka_store.rs** Modify existing code **events.rs** Add: - function: pub::add_tenant **app.rs** Remove: - function: pub::get_req_state **api.rs** Modify existing code **kafka.rs** Add: - function: pub::set_tenancy **config.rs** Remove: - trait: pub::ClickHouseConfig
feat(connector): Card non3ds | FINIX (#9680) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **finix.rs** Remove: - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Finix 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_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::should_call_connector_customer - impl: impl api::ConnectorCustomer for Finix - impl: impl ConnectorIntegration<CreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData> for Finix - impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Finix **transformers.rs** Remove: - struct: pub::FinixRouterData - struct: pub::FinixPaymentsRequest Add: - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - struct: pub::FinixRouterData - impl: impl TryFrom<ResponseRouterData<F, FinixIdentityResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData> - impl: impl TryFrom<&FinixRouterData<'_, Authorize, PaymentsAuthorizeData, PaymentsResponseData>> for FinixPaymentsRequest - impl: impl TryFrom<&FinixRouterData<'_, Capture, PaymentsCaptureData, PaymentsResponseData>> for FinixCaptureRequest - mod: pub::request - mod: pub::response **request.rs** Add: - function: pub::new - function: private::from - function: private::fmt - function: pub::is_failure - function: pub::get_flow_for_auth - struct: pub::FinixPaymentsRequest - struct: pub::FinixCaptureRequest - struct: pub::FinixCancelRequest - struct: pub::FinixCaptureAuthorizationRequest - struct: pub::FinixCreateIdentityRequest - struct: pub::FinixIdentityEntity - struct: pub::FinixCreatePaymentInstrumentRequest - struct: pub::FinixCreateRefundRequest - struct: pub::FinixThreeDSecure - struct: pub::FinixAddress - struct: pub::FinixAuthType - enum: pub::FinixId - enum: pub::FinixState - enum: pub::FinixPaymentType - enum: pub::FinixPaymentInstrumentType - enum: pub::FinixCardType - enum: pub::FinixIdentityType - enum: pub::FinixFlow - impl: impl FinixCreateRefundRequest - impl: impl From<String> for FinixId - impl: impl std::fmt::Display for FinixId - impl: impl FinixState - impl: impl FinixFlow **response.rs** Add: - struct: pub::FinixPaymentsResponse - struct: pub::FinixIdentityResponse - struct: pub::FinixInstrumentResponse - struct: pub::FinixErrorResponse - struct: pub::FinixErrorEmbedded - struct: pub::FinixError **default_implementations.rs** Modify existing code **connector_validation.rs** Modify existing code **connector_mapping.rs** Modify existing code **feature_matrix.rs** Modify existing code **connector_transformers.rs** Modify existing code
fix: auto retry once for connection closed (#3426) Co-authored-by: venkatesh.devendran <venkatesh.devendran@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **metrics.rs** Modify existing code **api.rs** Modify existing code **errors.rs** Modify existing code
revert: refactor(pm_list): Update required fields for a payment method (#1724) Co-authored-by: Tinu Hareesswar <tinuhareesswarr@gmail.com>
Files to modify: **enums.rs** Modify existing code **defaults.rs** Modify existing code
feat(ci): add vector to handle logs pipeline (#5021)
Files to modify: **clickhouse.rs** Modify existing code
feat(connector): [Nexixpay] add setup mandate flow (#7532) Co-authored-by: Mrudul Vajpayee <mrudul.vajpayee@mrudulvajpayee-XJWXCWP7HF.local>
Files to modify: **adyen.rs** Modify existing code **transformers.rs** Remove: - function: pub::convert_setup_mandate_router_data_to_authorize_router_data - function: pub::convert_payment_authorize_router_response **nexixpay.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 **transformers.rs** Remove: - function: pub::convert_setup_mandate_router_data_to_authorize_router_data - function: pub::convert_payment_authorize_router_response **utils.rs** Add: - function: private::get_complete_authorize_url - function: private::is_auto_capture - function: pub::convert_setup_mandate_router_data_to_authorize_router_data - function: pub::convert_payment_authorize_router_response **router_request_types.rs** Modify existing code **transformers.rs** Remove: - function: pub::convert_setup_mandate_router_data_to_authorize_router_data - function: pub::convert_payment_authorize_router_response
feat(core): [Nuvei] add stored credentials flag (#9515) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: DEEPANSHU BANSAL <41580413+deepanshu-iiitu@users.noreply.github.com>
Files to modify: **payments.rs** Add: - function: pub::validate_stored_credential **payment_attempt.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **sample_data.rs** Modify existing code **transformers.rs** Add: - function: private::get_is_stored_credential - function: private::get_is_stored_credential - function: private::get_is_stored_credential - function: pub::get_optional_stored_credential - struct: pub::StoredCredentialMode - enum: pub::StoredCredentialModeType - impl: impl StoredCredentialMode **utils.rs** Modify existing code **payment_attempt.rs** Modify existing code **router_request_types.rs** Modify existing code **cards.rs** Modify existing code **helpers.rs** Add: - function: pub::is_stored_credential **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Modify existing code **retry.rs** Modify existing code **transformers.rs** Add: - function: private::get_is_stored_credential - function: private::get_is_stored_credential - function: private::get_is_stored_credential - function: pub::get_optional_stored_credential - struct: pub::StoredCredentialMode - enum: pub::StoredCredentialModeType - impl: impl StoredCredentialMode **events.rs** Modify existing code **types.rs** Modify existing code **verify_connector.rs** Modify existing code **payment_attempt.rs** Modify existing code **sample_data.rs** Modify existing code **utils.rs** Modify existing code **payments.rs** Add: - function: pub::validate_stored_credential **payments2.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code
feat(router): add `connector_transaction_id` in error_response from connector flows (#2972)
Files to modify: **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code **aci.rs** Modify existing code **adyen.rs** Modify existing code **transformers.rs** Modify existing code **airwallex.rs** Modify existing code **authorizedotnet.rs** Modify existing code **transformers.rs** Modify existing code **bambora.rs** Modify existing code **bankofamerica.rs** Modify existing code **transformers.rs** Modify existing code **bitpay.rs** Modify existing code **bluesnap.rs** Modify existing code **boku.rs** Modify existing code **braintree.rs** Modify existing code **braintree_graphql_transformers.rs** Modify existing code **cashtocode.rs** Modify existing code **transformers.rs** Modify existing code **checkout.rs** Modify existing code **transformers.rs** Modify existing code **coinbase.rs** Modify existing code **cryptopay.rs** Modify existing code **cybersource.rs** Modify existing code **transformers.rs** Modify existing code **dlocal.rs** Modify existing code **dummyconnector.rs** Modify existing code **fiserv.rs** Modify existing code **forte.rs** Modify existing code **globalpay.rs** Modify existing code **globepay.rs** Modify existing code **transformers.rs** Modify existing code **gocardless.rs** Modify existing code **helcim.rs** Modify existing code **iatapay.rs** Modify existing code **klarna.rs** Modify existing code **mollie.rs** Modify existing code **multisafepay.rs** Modify existing code **transformers.rs** Modify existing code **nexinets.rs** Modify existing code **transformers.rs** Modify existing code **noon.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **opayo.rs** Modify existing code **opennode.rs** Modify existing code **payeezy.rs** Modify existing code **payme.rs** Modify existing code **transformers.rs** Modify existing code **paypal.rs** Modify existing code **payu.rs** Modify existing code **powertranz.rs** Modify existing code **transformers.rs** Modify existing code **prophetpay.rs** Modify existing code **transformers.rs** Modify existing code **rapyd.rs** Modify existing code **transformers.rs** Modify existing code **shift4.rs** Modify existing code **square.rs** Modify existing code **stax.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Modify existing code **trustpay.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **volt.rs** Modify existing code **wise.rs** Modify existing code **worldpay.rs** Modify existing code **zen.rs** Modify existing code **access_token.rs** Modify existing code **payment_response.rs** Modify existing code **retry.rs** Modify existing code **api.rs** Modify existing code **types.rs** Modify existing code **api.rs** Modify existing code **utils.rs** Modify existing code **payment_sync.rs** Modify existing code **payment_attempt.rs** Modify existing code
feat(connector): [Multisafepay] Currency Unit Conversion (#2679)
Files to modify: **multisafepay.rs** Add: - function: private::get_currency_unit **transformers.rs** Add: - function: private::try_from - struct: pub::MultisafepayRouterData - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for MultisafepayRouterData<T>
feat(connector): [AUTHORIZEDOTNET] create connector customer flow added (#8774) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **authorizedotnet.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::ConnectorCustomer for Authorizedotnet - impl: impl ConnectorIntegration<CreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData> for Authorizedotnet **transformers.rs** Remove: - struct: pub::CreateCustomerProfileRequest Add: - struct: pub::CustomerRequest - struct: pub::CreateCustomerPaymentProfileRequest - struct: pub::AuthorizedotnetPaymentProfileRequest - struct: private::PaymentProfile **default_implementations.rs** Modify existing code
fix(router): [CYBS] make payment status optional (#5165) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **cybersource.rs** Modify existing code **transformers.rs** Remove: - struct: pub::CybersourceClientReferenceResponse - enum: pub::CybersourcePaymentsResponse - impl: impl T for (info_response) Add: - struct: private::CybersourcePaymentsResponse
feat(core): add support for api locking with multiple keys for a single api (#8887)
Files to modify: **commands.rs** Add: - function: pub::get_multiple_keys - function: pub::get_and_deserialize_multiple_keys - function: pub::set_multiple_keys_if_not_exists_and_get_values - function: pub::set_key_if_not_exists_and_get_value - function: private::test_set_key_if_not_exists_and_get_value_new_key - function: private::test_set_key_if_not_exists_and_get_value_existing_key - function: private::test_set_key_if_not_exists_and_get_value_with_default_ttl - function: private::test_set_key_if_not_exists_and_get_value_concurrent_access - function: private::test_get_multiple_keys_success - function: private::test_get_multiple_keys_with_missing_keys - function: private::test_get_multiple_keys_empty_input - function: private::test_get_and_deserialize_multiple_keys - struct: private::TestData **lib.rs** Add: - function: pub::get_transaction **types.rs** Add: - function: pub::is_key_deleted - function: pub::is_key_not_deleted - function: pub::get_value - enum: pub::SetGetReply - impl: impl DelReply - impl: impl SetGetReply<T> **api_locking.rs** Modify existing code **payments.rs** Modify existing code
fix(router): remove 'connectors_pecking_order' from readmes and tests (#397)
Files to modify: **utils.rs** Modify existing code
fix(router): make customer details None in the `Psync` flow if the customer is deleted (#5732) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **helpers.rs** Add: - function: pub::get_customer_details_even_for_redacted_customer - function: pub::get_customer_details_even_for_redacted_customer **operations.rs** Modify existing code **transformers.rs** Modify existing code **customers.rs** Add: - function: private::find_customer_optional_with_redacted_customer_details_by_customer_id_merchant_id - function: private::find_customer_optional_with_redacted_customer_details_by_customer_id_merchant_id - function: private::find_customer_optional_with_redacted_customer_details_by_customer_id_merchant_id **kafka_store.rs** Add: - function: private::find_customer_optional_with_redacted_customer_details_by_customer_id_merchant_id
feat(connector): Integrate PAZE Wallet (#6030)
Files to modify: **admin.rs** Modify existing code **payments.rs** Add: - struct: private::PazeWalletData - struct: pub::PazeSessionTokenData - struct: pub::PazeMetadata **enums.rs** Modify existing code **transformers.rs** Modify existing code **transformer.rs** Modify existing code **enums.rs** Modify existing code **lowering.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 **utils.rs** Modify existing code **payment_method_data.rs** Add: - struct: pub::PazeWalletData **router_data.rs** Modify existing code **mca.rs** Modify existing code **transformers.rs** Modify existing code **openapi.rs** Modify existing code **openapi_v2.rs** Modify existing code **secrets_transformers.rs** Add: - function: private::convert_to_raw_secret - impl: impl SecretsHandler for settings::PazeDecryptConfig **settings.rs** Add: - struct: pub::PazeDecryptConfig **validations.rs** Add: - function: pub::validate - impl: impl super::settings::PazeDecryptConfig **transformers.rs** Modify existing code **adyen.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 **klarna.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 **utils.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **errors.rs** Add: - enum: pub::PazeDecryptionError **payments.rs** Add: - struct: private::PazeWalletData - struct: pub::PazeSessionTokenData - struct: pub::PazeMetadata **session_flow.rs** Add: - function: private::create_paze_session_token **helpers.rs** Add: - function: pub::decrypt_paze_token - struct: pub::JwsBody **payment_session.rs** Modify existing code **tokenization.rs** Modify existing code **api.rs** Modify existing code **transformers.rs** Modify existing code
feat(payouts): implement list and filter APIs (#3651) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kashif <mohammed.kashif@juspay.in>
Files to modify: **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **payments.rs** Remove: - function: private::default_limit **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **enums.rs** Modify existing code **consts.rs** Add: - function: pub::default_payments_list_limit - function: pub::default_payouts_list_limit **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **payout_attempt.rs** Add: - struct: pub::PayoutListFilters **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **payout_attempt.rs** Add: - struct: pub::PayoutListFilters **openapi.rs** Modify existing code **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **transformers.rs** Add: - function: private::foreign_from - impl: impl ForeignFrom<(storage::Payouts, storage::PayoutAttempt)> for api::PayoutCreateResponse **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **helpers.rs** Add: - function: pub::filter_by_constraints **validator.rs** Add: - function: pub::validate_payout_list_request - function: pub::validate_payout_list_request_for_joins **kafka_store.rs** Add: - function: private::get_filters_for_payouts - function: private::filter_payouts_by_constraints - function: private::filter_payouts_and_attempts - function: private::filter_payouts_by_time_range_constraints **app.rs** Modify existing code **lock_utils.rs** Modify existing code **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **types.rs** Modify existing code **payout_attempt.rs** Add: - struct: pub::PayoutListFilters **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters **payout_attempt.rs** Add: - struct: pub::PayoutListFilters **payouts.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PayoutListConstraints - impl: impl ApiEventMetric for PayoutListFilterConstraints - impl: impl ApiEventMetric for PayoutListResponse - impl: impl ApiEventMetric for PayoutListFilters
fix(payments): write a foreign_from implementation for payment_method_data and add missing payment methods in helpers.rs (#1801)
Files to modify: **enums.rs** Modify existing code **helpers.rs** Add: - function: pub::validate_payment_method_type_against_payment_method **transformers.rs** Add: - function: private::foreign_try_from - impl: impl ForeignTryFrom<api_models::payments::PaymentMethodData> for api_enums::PaymentMethod
feat(roles): add list support for roles (#5754)
Files to modify: **user_role.rs** Modify existing code **user.rs** Remove: - struct: pub::ListUsersInEntityResponse - struct: pub::MinimalRoleInfo **user_role.rs** Modify existing code **role.rs** Add: - struct: pub::RoleInfoResponseNew - struct: pub::ListRolesAtEntityLevelRequest - struct: pub::MinimalRoleInfo - enum: pub::RoleCheckType **role.rs** Add: - struct: pub::RoleInfoResponseNew - struct: pub::ListRolesAtEntityLevelRequest - struct: pub::MinimalRoleInfo - enum: pub::RoleCheckType **user_role.rs** Modify existing code **role.rs** Add: - struct: pub::RoleInfoResponseNew - struct: pub::ListRolesAtEntityLevelRequest - struct: pub::MinimalRoleInfo - enum: pub::RoleCheckType **kafka_store.rs** Add: - function: private::list_roles_for_org_by_parameters **role.rs** Add: - struct: pub::RoleInfoResponseNew - struct: pub::ListRolesAtEntityLevelRequest - struct: pub::MinimalRoleInfo - enum: pub::RoleCheckType **app.rs** Modify existing code **lock_utils.rs** Modify existing code **user_role.rs** Modify existing code **types.rs** Modify existing code
feat(payment-link): alternate text for manual captures (#7574) 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 **business_profile.rs** Modify existing code **payment_intent.rs** Modify existing code **lib.rs** Modify existing code **payment_link.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code
feat(router): Add support for network token migration (#6300) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiEventMetric for PaymentMethodMigrateResponse **payment_methods.rs** Add: - struct: pub::PaymentMethodMigrateResponse - struct: pub::MigrateNetworkTokenData - struct: pub::MigrateNetworkTokenDetail **payment_method.rs** Modify existing code **cards.rs** Add: - function: pub::save_network_token_and_update_payment_method **migration.rs** Add: - function: pub::new - function: pub::card_migrated - function: pub::network_token_migrated - function: pub::connector_mandate_details_migrated - function: pub::network_transaction_id_migrated - function: pub::build - function: private::default - struct: pub::RecordMigrationStatus - struct: pub::RecordMigrationStatusBuilder - impl: impl RecordMigrationStatusBuilder - impl: impl Default for RecordMigrationStatusBuilder **tokenization.rs** Modify existing code **payment_methods.rs** Add: - struct: pub::PaymentMethodMigrateResponse - struct: pub::MigrateNetworkTokenData - struct: pub::MigrateNetworkTokenDetail
fix: check if saved payment method and that in request are for the same customer (#260)
Files to modify: **cards.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **operations.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 **locker_mock_up.rs** Modify existing code
fix(connector): [STRIPE] Retrieving Connect Account Id from Mandate Metadata in MITs (#8326) Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
Files to modify: **types.rs** Modify existing code **payments.rs** Modify existing code **types.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - struct: pub::StripeSplitPaymentRequest - impl: impl TryFrom<&PaymentsAuthorizeRouterData> for StripeSplitPaymentRequest **api_error_response.rs** Modify existing code **errors.rs** Modify existing code **errors.rs** Modify existing code **utils.rs** Modify existing code **helpers.rs** Modify existing code **errors.rs** Modify existing code
fix: update amount_capturable based on intent_status and payment flow (#3278)
Files to modify: **utils.rs** Modify existing code **payment_response.rs** Modify existing code **types.rs** Remove: - impl: impl Capturable for PaymentsIncrementalAuthorizationData Add: - function: private::get_captured_amount - function: private::get_amount_capturable - function: private::get_amount_capturable - function: private::get_amount_capturable - function: private::get_amount_capturable - function: private::get_amount_capturable - function: private::get_amount_capturable - impl: impl Capturable for PaymentsIncrementalAuthorizationData
feat(connector): add authorize, capture, void, psync, refund, rsync for PayPal connector (#747) Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com> Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **enums.rs** Modify existing code **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::paypal **paypal.rs** Add: - function: pub::connector_transaction_id - function: pub::get_order_error_response - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_url - function: private::get_content_type - 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_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::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 - function: private::get_flow_type - struct: pub::Paypal - impl: impl api::Payment for Paypal - impl: impl api::PaymentSession for Paypal - impl: impl api::ConnectorAccessToken for Paypal - impl: impl api::PreVerify for Paypal - impl: impl api::PaymentAuthorize for Paypal - impl: impl api::PaymentsCompleteAuthorize for Paypal - impl: impl api::PaymentSync for Paypal - impl: impl api::PaymentCapture for Paypal - impl: impl api::PaymentVoid for Paypal - impl: impl api::Refund for Paypal - impl: impl api::RefundExecute for Paypal - impl: impl api::RefundSync for Paypal - impl: impl Paypal - impl: impl ConnectorCommonExt<Flow, Request, Response> for Paypal - impl: impl ConnectorCommon for Paypal - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Paypal - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration< CompleteAuthorize, types::CompleteAuthorizeData, types::PaymentsResponseData, > for Paypal - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Paypal - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Paypal - impl: impl api::IncomingWebhook for Paypal - impl: impl services::ConnectorRedirectResponse for Paypal - mod: private::transformers **transformers.rs** Add: - function: private::get_address_info - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::foreign_from - function: private::get_id_based_on_intent - 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::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::OrderAmount - struct: pub::PurchaseUnitRequest - struct: pub::Address - struct: pub::CardRequest - struct: pub::PaypalPaymentsRequest - struct: pub::PaypalAuthUpdateRequest - struct: pub::PaypalAuthUpdateResponse - struct: pub::PaypalAuthType - struct: pub::PaymentsCollectionItem - struct: pub::PaymentsCollection - struct: pub::PurchaseUnitItem - struct: pub::PaypalOrdersResponse - struct: pub::PaypalPaymentsSyncResponse - struct: pub::PaypalMeta - struct: pub::PaypalPaymentsCaptureRequest - struct: pub::PaymentCaptureResponse - struct: pub::PaypalPaymentsCancelResponse - struct: pub::PaypalRefundRequest - struct: pub::RefundResponse - struct: pub::RefundSyncResponse - struct: pub::OrderErrorDetails - struct: pub::PaypalOrderErrorResponse - struct: pub::ErrorDetails - struct: pub::PaypalPaymentErrorResponse - struct: pub::PaypalAccessTokenErrorResponse - enum: pub::PaypalPaymentIntent - enum: pub::PaymentSourceItem - enum: pub::PaypalOrderStatus - enum: pub::PaypalPaymentStatus - enum: pub::PaypalCancelStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for PaypalPaymentsRequest - impl: impl TryFrom<&types::RefreshTokenRouterData> for PaypalAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, PaypalAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::ConnectorAuthType> for PaypalAuthType - impl: impl ForeignFrom<(PaypalOrderStatus, PaypalPaymentIntent)> for storage_enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, PaypalOrdersResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsSyncResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for PaypalPaymentsCaptureRequest - impl: impl From<PaypalPaymentStatus> for storage_enums::AttemptStatus - impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<PaymentCaptureResponse>> for types::PaymentsCaptureRouterData - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsCancelResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for PaypalRefundRequest - impl: impl From<RefundStatus> for storage_enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundSyncResponse>> for types::RefundsRouterData<api::RSync> **transformers.rs** Add: - function: private::get_address_info - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::foreign_from - function: private::get_id_based_on_intent - 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::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::OrderAmount - struct: pub::PurchaseUnitRequest - struct: pub::Address - struct: pub::CardRequest - struct: pub::PaypalPaymentsRequest - struct: pub::PaypalAuthUpdateRequest - struct: pub::PaypalAuthUpdateResponse - struct: pub::PaypalAuthType - struct: pub::PaymentsCollectionItem - struct: pub::PaymentsCollection - struct: pub::PurchaseUnitItem - struct: pub::PaypalOrdersResponse - struct: pub::PaypalPaymentsSyncResponse - struct: pub::PaypalMeta - struct: pub::PaypalPaymentsCaptureRequest - struct: pub::PaymentCaptureResponse - struct: pub::PaypalPaymentsCancelResponse - struct: pub::PaypalRefundRequest - struct: pub::RefundResponse - struct: pub::RefundSyncResponse - struct: pub::OrderErrorDetails - struct: pub::PaypalOrderErrorResponse - struct: pub::ErrorDetails - struct: pub::PaypalPaymentErrorResponse - struct: pub::PaypalAccessTokenErrorResponse - enum: pub::PaypalPaymentIntent - enum: pub::PaymentSourceItem - enum: pub::PaypalOrderStatus - enum: pub::PaypalPaymentStatus - enum: pub::PaypalCancelStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for PaypalPaymentsRequest - impl: impl TryFrom<&types::RefreshTokenRouterData> for PaypalAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, PaypalAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::ConnectorAuthType> for PaypalAuthType - impl: impl ForeignFrom<(PaypalOrderStatus, PaypalPaymentIntent)> for storage_enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, PaypalOrdersResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsSyncResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for PaypalPaymentsCaptureRequest - impl: impl From<PaypalPaymentStatus> for storage_enums::AttemptStatus - impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<PaymentCaptureResponse>> for types::PaymentsCaptureRouterData - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsCancelResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for PaypalRefundRequest - impl: impl From<RefundStatus> for storage_enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundSyncResponse>> for types::RefundsRouterData<api::RSync> **utils.rs** Add: - function: private::get_card_expiry_month_year_2_digit_with_delimiter **flows.rs** Modify existing code **transformers.rs** Add: - function: private::get_address_info - function: private::try_from - function: private::try_from - function: private::try_from - function: private::try_from - function: private::foreign_from - function: private::get_id_based_on_intent - 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::try_from - function: private::from - function: private::try_from - function: private::try_from - struct: pub::OrderAmount - struct: pub::PurchaseUnitRequest - struct: pub::Address - struct: pub::CardRequest - struct: pub::PaypalPaymentsRequest - struct: pub::PaypalAuthUpdateRequest - struct: pub::PaypalAuthUpdateResponse - struct: pub::PaypalAuthType - struct: pub::PaymentsCollectionItem - struct: pub::PaymentsCollection - struct: pub::PurchaseUnitItem - struct: pub::PaypalOrdersResponse - struct: pub::PaypalPaymentsSyncResponse - struct: pub::PaypalMeta - struct: pub::PaypalPaymentsCaptureRequest - struct: pub::PaymentCaptureResponse - struct: pub::PaypalPaymentsCancelResponse - struct: pub::PaypalRefundRequest - struct: pub::RefundResponse - struct: pub::RefundSyncResponse - struct: pub::OrderErrorDetails - struct: pub::PaypalOrderErrorResponse - struct: pub::ErrorDetails - struct: pub::PaypalPaymentErrorResponse - struct: pub::PaypalAccessTokenErrorResponse - enum: pub::PaypalPaymentIntent - enum: pub::PaymentSourceItem - enum: pub::PaypalOrderStatus - enum: pub::PaypalPaymentStatus - enum: pub::PaypalCancelStatus - enum: pub::RefundStatus - impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for PaypalPaymentsRequest - impl: impl TryFrom<&types::RefreshTokenRouterData> for PaypalAuthUpdateRequest - impl: impl TryFrom<types::ResponseRouterData<F, PaypalAuthUpdateResponse, T, types::AccessToken>> for types::RouterData<F, T, types::AccessToken> - impl: impl TryFrom<&types::ConnectorAuthType> for PaypalAuthType - impl: impl ForeignFrom<(PaypalOrderStatus, PaypalPaymentIntent)> for storage_enums::AttemptStatus - impl: impl TryFrom<types::ResponseRouterData<F, PaypalOrdersResponse, T, types::PaymentsResponseData>> for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsSyncResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::PaymentsCaptureRouterData> for PaypalPaymentsCaptureRequest - impl: impl From<PaypalPaymentStatus> for storage_enums::AttemptStatus - impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<PaymentCaptureResponse>> for types::PaymentsCaptureRouterData - impl: impl TryFrom< types::ResponseRouterData<F, PaypalPaymentsCancelResponse, T, types::PaymentsResponseData>, > for types::RouterData<F, T, types::PaymentsResponseData> - impl: impl TryFrom<&types::RefundsRouterData<F>> for PaypalRefundRequest - impl: impl From<RefundStatus> for storage_enums::RefundStatus - impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute> - impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundSyncResponse>> for types::RefundsRouterData<api::RSync> **api.rs** Add: - function: private::connector_transaction_id - trait: pub::ConnectorTransactionId **connector_auth.rs** Modify existing code **main.rs** Add: - mod: private::paypal **paypal.rs** Add: - function: pub::connector_transaction_id - function: pub::get_order_error_response - function: private::build_headers - function: private::id - function: private::common_get_content_type - function: private::base_url - function: private::get_auth_header - function: private::build_error_response - function: private::get_url - function: private::get_content_type - 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_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::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 - function: private::get_flow_type - struct: pub::Paypal - impl: impl api::Payment for Paypal - impl: impl api::PaymentSession for Paypal - impl: impl api::ConnectorAccessToken for Paypal - impl: impl api::PreVerify for Paypal - impl: impl api::PaymentAuthorize for Paypal - impl: impl api::PaymentsCompleteAuthorize for Paypal - impl: impl api::PaymentSync for Paypal - impl: impl api::PaymentCapture for Paypal - impl: impl api::PaymentVoid for Paypal - impl: impl api::Refund for Paypal - impl: impl api::RefundExecute for Paypal - impl: impl api::RefundSync for Paypal - impl: impl Paypal - impl: impl ConnectorCommonExt<Flow, Request, Response> for Paypal - impl: impl ConnectorCommon for Paypal - impl: impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::AccessTokenAuth, types::AccessTokenRequestData, types::AccessToken> for Paypal - impl: impl ConnectorIntegration<api::Verify, types::VerifyRequestData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Authorize, types::PaymentsAuthorizeData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration< CompleteAuthorize, types::CompleteAuthorizeData, types::PaymentsResponseData, > for Paypal - impl: impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData> for Paypal - impl: impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Paypal - impl: impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Paypal - impl: impl api::IncomingWebhook for Paypal - impl: impl services::ConnectorRedirectResponse for Paypal - mod: private::transformers **utils.rs** Add: - function: private::get_card_expiry_month_year_2_digit_with_delimiter
feat(router): Added JWT authentication (#346)
Files to modify: **errors.rs** Modify existing code **api_error_response.rs** Modify existing code **authentication.rs** Add: - function: private::authenticate_and_fetch - function: pub::jwt_auth_or - function: private::is_jwt_auth - function: pub::decode_jwt - function: private::get_jwt - function: private::strip_jwt_token - struct: pub::JWTAuth - struct: private::JwtAuthPayloadFetchMerchantAccount - impl: impl AuthenticateAndFetch<storage::MerchantAccount> for JWTAuth
feat(router): add fallback while add card and retrieve card from rust locker (#2888) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Files to modify: **locker_migration.rs** Modify existing code **cards.rs** Modify existing code **transformers.rs** Modify existing code **tokenization.rs** Modify existing code **helpers.rs** Modify existing code
refactor(router): Introduce ApiKeyId id type (#6324)
Files to modify: **api_keys.rs** Modify existing code **events.rs** Modify existing code **id_type.rs** Add: - mod: private::api_key **api_key.rs** Add: - function: pub::generate_key_id - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - impl: impl ApiKeyId - impl: impl crate::events::ApiEventMetric for ApiKeyId - impl: impl crate::events::ApiEventMetric for (super::MerchantId, ApiKeyId) - impl: impl crate::events::ApiEventMetric for (&super::MerchantId, &ApiKeyId) **api_keys.rs** Modify existing code **api_keys.rs** Modify existing code **api_keys.rs** Modify existing code **api_keys.rs** Modify existing code **kafka_store.rs** Modify existing code **api_keys.rs** Modify existing code **authentication.rs** Modify existing code **decision.rs** Modify existing code **detached.rs** Add: - function: private::append_api_key
refactor(connector): Move connectors Forte, Nexinets, Payeezy, Payu and Zen from Router to Hyperswitch Connector Trait (#6261) Co-authored-by: Spriti Aneja <spriti.aneja@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **consts.rs** Modify existing code **connectors.rs** Add: - mod: pub::forte - mod: pub::nexinets - mod: pub::payeezy - mod: pub::payu - mod: pub::zen **forte.rs** Modify existing code **transformers.rs** Modify existing code **nexinets.rs** Modify existing code **transformers.rs** Modify existing code **payeezy.rs** Remove: - mod: private::transformers Add: - mod: pub::transformers **transformers.rs** Modify existing code **payu.rs** Modify existing code **transformers.rs** Modify existing code **zen.rs** Modify existing code **transformers.rs** Modify existing code **constants.rs** Modify existing code **default_implementations.rs** Modify existing code **default_implementations_v2.rs** Modify existing code **utils.rs** Add: - function: pub::to_currency_base_unit_with_zero_decimal_check - function: pub::is_refund_failure - function: private::get_request_id - function: private::get_applepay_decoded_payment_data - function: private::get_wallet_token - function: private::get_wallet_token_as_json - function: private::get_encoded_wallet_token - trait: pub::AccessTokenRequestInfo - trait: pub::ApplePay - trait: pub::WalletData - impl: impl AccessTokenRequestInfo for RefreshTokenRouterData - impl: impl ApplePay for hyperswitch_domain_models::payment_method_data::ApplePayWalletData - impl: impl WalletData for hyperswitch_domain_models::payment_method_data::WalletData **connector.rs** Remove: - mod: pub::forte - mod: pub::nexinets - mod: pub::payeezy - mod: pub::payu - mod: pub::zen **connector_integration_v2_impls.rs** Modify existing code **flows.rs** Modify existing code
fix(payment_method): do not save card in locker in case of error from connector (#1341)
Files to modify: **tokenization.rs** Modify existing code
feat(payment_methods_v2): single use token implementation (#7485) Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com> Co-authored-by: Anurag Thakur <anurag.thakur@juspay.in> Co-authored-by: Pa1NarK <69745008+pixincreate@users.noreply.github.com> Co-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com> Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in> Co-authored-by: Debarati Ghatak <88573135+cookieg13@users.noreply.github.com> Co-authored-by: awasthi21 <107559116+awasthi21@users.noreply.github.com> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Arindam Sahoo <88739246+arindam-sahoo@users.noreply.github.com> Co-authored-by: Arindam Sahoo <arindam.sahoo@Arindam-Sahoo-F565040VFJ.local> Co-authored-by: Sakil Mostak <73734619+Sakilmostak@users.noreply.github.com> Co-authored-by: AkshayaFoiger <131388445+AkshayaFoiger@users.noreply.github.com> Co-authored-by: Riddhiagrawal001 <50551695+Riddhiagrawal001@users.noreply.github.com> Co-authored-by: Suman Maji <77887221+sumanmaji4@users.noreply.github.com> Co-authored-by: Sandeep Kumar <83278309+tsdk02@users.noreply.github.com> Co-authored-by: Debarshi Gupta <debarshigupta47@gmail.com> Co-authored-by: Debarshi Gupta <debarshi.gupta@Debarshi-Gupta-CM92YWDXFD.local> Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com> Co-authored-by: Swangi Kumari <85639103+swangi-kumari@users.noreply.github.com> Co-authored-by: pranav-arjunan <pranav.arjunan@juspay.in> Co-authored-by: Kashif <kashif.dev@protonmail.com> Co-authored-by: Sagnik Mitra <83326850+ImSagnik007@users.noreply.github.com> Co-authored-by: sweta-kumari-sharma <77436883+Sweta-Kumari-Sharma@users.noreply.github.com>
Files to modify: **payment_methods.rs** Add: - function: pub::get_tokenize_connector_id **payment_methods.rs** Add: - function: pub::get_tokenize_connector_id **payment_method_data.rs** Add: - function: private::try_from - function: pub::get_single_use_token_from_payment_method_token - function: pub::store_key - function: pub::get_store_key - struct: pub::SingleUsePaymentMethodToken - struct: pub::SingleUseTokenKey - impl: impl TryFrom<payment_methods::PaymentMethodCreateData> for PaymentMethodData - impl: impl SingleUsePaymentMethodToken - impl: impl SingleUseTokenKey **transformers.rs** Add: - struct: pub::StripeCardToken **consts.rs** Modify existing code **payment_methods.rs** Add: - function: pub::get_tokenize_connector_id **transformers.rs** Add: - struct: pub::StripeCardToken **tokenization.rs** Add: - function: pub::add_token_for_payment_method **types.rs** Add: - struct: pub::PspTokenResult
refactor(payout): move payout quote call to payout core from execute_pretasks (#4900)
Files to modify: **enums.rs** Add: - function: pub::is_payout_quote_call_required **wise.rs** Remove: - function: private::execute_pretasks **authorize_flow.rs** Modify existing code **tokenization.rs** Modify existing code **payouts.rs** Add: - function: private::complete_payout_quote_steps_if_required **retry.rs** Modify existing code **api.rs** Remove: - function: private::execute_pretasks - function: private::execute_posttasks **types.rs** Modify existing code **utils.rs** Modify existing code