prompt stringlengths 14 2.16k | response stringlengths 52 115k |
|---|---|
feat(router): Added amount conversion function in core for connector module (#4710)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com>
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> | Files to modify:
**refunds.rs**
Modify existing code
**errors.rs**
Modify existing code
**types.rs**
Remove:
- struct: pub::ChargeRefunds
Add:
- function: private::convert
- function: private::convert
- function: private::convert
- function: private::convert_back
- function: private::to_major_unit_as_string
- function: private::to_major_unit_as_f64
- function: private::to_minor_unit_as_string
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::new
- function: pub::zero
- function: private::to_minor_unit_as_i64
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::amount_conversion_to_float_major_unit
- function: private::amount_conversion_to_string_major_unit
- function: private::amount_conversion_to_string_minor_unit
- function: private::from_sql
- function: private::to_sql
- struct: pub::StringMinorUnitForConnector
- struct: pub::StringMajorUnitForConnector
- struct: pub::FloatMajorUnitForConnector
- struct: pub::StringMinorUnit
- struct: pub::FloatMajorUnit
- struct: pub::StringMajorUnit
- struct: pub::ChargeRefunds
- impl: impl AmountConvertor for FloatMajorUnitForConnector
- impl: impl StringMinorUnit
- impl: impl FloatMajorUnit
- impl: impl StringMajorUnit
- impl: impl FromSql<Jsonb, DB> for ChargeRefunds
- impl: impl ToSql<Jsonb, diesel::pg::Pg> for ChargeRefunds
- mod: private::amount_conversion_tests
**refund.rs**
Modify existing code
**router_request_types.rs**
Modify existing code
**types.rs**
Remove:
- struct: pub::ChargeRefunds
Add:
- function: private::convert
- function: private::convert
- function: private::convert
- function: private::convert_back
- function: private::to_major_unit_as_string
- function: private::to_major_unit_as_f64
- function: private::to_minor_unit_as_string
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::new
- function: pub::zero
- function: private::to_minor_unit_as_i64
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::amount_conversion_to_float_major_unit
- function: private::amount_conversion_to_string_major_unit
- function: private::amount_conversion_to_string_minor_unit
- function: private::from_sql
- function: private::to_sql
- struct: pub::StringMinorUnitForConnector
- struct: pub::StringMajorUnitForConnector
- struct: pub::FloatMajorUnitForConnector
- struct: pub::StringMinorUnit
- struct: pub::FloatMajorUnit
- struct: pub::StringMajorUnit
- struct: pub::ChargeRefunds
- impl: impl AmountConvertor for FloatMajorUnitForConnector
- impl: impl StringMinorUnit
- impl: impl FloatMajorUnit
- impl: impl StringMajorUnit
- impl: impl FromSql<Jsonb, DB> for ChargeRefunds
- impl: impl ToSql<Jsonb, diesel::pg::Pg> for ChargeRefunds
- mod: private::amount_conversion_tests
**nmi.rs**
Remove:
- struct: pub::Nmi
Add:
- function: pub::new
- struct: pub::Nmi
- impl: impl Nmi
**transformers.rs**
Modify existing code
**stripe.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::convert_amount
- function: pub::convert_back
**errors.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::convert_amount
- function: pub::convert_back
**transformers.rs**
Modify existing code
**refunds.rs**
Modify existing code
**validator.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::convert_amount
- function: pub::convert_back
**refund.rs**
Modify existing code
**refund.rs**
Modify existing code
**types.rs**
Remove:
- struct: pub::ChargeRefunds
Add:
- function: private::convert
- function: private::convert
- function: private::convert
- function: private::convert_back
- function: private::to_major_unit_as_string
- function: private::to_major_unit_as_f64
- function: private::to_minor_unit_as_string
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::new
- function: pub::zero
- function: private::to_minor_unit_as_i64
- function: private::new
- function: private::to_minor_unit_as_i64
- function: private::amount_conversion_to_float_major_unit
- function: private::amount_conversion_to_string_major_unit
- function: private::amount_conversion_to_string_minor_unit
- function: private::from_sql
- function: private::to_sql
- struct: pub::StringMinorUnitForConnector
- struct: pub::StringMajorUnitForConnector
- struct: pub::FloatMajorUnitForConnector
- struct: pub::StringMinorUnit
- struct: pub::FloatMajorUnit
- struct: pub::StringMajorUnit
- struct: pub::ChargeRefunds
- impl: impl AmountConvertor for FloatMajorUnitForConnector
- impl: impl StringMinorUnit
- impl: impl FloatMajorUnit
- impl: impl StringMajorUnit
- impl: impl FromSql<Jsonb, DB> for ChargeRefunds
- impl: impl ToSql<Jsonb, diesel::pg::Pg> for ChargeRefunds
- mod: private::amount_conversion_tests
**api.rs**
Modify existing code
**authentication.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**verify_connector.rs**
Modify existing code
**ext_traits.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**nmi.rs**
Remove:
- struct: pub::Nmi
Add:
- function: pub::new
- struct: pub::Nmi
- impl: impl Nmi
**utils.rs**
Add:
- function: pub::convert_amount
- function: pub::convert_back |
feat(core): [Payouts] Add billing address to payout list (#5004)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payouts.rs**
Modify existing code
**payouts.rs**
Modify existing code
**transformers.rs**
Modify existing code
**utils.rs**
Remove:
- impl: impl GetProfileId for (storage::Payouts, T, F)
Add:
- impl: impl GetProfileId for (storage::Payouts, T, F, R)
**kafka_store.rs**
Modify existing code
**types.rs**
Modify existing code
**transformers.rs**
Modify existing code
**payouts.rs**
Modify existing code
**payouts.rs**
Modify existing code |
refactor(connector): add amount conversion framework for noon (#4843)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com>
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> | Files to modify:
**router_request_types.rs**
Modify existing code
**noon.rs**
Remove:
- struct: pub::Noon
Add:
- function: pub::new
- struct: pub::Noon
- impl: impl Noon
**transformers.rs**
Add:
- function: private::from
- struct: pub::NoonRouterData
- impl: impl From<(StringMajorUnit, T, Option<StringMajorUnit>)> for NoonRouterData<T>
**utils.rs**
Add:
- function: pub::get_mandate_details
**transformers.rs**
Add:
- function: private::from
- struct: pub::NoonRouterData
- impl: impl From<(StringMajorUnit, T, Option<StringMajorUnit>)> for NoonRouterData<T>
**api.rs**
Modify existing code
**noon.rs**
Remove:
- struct: pub::Noon
Add:
- function: pub::new
- struct: pub::Noon
- impl: impl Noon |
refactor(errors): add parsing error types for context info (#911) | Files to modify:
**errors.rs**
Add:
- enum: pub::ParsingError
**ext_traits.rs**
Modify existing code
**commands.rs**
Modify existing code
**adyen.rs**
Modify existing code
**db.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**batch.rs**
Modify existing code
**utils.rs**
Modify existing code
**ext_traits.rs**
Modify existing code |
feat(connectors): fiuu,novalnet,worldpay - extend NTI flows (#6946)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**fiuu.rs**
Modify existing code
**transformers.rs**
Modify existing code
**transformers.rs**
Modify existing code
**worldpay.rs**
Add:
- function: private::get_mandate_details
- function: private::get_network_txn_id
**requests.rs**
Add:
- struct: pub::RawCardDetails
**response.rs**
Modify existing code
**transformers.rs**
Modify existing code
**utils.rs**
Add:
- function: private::get_card_expiry_year_2_digit
- function: private::get_card_issuer
- function: private::get_card_expiry_month_year_2_digit_with_delimiter
- function: private::get_expiry_date_as_yyyymm
- function: private::get_expiry_date_as_mmyyyy
- function: private::get_expiry_year_4_digit
- function: private::get_expiry_date_as_yymm
- function: private::get_expiry_date_as_mmyy
- function: private::get_expiry_month_as_i8
- function: private::get_expiry_year_as_i32
- function: private::get_expiry_year_as_4_digit_i32
- function: private::get_cardholder_name
- impl: impl CardData for CardDetailsForNetworkTransactionId
**payment_connector_required_fields.rs**
Modify existing code |
feat(storage_impl): split payment intent interface implementation (#1946) | Files to modify:
**payments.rs**
Modify existing code
**errors.rs**
Add:
- enum: pub::StorageError
**lib.rs**
Add:
- enum: pub::MerchantStorageScheme
- mod: pub::errors
- mod: pub::mandates
- mod: pub::payments
**mandates.rs**
Add:
- struct: pub::MandateAmountData
- enum: pub::MandateDataType
**payments.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
- struct: pub::PaymentListFilters
- struct: pub::PaymentAttemptNew
- enum: pub::PaymentAttemptUpdate
- trait: pub::PaymentAttemptInterface
**payment_intent.rs**
Add:
- function: pub::apply_changeset
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- struct: pub::PaymentIntent
- struct: pub::PaymentIntentNew
- struct: pub::PaymentIntentUpdateInternal
- enum: pub::PaymentIntentUpdate
- enum: pub::PaymentIntentFetchConstraints
- trait: pub::PaymentIntentInterface
- impl: impl PaymentIntentUpdate
- impl: impl From<PaymentIntentUpdate> for PaymentIntentUpdateInternal
- impl: impl From<api_models::payments::PaymentListConstraints> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::TimeRange> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::PaymentListFilterConstraints> for PaymentIntentFetchConstraints
**zen.rs**
Modify existing code
**admin.rs**
Modify existing code
**errors.rs**
Add:
- enum: pub::StorageError
**utils.rs**
Add:
- function: private::to_not_found_response
- function: private::to_duplicate_response
- impl: impl StorageErrorExt<T, errors::ApiErrorResponse> for error_stack::Result<T, data_models::errors::StorageError>
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_method_validate.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**db.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
- struct: pub::PaymentListFilters
- struct: pub::PaymentAttemptNew
- enum: pub::PaymentAttemptUpdate
- trait: pub::PaymentAttemptInterface
**payment_intent.rs**
Add:
- function: pub::apply_changeset
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- struct: pub::PaymentIntent
- struct: pub::PaymentIntentNew
- struct: pub::PaymentIntentUpdateInternal
- enum: pub::PaymentIntentUpdate
- enum: pub::PaymentIntentFetchConstraints
- trait: pub::PaymentIntentInterface
- impl: impl PaymentIntentUpdate
- impl: impl From<PaymentIntentUpdate> for PaymentIntentUpdateInternal
- impl: impl From<api_models::payments::PaymentListConstraints> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::TimeRange> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::PaymentListFilterConstraints> for PaymentIntentFetchConstraints
**merchant_account.rs**
Modify existing code
**storage.rs**
Remove:
- mod: pub::payment_intent
**enums.rs**
Modify existing code
**payment_intent.rs**
Add:
- function: pub::apply_changeset
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- struct: pub::PaymentIntent
- struct: pub::PaymentIntentNew
- struct: pub::PaymentIntentUpdateInternal
- enum: pub::PaymentIntentUpdate
- enum: pub::PaymentIntentFetchConstraints
- trait: pub::PaymentIntentInterface
- impl: impl PaymentIntentUpdate
- impl: impl From<PaymentIntentUpdate> for PaymentIntentUpdateInternal
- impl: impl From<api_models::payments::PaymentListConstraints> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::TimeRange> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::PaymentListFilterConstraints> for PaymentIntentFetchConstraints
**db_utils.rs**
Modify existing code
**store.rs**
Remove:
- trait: pub::DatabaseStore
Add:
- trait: pub::DatabaseStore
**lib.rs**
Add:
- enum: pub::MerchantStorageScheme
- mod: pub::errors
- mod: pub::mandates
- mod: pub::payments
**metrics.rs**
Modify existing code
**payments.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
- struct: pub::PaymentListFilters
- struct: pub::PaymentAttemptNew
- enum: pub::PaymentAttemptUpdate
- trait: pub::PaymentAttemptInterface
**payment_intent.rs**
Add:
- function: pub::apply_changeset
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- struct: pub::PaymentIntent
- struct: pub::PaymentIntentNew
- struct: pub::PaymentIntentUpdateInternal
- enum: pub::PaymentIntentUpdate
- enum: pub::PaymentIntentFetchConstraints
- trait: pub::PaymentIntentInterface
- impl: impl PaymentIntentUpdate
- impl: impl From<PaymentIntentUpdate> for PaymentIntentUpdateInternal
- impl: impl From<api_models::payments::PaymentListConstraints> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::TimeRange> for PaymentIntentFetchConstraints
- impl: impl From<api_models::payments::PaymentListFilterConstraints> for PaymentIntentFetchConstraints
**utils.rs**
Add:
- function: private::to_not_found_response
- function: private::to_duplicate_response
- impl: impl StorageErrorExt<T, errors::ApiErrorResponse> for error_stack::Result<T, data_models::errors::StorageError> |
feat(payment_methods): pass `required_billing_contact_fields` field in `/session` call based on dynamic fields (#4601)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**enums.rs**
Add:
- function: pub::get_billing_variants
- function: private::eq
- function: private::test_partialeq_for_field_type
- impl: impl FieldType
- impl: impl PartialEq for FieldType
- mod: private::test
**payment_methods.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::GpayBillingAddressParameters
- enum: pub::GpayBillingAddressFormat
**transformer.rs**
Modify existing code
**openapi.rs**
Modify existing code
**transformers.rs**
Modify existing code
**transformers.rs**
Modify existing code
**transformers.rs**
Modify existing code
**session_flow.rs**
Add:
- function: private::is_dynamic_fields_required |
feat(business_profile_v2): business profile v2 create and retrieve endpoint (#5606)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> | Files to modify:
**admin.rs**
Add:
- struct: pub::BusinessProfileCreate
**consts.rs**
Modify existing code
**lib.rs**
Add:
- mod: pub::consts
**consts.rs**
Modify existing code
**errors.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**admin.rs**
Add:
- struct: pub::BusinessProfileCreate
**cards.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**types.rs**
Modify existing code
**helpers.rs**
Modify existing code
**admin.rs**
Add:
- struct: pub::BusinessProfileCreate
**app.rs**
Modify existing code
**routing.rs**
Modify existing code
**admin.rs**
Add:
- struct: pub::BusinessProfileCreate
**payouts.rs**
Add:
- function: private::filter_active_payout_ids_by_constraints |
feat(connector): [Loonio] Implement interac Bank Redirect Payment Method (#9620)
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
**loonio.rs**
Modify existing code
**transformers.rs**
Remove:
- function: private::try_from
- struct: pub::LoonioPaymentsRequest
- struct: pub::LoonioCard
- impl: impl TryFrom<&LoonioRouterData<&PaymentsAuthorizeRouterData>> for LoonioPaymentsRequest
**constants.rs**
Modify existing code
**payment_connector_required_fields.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 |
feat(user): implement entity level authorization (#5819) | Files to modify:
**analytics.rs**
Modify existing code
**consts.rs**
Modify existing code
**user_role.rs**
Modify existing code
**admin.rs**
Modify existing code
**api_keys.rs**
Modify existing code
**blocklist.rs**
Modify existing code
**connector_onboarding.rs**
Modify existing code
**customers.rs**
Modify existing code
**disputes.rs**
Modify existing code
**mandates.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payments.rs**
Modify existing code
**payouts.rs**
Modify existing code
**refunds.rs**
Modify existing code
**routing.rs**
Modify existing code
**user.rs**
Modify existing code
**user_role.rs**
Modify existing code
**verification.rs**
Modify existing code
**verify_connector.rs**
Modify existing code
**webhook_events.rs**
Modify existing code
**authentication.rs**
Remove:
- struct: pub::JWTAuth
**authorization.rs**
Modify existing code
**roles.rs**
Modify existing code
**predefined_roles.rs**
Modify existing code
**user_role.rs**
Modify existing code |
refactor(user_roles): Populate role names and entity names in user role APIs (#5861) | Files to modify:
**user.rs**
Modify existing code
**role.rs**
Modify existing code
**role.rs**
Modify existing code
**analytics.rs**
Modify existing code
**user.rs**
Modify existing code
**user_role.rs**
Modify existing code
**role.rs**
Modify existing code
**kafka_store.rs**
Add:
- function: private::find_role_by_role_id_in_org_scope
**role.rs**
Modify existing code
**roles.rs**
Add:
- function: pub::from_role_id_in_merchant_scope
**user.rs**
Modify existing code
**user_role.rs**
Modify existing code |
refactor(connector): add amount conversion framework to cybersource (#6335)
Co-authored-by: DEEPANSHU BANSAL <41580413+deepanshu-iiitu@users.noreply.github.com> | Files to modify:
**types.rs**
Modify existing code
**cybersource.rs**
Remove:
- struct: pub::Cybersource
Add:
- function: pub::new
- struct: pub::Cybersource
- impl: impl Cybersource
**transformers.rs**
Modify existing code
**api.rs**
Modify existing code
**cybersource.rs**
Remove:
- struct: pub::Cybersource
Add:
- function: pub::new
- struct: pub::Cybersource
- impl: impl Cybersource |
feat(router): added support for optional defend dispute api call and added evidence submission flow for checkout connector (#979) | Files to modify:
**disputes.rs**
Modify existing code
**enums.rs**
Modify existing code
**checkout.rs**
Remove:
- impl: impl ConnectorIntegration<api::Upload, types::UploadFileRequestData, types::UploadFileResponse> for Checkout
Add:
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_form_data
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_url
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- impl: impl api::DefendDispute for Checkout
- impl: impl ConnectorIntegration<api::Upload, types::UploadFileRequestData, types::UploadFileResponse> for Checkout
- impl: impl api::SubmitEvidence for Checkout
- impl: impl ConnectorIntegration<
api::Evidence,
types::SubmitEvidenceRequestData,
types::SubmitEvidenceResponse,
> for Checkout
- impl: impl ConnectorIntegration<api::Defend, types::DefendDisputeRequestData, types::DefendDisputeResponse> for Checkout
**transformers.rs**
Add:
- function: pub::construct_file_upload_request
- function: private::try_from
- struct: pub::FileUploadResponse
- struct: pub::Evidence
- impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence
**stripe.rs**
Modify existing code
**disputes.rs**
Modify existing code
**transformers.rs**
Add:
- function: pub::construct_file_upload_request
- function: private::try_from
- struct: pub::FileUploadResponse
- struct: pub::Evidence
- impl: impl TryFrom<&types::SubmitEvidenceRouterData> for Evidence
**flows.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::construct_defend_dispute_router_data
**types.rs**
Add:
- struct: pub::DefendDisputeRequestData
- struct: pub::DefendDisputeResponse
**disputes.rs**
Modify existing code
**files.rs**
Modify existing code
**enums.rs**
Modify existing code |
feat(payment_methods_v2): implement a barebones version of list customer payment methods v2 (#6649) | Files to modify:
**payment_methods.rs**
Modify existing code
**global_id.rs**
Modify existing code
**payment.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**refunds.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**cards.rs**
Remove:
- function: pub::get_card_details_with_locker_fallback
- function: pub::get_card_details_without_locker_fallback
**payments.rs**
Modify existing code
**lib.rs**
Modify existing code
**app.rs**
Modify existing code
**authentication.rs**
Remove:
- function: pub::check_client_secret_and_get_auth
- function: pub::is_ephemeral_auth
**payment_method.rs**
Add:
- function: pub::get_token_data
- enum: pub::PaymentMethodListContext
- impl: impl PaymentMethodListContext |
feat(pm_list): add required fields for google pay (#3196)
Co-authored-by: Prasunna Soppa <70575890+prasunna09@users.noreply.github.com> | Files to modify:
**defaults.rs**
Modify existing code |
feat(router): add support for payment_type field in payment intent (#2448) | Files to modify:
**payment_methods.rs**
Modify existing code
**payments.rs**
Modify existing code
**enums.rs**
Add:
- enum: pub::PaymentType
**payment_intent.rs**
Modify existing code
**enums.rs**
Add:
- enum: pub::PaymentType
**payment_intent.rs**
Modify existing code
**schema.rs**
Modify existing code
**cards.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::infer_payment_type
**payment_create.rs**
Modify existing code
**openapi.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payment_intent.rs**
Modify existing code |
refactor: remove `Ctx` generic from payments core (#4574) | Files to modify:
**payment_intents.rs**
Modify existing code
**setup_intents.rs**
Modify existing code
**transformers.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**fraud_check_post.rs**
Modify existing code
**payment_methods.rs**
Remove:
- struct: pub::Oss
- trait: pub::PaymentMethodRetrieve
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Remove:
- struct: pub::GetTrackerResponse
Add:
- struct: pub::GetTrackerResponse
**payment_approve.rs**
Modify existing code
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_reject.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**payments_incremental_authorization.rs**
Modify existing code
**retry.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**payments.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**outgoing_webhook_retry.rs**
Modify existing code
**payment_sync.rs**
Modify existing code
**payments.rs**
Modify existing code
**payments2.rs**
Modify existing code
**operation.rs**
Modify existing code |
chore: generate openapi specs for organization endpoint for v1 and v2 (#5648)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**openapi_v2.rs**
Modify existing code
**organization.rs**
Modify existing code |
feat(core): added multiple payment_attempt support for payment_intent (#439)
Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in> | Files to modify:
**lib.rs**
Modify existing code
**transformers.rs**
Modify existing code
**cards.rs**
Modify existing code
**payments.rs**
Modify existing code
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_method_validate.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Add:
- function: pub::get_payment_intent_payment_attempt
**payment_update.rs**
Modify existing code
**refunds.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**db_wrapper.rs**
Remove:
- function: private::get_db_call
- function: private::get_db_call
- function: private::new
- function: private::default
- function: private::query_entity
- function: pub::make_parallel_db_call
- struct: pub::DbCall
- struct: pub::EntityResult
- enum: pub::PaymentAttemptDbCall
- enum: pub::PaymentIntentDbCall
- enum: pub::ConnectorResponseDbCall
- enum: pub::AddressDbCall
- enum: pub::EntityRequest
- enum: pub::Entity
- trait: pub::QueryEntity
- impl: impl PaymentAttemptDbCall
- impl: impl PaymentIntentDbCall
- impl: impl EntityResult
- impl: impl Default for EntityResult
- impl: impl QueryEntity for EntityRequest
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**schema.rs**
Modify existing code |
feat(connector): [ACI] Currency Unit Conversion (#2750) | Files to modify:
**aci.rs**
Add:
- function: private::get_currency_unit
**transformers.rs**
Add:
- function: private::try_from
- struct: pub::AciRouterData
- impl: impl TryFrom<(
&types::api::CurrencyUnit,
types::storage::enums::Currency,
i64,
T,
)> for AciRouterData<T> |
feat(connector_integration): integrate Rapyd connector (#357) | Files to modify:
**enums.rs**
Modify existing code
**settings.rs**
Modify existing code
**connector.rs**
Add:
- mod: pub::rapyd
**rapyd.rs**
Add:
- function: pub::generate_signature
- function: private::id
- function: private::common_get_content_type
- function: private::base_url
- function: private::get_auth_header
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::build_request
- 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
- 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_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_url
- 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::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::Rapyd
- impl: impl Rapyd
- impl: impl ConnectorCommon for Rapyd
- impl: impl api::PaymentAuthorize for Rapyd
- impl: impl services::ConnectorIntegration<
api::Authorize,
types::PaymentsAuthorizeData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::Payment for Rapyd
- impl: impl api::PreVerify for Rapyd
- impl: impl services::ConnectorIntegration<
api::Verify,
types::VerifyRequestData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentVoid for Rapyd
- impl: impl services::ConnectorIntegration<
api::Void,
types::PaymentsCancelData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentSync for Rapyd
- impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Rapyd
- impl: impl api::PaymentCapture for Rapyd
- impl: impl services::ConnectorIntegration<
api::Capture,
types::PaymentsCaptureData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentSession for Rapyd
- impl: impl services::ConnectorIntegration<
api::Session,
types::PaymentsSessionData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::Refund for Rapyd
- impl: impl api::RefundExecute for Rapyd
- impl: impl api::RefundSync for Rapyd
- impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Rapyd
- impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Rapyd
- impl: impl api::IncomingWebhook for Rapyd
- impl: impl services::ConnectorRedirectResponse for Rapyd
- 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
- function: private::try_from
- function: private::try_from
- function: private::try_from
- struct: pub::RapydPaymentsRequest
- struct: pub::PaymentMethodOptions
- struct: pub::PaymentMethod
- struct: pub::PaymentFields
- struct: pub::RapydAuthType
- struct: pub::RapydPaymentsResponse
- struct: pub::Status
- struct: pub::ResponseData
- struct: pub::RapydRefundRequest
- struct: pub::RefundResponse
- struct: pub::RefundResponseData
- struct: pub::CaptureRequest
- enum: pub::RapydPaymentStatus
- enum: pub::RefundStatus
- impl: impl TryFrom<&types::PaymentsAuthorizeRouterData> for RapydPaymentsRequest
- impl: impl TryFrom<&types::ConnectorAuthType> for RapydAuthType
- impl: impl From<transformers::Foreign<(RapydPaymentStatus, String)>> for transformers::Foreign<enums::AttemptStatus>
- impl: impl TryFrom<types::PaymentsResponseRouterData<RapydPaymentsResponse>> for types::PaymentsAuthorizeRouterData
- impl: impl TryFrom<&types::RefundsRouterData<F>> for RapydRefundRequest
- impl: impl From<RefundStatus> for enums::RefundStatus
- impl: impl TryFrom<types::RefundsResponseRouterData<api::Execute, RefundResponse>> for types::RefundsRouterData<api::Execute>
- impl: impl TryFrom<types::RefundsResponseRouterData<api::RSync, RefundResponse>> for types::RefundsRouterData<api::RSync>
- impl: impl TryFrom<&types::PaymentsCaptureRouterData> for CaptureRequest
- impl: impl TryFrom<types::PaymentsCaptureResponseRouterData<RapydPaymentsResponse>> for types::PaymentsCaptureRouterData
- impl: impl TryFrom<types::PaymentsCancelResponseRouterData<RapydPaymentsResponse>> for types::PaymentsCancelRouterData
**consts.rs**
Modify existing code
**api.rs**
Modify existing code
**connector_auth.rs**
Modify existing code
**main.rs**
Add:
- mod: private::rapyd
**rapyd.rs**
Add:
- function: pub::generate_signature
- function: private::id
- function: private::common_get_content_type
- function: private::base_url
- function: private::get_auth_header
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::build_request
- 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
- 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_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_url
- 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::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::Rapyd
- impl: impl Rapyd
- impl: impl ConnectorCommon for Rapyd
- impl: impl api::PaymentAuthorize for Rapyd
- impl: impl services::ConnectorIntegration<
api::Authorize,
types::PaymentsAuthorizeData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::Payment for Rapyd
- impl: impl api::PreVerify for Rapyd
- impl: impl services::ConnectorIntegration<
api::Verify,
types::VerifyRequestData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentVoid for Rapyd
- impl: impl services::ConnectorIntegration<
api::Void,
types::PaymentsCancelData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentSync for Rapyd
- impl: impl services::ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> for Rapyd
- impl: impl api::PaymentCapture for Rapyd
- impl: impl services::ConnectorIntegration<
api::Capture,
types::PaymentsCaptureData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::PaymentSession for Rapyd
- impl: impl services::ConnectorIntegration<
api::Session,
types::PaymentsSessionData,
types::PaymentsResponseData,
> for Rapyd
- impl: impl api::Refund for Rapyd
- impl: impl api::RefundExecute for Rapyd
- impl: impl api::RefundSync for Rapyd
- impl: impl services::ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsResponseData> for Rapyd
- impl: impl services::ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> for Rapyd
- impl: impl api::IncomingWebhook for Rapyd
- impl: impl services::ConnectorRedirectResponse for Rapyd
- mod: private::transformers |
refactor: extract email validation and PII utils to `common_utils` crate (#72) | Files to modify:
**errors.rs**
Add:
- enum: pub::ValidationError
**lib.rs**
Add:
- mod: pub::pii
- mod: pub::validation
**pii.rs**
Modify existing code
**validation.rs**
Add:
- function: pub::validate_email
- function: private::new_tree
- function: private::test_validate_email
- struct: private::ValidEmail
- impl: impl Strategy for ValidEmail
- mod: private::tests
**transformers.rs**
Modify existing code
**errors.rs**
Add:
- enum: pub::ValidationError
**lib.rs**
Add:
- mod: pub::pii
- mod: pub::validation
**utils.rs**
Modify existing code
**ext_traits.rs**
Remove:
- function: pub::validate_email
- function: private::new_tree
- function: private::test_validate_email
- struct: private::ValidEmail
- impl: impl Strategy for ValidEmail
- mod: private::tests |
chore: address Rust 1.80 clippy lints (#5447) | Files to modify:
**events.rs**
Modify existing code
**file_system.rs**
Modify existing code
**payment_intents.rs**
Modify existing code
**refunds.rs**
Modify existing code
**settings.rs**
Remove:
- enum: pub::Subcommand
**transformers.rs**
Remove:
- struct: pub::WalleyData
- struct: pub::PayBrightData
**transformers.rs**
Remove:
- struct: pub::WalleyData
- struct: pub::PayBrightData
**transformers.rs**
Remove:
- struct: pub::WalleyData
- struct: pub::PayBrightData
**response.rs**
Modify existing code
**transformers.rs**
Remove:
- struct: pub::WalleyData
- struct: pub::PayBrightData
**netcetera_types.rs**
Modify existing code
**transformers.rs**
Remove:
- struct: pub::WalleyData
- struct: pub::PayBrightData
**user_role.rs**
Remove:
- function: private::insert_user_role
- function: private::update_user_role_by_user_id_merchant_id
- function: private::find_user_role_by_user_id
- function: private::delete_user_role_by_user_id_merchant_id
- function: private::list_user_roles_by_user_id
- function: private::list_user_roles_by_merchant_id
- impl: impl UserRoleInterface for super::KafkaStore
**payments.rs**
Modify existing code
**refunds.rs**
Modify existing code
**api.rs**
Modify existing code
**lib.rs**
Modify existing code |
feat(router): [BOA] implement mandates for cards and wallets (#4232)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**bankofamerica.rs**
Add:
- 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
**transformers.rs**
Add:
- function: private::try_from
- function: private::try_from
- function: private::try_from
- struct: pub::BankOfAmericaAuthorizationOptions
- struct: pub::BankOfAmericaPaymentInitiator
- struct: pub::MerchantInitiatedTransaction
- struct: pub::MandatePaymentInformation
- enum: pub::BankOfAmericaActionsList
- enum: pub::BankOfAmericaActionsTokenType
- enum: pub::BankOfAmericaPaymentInitiatorTypes
- impl: impl TryFrom<
types::ResponseRouterData<
F,
BankOfAmericaSetupMandatesResponse,
T,
types::PaymentsResponseData,
>,
> for types::RouterData<F, T, types::PaymentsResponseData>
- impl: impl TryFrom<(&domain::PaymentMethodData, String)> for BankOfAmericaAuthSetupRequest
**utils.rs**
Add:
- function: private::is_card |
feat(core): Payments core modification for open banking connectors (#3947)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Add:
- function: private::get_payment_method_type
- enum: pub::OpenBankingData
- impl: impl GetPaymentMethodType for OpenBankingData
**enums.rs**
Modify existing code
**transformers.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
**payment_method_data.rs**
Add:
- enum: pub::OpenBankingData
**payments.rs**
Add:
- function: private::get_payment_method_type
- enum: pub::OpenBankingData
- impl: impl GetPaymentMethodType for OpenBankingData
**router_request_types.rs**
Add:
- function: private::try_from
- struct: pub::PaymentsPostProcessingData
- impl: impl TryFrom<RouterData<F, PaymentsAuthorizeData, response_types::PaymentsResponseData>> for PaymentsPostProcessingData
**router_response_types.rs**
Modify existing code
**mca.rs**
Modify existing code
**transformers.rs**
Modify existing code
**openapi.rs**
Modify existing code
**types.rs**
Modify existing code
**types.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
**braintree_graphql_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
**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
**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
**transformers.rs**
Modify existing code
**transformers.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**checkout_flow.rs**
Modify existing code
**record_return.rs**
Modify existing code
**sale_flow.rs**
Modify existing code
**transaction_flow.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payments.rs**
Add:
- function: private::get_payment_method_type
- enum: pub::OpenBankingData
- impl: impl GetPaymentMethodType for OpenBankingData
**connector_integration_v2_impls.rs**
Add:
- impl: impl api::PaymentsPostProcessingV2 for connector::DummyConnector<T>
- impl: impl services::ConnectorIntegrationV2<
api::PostProcessing,
types::PaymentFlowData,
types::PaymentsPostProcessingData,
types::PaymentsResponseData,
> for connector::DummyConnector<T>
- impl: impl api::PaymentsPostProcessingV2 for $connector
- impl: impl services::ConnectorIntegrationV2<
api::PostProcessing,
types::PaymentFlowData,
types::PaymentsPostProcessingData,
types::PaymentsResponseData,
> for $connector
**flows.rs**
Add:
- function: private::postprocessing_steps
- impl: impl api::PaymentsPostProcessing for connector::DummyConnector<T>
- impl: impl services::ConnectorIntegration<
api::PostProcessing,
types::PaymentsPostProcessingData,
types::PaymentsResponseData,
> for connector::DummyConnector<T>
**approve_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**authorize_flow.rs**
Add:
- function: private::get_merchant_recipient_data
- function: private::postprocessing_steps
- function: pub::authorize_postprocessing_steps
**cancel_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**capture_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**complete_authorize_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**incremental_authorization_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**psync_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**reject_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**session_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**setup_mandate_flow.rs**
Add:
- function: private::get_merchant_recipient_data
**helpers.rs**
Add:
- function: pub::get_additional_merchant_data
- function: pub::get_recipient_id_for_open_banking
**payment_response.rs**
Modify existing code
**retry.rs**
Modify existing code
**transformers.rs**
Modify existing code
**payout_link.rs**
Modify existing code
**types.rs**
Modify existing code
**payments.rs**
Add:
- function: private::get_payment_method_type
- enum: pub::OpenBankingData
- impl: impl GetPaymentMethodType for OpenBankingData
**payments_v2.rs**
Add:
- trait: pub::PaymentsPostProcessingV2
**transformers.rs**
Modify existing code
**cashtocode.rs**
Modify existing code
**utils.rs**
Modify existing code |
refactor(connector): update error handling for Paypal, Checkout, Mollie to include detailed messages (#1150) | Files to modify:
**checkout.rs**
Modify existing code
**mollie.rs**
Modify existing code
**paypal.rs**
Modify existing code
**checkout.rs**
Modify existing code
**paypal.rs**
Modify existing code |
refactor(kms): share a KMS client for all KMS operations (#744) | Files to modify:
**settings.rs**
Add:
- struct: pub::Kms
**validations.rs**
Remove:
- function: pub::validate
- impl: impl super::settings::Jwekey
Add:
- function: pub::validate
- impl: impl super::settings::Kms
**api_keys.rs**
Modify existing code
**errors.rs**
Add:
- enum: pub::KmsError
**cards.rs**
Modify existing code
**transformers.rs**
Modify existing code
**vault.rs**
Modify existing code
**api_keys.rs**
Modify existing code
**app.rs**
Modify existing code
**services.rs**
Modify existing code
**authentication.rs**
Modify existing code
**encryption.rs**
Modify existing code
**kms.rs**
Remove:
- function: pub::get_kms_decrypted_key
- struct: pub::KeyHandler
Add:
- function: pub::get_kms_client
- struct: pub::KmsClient |
chore(openapi): resolve openapi semantic inconsistency (#8099) | Files to modify:
**organization.rs**
Modify existing code
**mandates.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**payment_method.rs**
Modify existing code
**payments.rs**
Modify existing code
**profile.rs**
Modify existing code
**relay.rs**
Modify existing code
**admin.rs**
Modify existing code |
feat(connector): [Fiuu] Add support for cards recurring payments (#6361)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**fiuu.rs**
Add:
- function: private::validate_mandate_payment
**transformers.rs**
Add:
- function: private::try_from
- function: pub::calculate_check_sum
- function: private::try_from
- struct: pub::FiuuMandateRequest
- struct: pub::FiuuRecurringRequest
- enum: pub::FiuuRecordType
- impl: impl TryFrom<&FiuuRouterData<&PaymentsAuthorizeRouterData>> for FiuuMandateRequest
- impl: impl TryFrom<(&Card, &PaymentsAuthorizeRouterData)> for FiuuPaymentMethodData
**utils.rs**
Add:
- function: private::get_customer_name
**defaults.rs**
Modify existing code
**payment_create.rs**
Modify existing code |
feat(vsaas): modify api key auth to support vsaas cases (#7593)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**customers.rs**
Modify existing code
**payment_intents.rs**
Modify existing code
**refunds.rs**
Modify existing code
**setup_intents.rs**
Modify existing code
**blocklist.rs**
Modify existing code
**cards_info.rs**
Modify existing code
**currency.rs**
Modify existing code
**customers.rs**
Modify existing code
**disputes.rs**
Modify existing code
**ephemeral_key.rs**
Modify existing code
**files.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**mandates.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payments.rs**
Modify existing code
**payouts.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**profiles.rs**
Modify existing code
**refunds.rs**
Modify existing code
**relay.rs**
Modify existing code
**routing.rs**
Modify existing code
**verification.rs**
Modify existing code
**authentication.rs**
Remove:
- struct: pub::ApiKeyAuth
- struct: pub::V2ApiKeyAuth
Add:
- struct: pub::ApiKeyAuth
- struct: pub::V2ApiKeyAuth |
feat(multitenancy): add support for multitenancy and handle the same in router, producer, consumer, drainer and analytics (#4630)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Arun Raj M <jarnura47@gmail.com> | Files to modify:
**lib.rs**
Modify existing code
**sqlx.rs**
Modify existing code
**consts.rs**
Modify existing code
**lib.rs**
Modify existing code
**connection.rs**
Modify existing code
**handler.rs**
Modify existing code
**health_check.rs**
Modify existing code
**lib.rs**
Modify existing code
**main.rs**
Modify existing code
**secrets_transformers.rs**
Modify existing code
**services.rs**
Modify existing code
**settings.rs**
Add:
- function: private::get_username
- function: private::get_password
- function: private::get_host
- function: private::get_port
- function: private::get_dbname
- function: pub::get_tenants
- function: pub::get_tenant_names
- function: pub::get_tenant
- struct: pub::Multitenancy
- struct: pub::TenantConfig
- struct: pub::Tenant
- impl: impl DbConnectionParams for Database
- impl: impl Multitenancy
**api_error_response.rs**
Modify existing code
**commands.rs**
Add:
- function: pub::add_prefix
- function: pub::get_keys_with_prefix
**lib.rs**
Modify existing code
**scheduler.rs**
Add:
- impl: impl ProcessTrackerWorkflows<routes::SessionState> for execute_workflow(state, process.clone())
**customers.rs**
Modify existing code
**errors.rs**
Modify existing code
**wrap.rs**
Modify existing code
**defaults.rs**
Modify existing code
**secrets_transformers.rs**
Modify existing code
**settings.rs**
Add:
- function: private::get_username
- function: private::get_password
- function: private::get_host
- function: private::get_port
- function: private::get_dbname
- function: pub::get_tenants
- function: pub::get_tenant_names
- function: pub::get_tenant
- struct: pub::Multitenancy
- struct: pub::TenantConfig
- struct: pub::Tenant
- impl: impl DbConnectionParams for Database
- impl: impl Multitenancy
**nuvei.rs**
Modify existing code
**shift4.rs**
Modify existing code
**square.rs**
Modify existing code
**wise.rs**
Modify existing code
**admin.rs**
Modify existing code
**api_keys.rs**
Modify existing code
**api_locking.rs**
Modify existing code
**authentication.rs**
Modify existing code
**utils.rs**
Modify existing code
**blocklist.rs**
Modify existing code
**transformers.rs**
Modify existing code
**utils.rs**
Modify existing code
**cache.rs**
Modify existing code
**cards_info.rs**
Modify existing code
**conditional_config.rs**
Modify existing code
**configs.rs**
Modify existing code
**connector_onboarding.rs**
Modify existing code
**paypal.rs**
Modify existing code
**currency.rs**
Modify existing code
**customers.rs**
Modify existing code
**disputes.rs**
Modify existing code
**transformers.rs**
Modify existing code
**files.rs**
Modify existing code
**helpers.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**flows.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
**operation.rs**
Modify existing code
**fraud_check_post.rs**
Modify existing code
**fraud_check_pre.rs**
Modify existing code
**gsm.rs**
Modify existing code
**health_check.rs**
Modify existing code
**locker_migration.rs**
Modify existing code
**mandate.rs**
Modify existing code
**helpers.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**cards.rs**
Modify existing code
**surcharge_decision_configs.rs**
Modify existing code
**vault.rs**
Modify existing code
**payments.rs**
Modify existing code
**access_token.rs**
Modify existing code
**conditional_configs.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
**psync_flow.rs**
Modify existing code
**reject_flow.rs**
Modify existing code
**session_flow.rs**
Modify existing code
**setup_mandate_flow.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Modify existing code
**payment_approve.rs**
Modify existing code
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_reject.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**payments_incremental_authorization.rs**
Modify existing code
**retry.rs**
Modify existing code
**routing.rs**
Modify existing code
**tokenization.rs**
Modify existing code
**transformers.rs**
Modify existing code
**types.rs**
Modify existing code
**payouts.rs**
Modify existing code
**access_token.rs**
Modify existing code
**helpers.rs**
Modify existing code
**retry.rs**
Modify existing code
**validator.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**poll.rs**
Modify existing code
**refunds.rs**
Modify existing code
**routing.rs**
Modify existing code
**surcharge_decision_config.rs**
Modify existing code
**user.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**user_role.rs**
Modify existing code
**role.rs**
Modify existing code
**utils.rs**
Modify existing code
**verification.rs**
Modify existing code
**utils.rs**
Modify existing code
**verify_connector.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**webhook_events.rs**
Modify existing code
**api_keys.rs**
Modify existing code
**kafka_store.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**lib.rs**
Modify existing code
**routes.rs**
Modify existing code
**app.rs**
Remove:
- function: private::store
Add:
- function: private::store
- function: private::conf
- function: private::event_handler
- function: private::get_request_id
- function: private::add_request_id
- function: private::get_store_interface
- function: pub::get_session_state
- trait: pub::SessionStateInfo
- impl: impl SessionStateInfo for SessionState
**customers.rs**
Modify existing code
**core.rs**
Modify existing code
**utils.rs**
Modify existing code
**health.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payments.rs**
Modify existing code
**recon.rs**
Modify existing code
**services.rs**
Modify existing code
**api.rs**
Modify existing code
**client.rs**
Modify existing code
**authentication.rs**
Modify existing code
**blacklist.rs**
Modify existing code
**authorization.rs**
Modify existing code
**roles.rs**
Modify existing code
**types.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**mandates.rs**
Modify existing code
**verify_connector.rs**
Modify existing code
**paypal.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**user.rs**
Modify existing code
**decision_manager.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**utils.rs**
Modify existing code
**connector_onboarding.rs**
Modify existing code
**paypal.rs**
Modify existing code
**currency.rs**
Modify existing code
**user.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**two_factor_auth.rs**
Modify existing code
**user_role.rs**
Modify existing code
**api_key_expiry.rs**
Modify existing code
**attach_payout_account_workflow.rs**
Modify existing code
**outgoing_webhook_retry.rs**
Modify existing code
**payment_sync.rs**
Modify existing code
**refund_router.rs**
Modify existing code
**tokenized_data.rs**
Modify existing code
**cache.rs**
Modify existing code
**aci.rs**
Modify existing code
**utils.rs**
Modify existing code
**payments.rs**
Modify existing code
**payments2.rs**
Modify existing code
**services.rs**
Modify existing code
**consumer.rs**
Add:
- function: pub::consumer_operations
**workflows.rs**
Modify existing code
**errors.rs**
Modify existing code
**producer.rs**
Modify existing code
**scheduler.rs**
Add:
- impl: impl ProcessTrackerWorkflows<routes::SessionState> for execute_workflow(state, process.clone())
**utils.rs**
Modify existing code
**config.rs**
Add:
- function: private::get_username
- function: private::get_password
- function: private::get_host
- function: private::get_port
- function: private::get_dbname
- trait: pub::TenantConfig
- impl: impl DbConnectionParams for Database
**store.rs**
Modify existing code
**lib.rs**
Modify existing code
**cache.rs**
Modify existing code
**pub_sub.rs**
Modify existing code |
feat(vsaas): integrate onboarding flow for vertical saas (#7884) | Files to modify:
**user.rs**
Modify existing code
**organization.rs**
Modify existing code
**user.rs**
Modify existing code
**enums.rs**
Modify existing code
**accounts.rs**
Add:
- enum: pub::MerchantAccountType
- enum: pub::OrganizationType
**merchant_account.rs**
Modify existing code
**organization.rs**
Modify existing code
**schema.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**admin.rs**
Modify existing code
**user.rs**
Modify existing code
**organization.rs**
Modify existing code
**app.rs**
Modify existing code
**lock_utils.rs**
Modify existing code
**user.rs**
Modify existing code
**user.rs**
Modify existing code
**transformers.rs**
Modify existing code
**user.rs**
Modify existing code
**types.rs**
Modify existing code |
refactor(payment_intent_v2): payment intent fields refactoring (#5880)
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Remove:
- function: pub::get_client_secret
- function: private::deserialize
- function: private::expecting
- function: private::visit_str
- function: private::serialize
- function: private::test_serialize_client_secret
- function: private::test_deserialize_client_secret
- struct: pub::ClientSecret
- struct: private::ClientSecretVisitor
- impl: impl ClientSecret
- impl: impl Deserialize<'de> for ClientSecret
- impl: impl Visitor<'de> for ClientSecretVisitor
- impl: impl Serialize for ClientSecret
- mod: private::client_secret_tests
**enums.rs**
Add:
- enum: pub::External3dsAuthenticationRequest
- enum: pub::EnablePaymentLinkRequest
- enum: pub::MitExemptionRequest
- enum: pub::PresenceOfCustomerDuringPayment
**transformers.rs**
Add:
- function: private::from
- function: pub::as_bool
- function: pub::as_bool
- function: private::from
- function: private::from
- function: pub::as_bool
- function: private::from
- function: pub::as_bool
- impl: impl From<Option<bool>> for super::External3dsAuthenticationRequest
- impl: impl super::External3dsAuthenticationRequest
- impl: impl super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::MitExemptionRequest
- impl: impl super::MitExemptionRequest
- impl: impl From<Option<bool>> for super::PresenceOfCustomerDuringPayment
- impl: impl super::PresenceOfCustomerDuringPayment
**consts.rs**
Modify existing code
**id_type.rs**
Remove:
- mod: private::payment_methods
**global_id.rs**
Remove:
- struct: pub::CellId
Add:
- function: pub::get_string_repr
- struct: pub::CellId
- mod: pub::payment
- mod: pub::payment_methods
**payment.rs**
Add:
- function: pub::get_string_repr
- function: private::try_from
- function: private::to_sql
- function: private::from_sql
- struct: pub::GlobalPaymentId
- impl: impl GlobalPaymentId
- impl: impl TryFrom<std::borrow::Cow<'static, str>> for GlobalPaymentId
- impl: impl diesel::serialize::ToSql<diesel::sql_types::Text, DB> for GlobalPaymentId
- impl: impl diesel::deserialize::FromSql<diesel::sql_types::Text, DB> for GlobalPaymentId
**payment_methods.rs**
Remove:
- function: private::get_global_id
- impl: impl diesel::Queryable<diesel::sql_types::Text, DB> for GlobalPaymentMethodId
Add:
- impl: impl diesel::Queryable<sql_types::Text, DB> for GlobalPaymentMethodId
**payment.rs**
Add:
- function: pub::get_string_repr
- function: private::try_from
- function: private::to_sql
- function: private::from_sql
- struct: pub::GlobalPaymentId
- impl: impl GlobalPaymentId
- impl: impl TryFrom<std::borrow::Cow<'static, str>> for GlobalPaymentId
- impl: impl diesel::serialize::ToSql<diesel::sql_types::Text, DB> for GlobalPaymentId
- impl: impl diesel::deserialize::FromSql<diesel::sql_types::Text, DB> for GlobalPaymentId
**types.rs**
Remove:
- struct: pub::Description
Add:
- function: private::to_sql
- function: private::from_sql
- function: pub::get_string_repr
- function: private::deserialize
- function: private::expecting
- function: private::visit_str
- function: private::serialize
- function: private::to_sql
- function: private::from_sql
- function: private::build
- function: private::test_serialize_client_secret
- function: private::test_deserialize_client_secret
- function: pub::from
- function: pub::new_unchecked
- function: private::deserialize
- function: private::from_sql
- function: private::to_sql
- function: private::build
- function: private::from_sql
- struct: pub::Url
- struct: pub::ClientSecret
- struct: private::ClientSecretVisitor
- struct: pub::LengthString
- struct: pub::Description
- struct: pub::StatementDescriptor
- enum: pub::LengthStringError
- impl: impl ToSql<sql_types::Text, DB> for Url
- impl: impl FromSql<sql_types::Text, DB> for Url
- impl: impl ClientSecret
- impl: impl Deserialize<'de> for ClientSecret
- impl: impl Visitor<'de> for ClientSecretVisitor
- impl: impl Serialize for ClientSecret
- impl: impl ToSql<sql_types::Text, diesel::pg::Pg> for ClientSecret
- impl: impl FromSql<sql_types::Text, DB> for ClientSecret
- impl: impl Queryable<sql_types::Text, DB> for ClientSecret
- impl: impl LengthString<MAX_LENGTH, MIN_LENGTH>
- impl: impl Deserialize<'de> for LengthString<MAX_LENGTH, MIN_LENGTH>
- impl: impl FromSql<sql_types::Text, DB> for LengthString<MAX_DESCRIPTION_LENGTH, 1>
- impl: impl Queryable<sql_types::Text, DB> for StatementDescriptor
- impl: impl FromSql<sql_types::Text, DB> for StatementDescriptor
- mod: private::client_secret_type
- mod: private::client_secret_tests
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration
**schema_v2.rs**
Modify existing code
**payments.rs**
Remove:
- function: pub::get_client_secret
- function: private::deserialize
- function: private::expecting
- function: private::visit_str
- function: private::serialize
- function: private::test_serialize_client_secret
- function: private::test_deserialize_client_secret
- struct: pub::ClientSecret
- struct: private::ClientSecretVisitor
- impl: impl ClientSecret
- impl: impl Deserialize<'de> for ClientSecret
- impl: impl Visitor<'de> for ClientSecretVisitor
- impl: impl Serialize for ClientSecret
- mod: private::client_secret_tests
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration
**customers.rs**
Modify existing code
**fraud_check.rs**
Add:
- function: pub::call_frm_service
- function: pub::make_frm_data_and_fraud_check_operation
**fulfillment_flow.rs**
Add:
- function: pub::construct_fulfillment_router_data
**fraud_check_post.rs**
Add:
- function: private::get_trackers
**fraud_check_pre.rs**
Add:
- function: private::get_trackers
**payment_methods.rs**
Remove:
- function: private::get_global_id
- impl: impl diesel::Queryable<diesel::sql_types::Text, DB> for GlobalPaymentMethodId
Add:
- impl: impl diesel::Queryable<sql_types::Text, DB> for GlobalPaymentMethodId
**cards.rs**
Modify existing code
**transformers.rs**
Add:
- function: private::from
- function: pub::as_bool
- function: pub::as_bool
- function: private::from
- function: private::from
- function: pub::as_bool
- function: private::from
- function: pub::as_bool
- impl: impl From<Option<bool>> for super::External3dsAuthenticationRequest
- impl: impl super::External3dsAuthenticationRequest
- impl: impl super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::MitExemptionRequest
- impl: impl super::MitExemptionRequest
- impl: impl From<Option<bool>> for super::PresenceOfCustomerDuringPayment
- impl: impl super::PresenceOfCustomerDuringPayment
**payments.rs**
Remove:
- function: pub::get_client_secret
- function: private::deserialize
- function: private::expecting
- function: private::visit_str
- function: private::serialize
- function: private::test_serialize_client_secret
- function: private::test_deserialize_client_secret
- struct: pub::ClientSecret
- struct: private::ClientSecretVisitor
- impl: impl ClientSecret
- impl: impl Deserialize<'de> for ClientSecret
- impl: impl Visitor<'de> for ClientSecretVisitor
- impl: impl Serialize for ClientSecret
- mod: private::client_secret_tests
**helpers.rs**
Add:
- function: pub::store_payment_method_data_in_vault
- function: pub::authenticate_client_secret
- function: pub::verify_payment_intent_time_and_client_secret
**payment_response.rs**
Add:
- struct: pub::PaymentResponse
**retry.rs**
Modify existing code
**routing.rs**
Modify existing code
**transformers.rs**
Add:
- function: private::from
- function: pub::as_bool
- function: pub::as_bool
- function: private::from
- function: private::from
- function: pub::as_bool
- function: private::from
- function: pub::as_bool
- impl: impl From<Option<bool>> for super::External3dsAuthenticationRequest
- impl: impl super::External3dsAuthenticationRequest
- impl: impl super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::EnablePaymentLinkRequest
- impl: impl From<Option<bool>> for super::MitExemptionRequest
- impl: impl super::MitExemptionRequest
- impl: impl From<Option<bool>> for super::PresenceOfCustomerDuringPayment
- impl: impl super::PresenceOfCustomerDuringPayment
**pm_auth.rs**
Add:
- function: pub::retrieve_payment_method_from_auth_service
**utils.rs**
Add:
- function: pub::construct_refund_router_data
- function: pub::construct_payments_dynamic_tax_calculation_router_data
- function: private::get_profile_id
**utils.rs**
Add:
- function: pub::construct_refund_router_data
- function: pub::construct_payments_dynamic_tax_calculation_router_data
- function: private::get_profile_id
**kafka_store.rs**
Modify existing code
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration
**payment_intent_event.rs**
Modify existing code
**storage.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::construct_refund_router_data
- function: pub::construct_payments_dynamic_tax_calculation_router_data
- function: private::get_profile_id
**lib.rs**
Add:
- function: private::unique_constraints
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration
**payment_intent.rs**
Add:
- struct: pub::PaymentLinkConfigRequestForPayments
- struct: pub::PaymentLinkTransactionDetails
- struct: pub::TransactionDetailsUiConfiguration |
feat: add utility to convert TOML configuration file to list of environment variables (#3096) | Files to modify:
**cli.rs**
Add:
- struct: pub::Args
- enum: pub::OutputFormat
**main.rs**
Add:
- function: private::main
- function: private::process_toml_value
- struct: pub::KubernetesEnvironmentVariable
- mod: private::cli
**basic.rs**
Modify existing code |
feat(core): introduce accounts schema for accounts related tables (#7113)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**organization.rs**
Modify existing code
**settings.rs**
Modify existing code
**settings.rs**
Modify existing code
**connection.rs**
Add:
- function: pub::pg_accounts_connection_read
- function: pub::pg_accounts_connection_write
**admin.rs**
Modify existing code
**user.rs**
Modify existing code
**user_role.rs**
Modify existing code
**db.rs**
Remove:
- trait: pub::CommonStorageInterface
Add:
- function: private::get_accounts_storage_interface
- function: private::get_accounts_storage_interface
- trait: pub::AccountsStorageInterface
- trait: pub::CommonStorageInterface
- impl: impl AccountsStorageInterface for Store
- impl: impl AccountsStorageInterface for MockDb
**kafka_store.rs**
Add:
- function: private::get_accounts_storage_interface
- impl: impl AccountsStorageInterface for KafkaStore
**organization.rs**
Modify existing code
**app.rs**
Modify existing code
**payments.rs**
Modify existing code
**user.rs**
Modify existing code
**theme.rs**
Modify existing code
**config.rs**
Modify existing code
**store.rs**
Add:
- function: private::get_accounts_master_pool
- function: private::get_accounts_replica_pool
- function: private::get_accounts_master_pool
- function: private::get_accounts_replica_pool
**lib.rs**
Add:
- function: private::get_accounts_master_pool
- function: private::get_accounts_replica_pool
- function: private::get_accounts_master_pool
- function: private::get_accounts_replica_pool |
refactor(core): updated payments response with payment_method_id & payment_method_status (#3883)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Modify existing code
**enums.rs**
Add:
- function: private::from
- impl: impl From<AttemptStatus> for PaymentMethodStatus
**payment_attempt.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**openapi.rs**
Modify existing code
**transformers.rs**
Modify existing code
**checkout_flow.rs**
Modify existing code
**fulfillment_flow.rs**
Modify existing code
**record_return.rs**
Modify existing code
**sale_flow.rs**
Modify existing code
**transaction_flow.rs**
Modify existing code
**utils.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**payments.rs**
Modify existing code
**authorize_flow.rs**
Modify existing code
**setup_mandate_flow.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Modify existing code
**payment_approve.rs**
Modify existing code
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_reject.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**payments_incremental_authorization.rs**
Modify existing code
**tokenization.rs**
Modify existing code
**transformers.rs**
Modify existing code
**utils.rs**
Modify existing code
**utils.rs**
Modify existing code
**types.rs**
Modify existing code
**verify_connector.rs**
Modify existing code
**payment_method.rs**
Add:
- struct: pub::PaymentMethodDataWithId
**aci.rs**
Modify existing code
**utils.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code |
feat(connector): [DUMMY_CONNECTOR] crate restructuring (#8372) | Files to modify:
**connectors.rs**
Add:
- mod: pub::dummyconnector
**dummyconnector.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::validate_connector_against_payment_request
- function: private::build_request
- 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::DummyConnector
- impl: impl Payment for DummyConnector<T>
- impl: impl PaymentSession for DummyConnector<T>
- impl: impl ConnectorAccessToken for DummyConnector<T>
- impl: impl MandateSetup for DummyConnector<T>
- impl: impl PaymentAuthorize for DummyConnector<T>
- impl: impl PaymentSync for DummyConnector<T>
- impl: impl PaymentCapture for DummyConnector<T>
- impl: impl PaymentVoid for DummyConnector<T>
- impl: impl Refund for DummyConnector<T>
- impl: impl RefundExecute for DummyConnector<T>
- impl: impl RefundSync for DummyConnector<T>
- impl: impl PaymentToken for DummyConnector<T>
- impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorCommonExt<Flow, Request, Response> for DummyConnector<T>
- impl: impl ConnectorCommon for DummyConnector<T>
- impl: impl ConnectorValidation for DummyConnector<T>
- impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for DummyConnector<T>
- impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for DummyConnector<T>
- impl: impl IncomingWebhook for DummyConnector<T>
- impl: impl ConnectorSpecifications for DummyConnector<T>
- mod: pub::transformers
**transformers.rs**
Remove:
- enum: pub::PaymentMethodData
Add:
- enum: pub::DummyPaymentMethodData
**default_implementations.rs**
Add:
- function: private::get_flow_type
- impl: impl PaymentsCompleteAuthorize for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<CompleteAuthorize, CompleteAuthorizeData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl ConnectorVerifyWebhookSource for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
VerifyWebhookSource,
VerifyWebhookSourceRequestData,
VerifyWebhookSourceResponseData,
> for connectors::DummyConnector<T>
- impl: impl ConnectorCustomer for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<CreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl ConnectorRedirectResponse for connectors::DummyConnector<T>
- impl: impl ConnectorTransactionId for connectors::DummyConnector<T>
- impl: impl Dispute for connectors::DummyConnector<T>
- impl: impl AcceptDispute for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Accept, AcceptDisputeRequestData, AcceptDisputeResponse> for connectors::DummyConnector<T>
- impl: impl FileUpload for connectors::DummyConnector<T>
- impl: impl UploadFile for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Upload, UploadFileRequestData, UploadFileResponse> for connectors::DummyConnector<T>
- impl: impl RetrieveFile for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Retrieve, RetrieveFileRequestData, RetrieveFileResponse> for connectors::DummyConnector<T>
- impl: impl SubmitEvidence for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Evidence, SubmitEvidenceRequestData, SubmitEvidenceResponse> for connectors::DummyConnector<T>
- impl: impl DefendDispute for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Defend, DefendDisputeRequestData, DefendDisputeResponse> for connectors::DummyConnector<T>
- impl: impl PaymentsPreProcessing for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PreProcessing, PaymentsPreProcessingData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentsPostProcessing for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PostProcessing, PaymentsPostProcessingData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl api::Payouts for connectors::DummyConnector<T>
- impl: impl PayoutCreate for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoCreate, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutSync for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoSync, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutEligibility for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoEligibility, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutFulfill for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoFulfill, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutCancel for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoCancel, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutQuote for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoQuote, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutRecipient for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoRecipient, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PayoutRecipientAccount for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PoRecipientAccount, PayoutsData, PayoutsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentApprove for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Approve, PaymentsApproveData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentReject for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Reject, PaymentsRejectData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl FraudCheck for connectors::DummyConnector<T>
- impl: impl FraudCheckSale for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Sale, FraudCheckSaleData, FraudCheckResponseData> for connectors::DummyConnector<T>
- impl: impl FraudCheckCheckout for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Checkout, FraudCheckCheckoutData, FraudCheckResponseData> for connectors::DummyConnector<T>
- impl: impl FraudCheckTransaction for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Transaction, FraudCheckTransactionData, FraudCheckResponseData> for connectors::DummyConnector<T>
- impl: impl FraudCheckFulfillment for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Fulfillment, FraudCheckFulfillmentData, FraudCheckResponseData> for connectors::DummyConnector<T>
- impl: impl FraudCheckRecordReturn for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<RecordReturn, FraudCheckRecordReturnData, FraudCheckResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentIncrementalAuthorization for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
IncrementalAuthorization,
PaymentsIncrementalAuthorizationData,
PaymentsResponseData,
> for connectors::DummyConnector<T>
- impl: impl ConnectorMandateRevoke for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<MandateRevoke, MandateRevokeRequestData, MandateRevokeResponseData> for connectors::DummyConnector<T>
- impl: impl ExternalAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorPreAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorPreAuthenticationVersionCall for connectors::DummyConnector<T>
- impl: impl ConnectorAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorPostAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
Authentication,
ConnectorAuthenticationRequestData,
AuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PreAuthentication, PreAuthNRequestData, AuthenticationResponseData> for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
PreAuthenticationVersionCall,
PreAuthNRequestData,
AuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
PostAuthentication,
ConnectorPostAuthenticationRequestData,
AuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl PaymentAuthorizeSessionToken for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<AuthorizeSessionToken, AuthorizeSessionTokenData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl TaxCalculation for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<CalculateTax, PaymentsTaxCalculationData, TaxCalculationResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentSessionUpdate for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<SdkSessionUpdate, SdkPaymentsSessionUpdateData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentPostSessionTokens for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<PostSessionTokens, PaymentsPostSessionTokensData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentsCreateOrder for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<CreateOrder, CreateOrderRequestData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl PaymentUpdateMetadata for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<UpdateMetadata, PaymentsUpdateMetadataData, PaymentsResponseData> for connectors::DummyConnector<T>
- impl: impl UasPreAuthentication for connectors::DummyConnector<T>
- impl: impl UnifiedAuthenticationService for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
PreAuthenticate,
UasPreAuthenticationRequestData,
UasAuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl UasPostAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
PostAuthenticate,
UasPostAuthenticationRequestData,
UasAuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl UasAuthenticationConfirmation for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
AuthenticationConfirmation,
UasConfirmationRequestData,
UasAuthenticationResponseData,
> for connectors::DummyConnector<T>
- impl: impl UasAuthentication for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<Authenticate, UasAuthenticationRequestData, UasAuthenticationResponseData> for connectors::DummyConnector<T>
- impl: impl RevenueRecovery for connectors::DummyConnector<T>
- impl: impl api::revenue_recovery::BillingConnectorPaymentsSyncIntegration for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
BillingConnectorPaymentsSync,
BillingConnectorPaymentsSyncRequest,
BillingConnectorPaymentsSyncResponse,
> for connectors::DummyConnector<T>
- impl: impl api::revenue_recovery::RevenueRecoveryRecordBack for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
RecoveryRecordBack,
RevenueRecoveryRecordBackRequest,
RevenueRecoveryRecordBackResponse,
> for connectors::DummyConnector<T>
- impl: impl BillingConnectorInvoiceSyncIntegration for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<
BillingConnectorInvoiceSync,
BillingConnectorInvoiceSyncRequest,
BillingConnectorInvoiceSyncResponse,
> for connectors::DummyConnector<T>
- impl: impl ExternalVault for connectors::DummyConnector<T>
- impl: impl ExternalVaultInsert for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<ExternalVaultInsertFlow, VaultRequestData, VaultResponseData> for connectors::DummyConnector<T>
- impl: impl ExternalVaultRetrieve for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<ExternalVaultRetrieveFlow, VaultRequestData, VaultResponseData> for connectors::DummyConnector<T>
- impl: impl ExternalVaultDelete for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<ExternalVaultDeleteFlow, VaultRequestData, VaultResponseData> for connectors::DummyConnector<T>
- impl: impl ExternalVaultCreate for connectors::DummyConnector<T>
- impl: impl ConnectorIntegration<ExternalVaultCreateFlow, VaultRequestData, VaultResponseData> for connectors::DummyConnector<T>
**connector.rs**
Remove:
- mod: pub::dummyconnector
**dummyconnector.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::validate_connector_against_payment_request
- function: private::build_request
- 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::DummyConnector
- impl: impl Payment for DummyConnector<T>
- impl: impl PaymentSession for DummyConnector<T>
- impl: impl ConnectorAccessToken for DummyConnector<T>
- impl: impl MandateSetup for DummyConnector<T>
- impl: impl PaymentAuthorize for DummyConnector<T>
- impl: impl PaymentSync for DummyConnector<T>
- impl: impl PaymentCapture for DummyConnector<T>
- impl: impl PaymentVoid for DummyConnector<T>
- impl: impl Refund for DummyConnector<T>
- impl: impl RefundExecute for DummyConnector<T>
- impl: impl RefundSync for DummyConnector<T>
- impl: impl PaymentToken for DummyConnector<T>
- impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorCommonExt<Flow, Request, Response> for DummyConnector<T>
- impl: impl ConnectorCommon for DummyConnector<T>
- impl: impl ConnectorValidation for DummyConnector<T>
- impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for DummyConnector<T>
- impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for DummyConnector<T>
- impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for DummyConnector<T>
- impl: impl IncomingWebhook for DummyConnector<T>
- impl: impl ConnectorSpecifications for DummyConnector<T>
- mod: pub::transformers
**utils.rs**
Remove:
- function: pub::construct_not_supported_error_report
**admin.rs**
Modify existing code
**flows.rs**
Modify existing code |
test(selenium): read config from `CONNECTOR_AUTH_FILE_PATH` environment variable and fix bugs in UI tests (#1225)
Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in>
Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com> | Files to modify:
**webhooks.rs**
Modify existing code
**transformers.rs**
Add:
- struct: pub::UrlDetails
**stripe.rs**
Modify existing code
**transformers.rs**
Add:
- struct: pub::UrlDetails
**adyen_uk_ui.rs**
Remove:
- impl: impl SeleniumTest for AdyenSeleniumTest
Add:
- function: private::get_connector_name
- impl: impl SeleniumTest for AdyenSeleniumTest
**connector_auth.rs**
Add:
- struct: pub::ConnectorAuthentication
**main.rs**
Remove:
- mod: private::adyen_ui
Add:
- mod: private::adyen_uk_ui
- mod: private::payu_ui
- mod: private::worldline_ui
**nuvei_ui.rs**
Remove:
- impl: impl SeleniumTest for NuveiSeleniumTest
Add:
- function: private::get_connector_name
- impl: impl SeleniumTest for NuveiSeleniumTest
**payu_ui.rs**
Add:
- function: private::get_connector_name
- function: private::should_make_no_3ds_card_payment
- function: private::should_make_gpay_payment
- function: private::should_make_no_3ds_card_payment_test
- function: private::should_make_gpay_payment_test
- struct: private::PayUSeleniumTest
- impl: impl SeleniumTest for PayUSeleniumTest
**selenium.rs**
Modify existing code
**stripe_ui.rs**
Remove:
- impl: impl SeleniumTest for StripeSeleniumTest
Add:
- function: private::get_connector_name
- function: private::should_make_stripe_klarna_payment
- function: private::should_make_afterpay_payment
- function: private::should_make_stripe_alipay_payment
- function: private::should_make_stripe_ideal_bank_redirect_payment
- function: private::should_make_stripe_giropay_bank_redirect_payment
- function: private::should_make_stripe_eps_bank_redirect_payment
- function: private::should_make_stripe_bancontact_card_redirect_payment
- function: private::should_make_stripe_p24_redirect_payment
- function: private::should_make_stripe_sofort_redirect_payment
- function: private::should_make_stripe_ach_bank_debit_payment
- function: private::should_make_stripe_becs_bank_debit_payment
- function: private::should_make_stripe_sepa_bank_debit_payment
- function: private::should_make_stripe_klarna_payment_test
- function: private::should_make_afterpay_payment_test
- function: private::should_make_stripe_alipay_payment_test
- function: private::should_make_stripe_ideal_bank_redirect_payment_test
- function: private::should_make_stripe_giropay_bank_redirect_payment_test
- function: private::should_make_stripe_eps_bank_redirect_payment_test
- function: private::should_make_stripe_bancontact_card_redirect_payment_test
- function: private::should_make_stripe_p24_redirect_payment_test
- function: private::should_make_stripe_sofort_redirect_payment_test
- function: private::should_make_stripe_ach_bank_debit_payment_test
- function: private::should_make_stripe_becs_bank_debit_payment_test
- function: private::should_make_stripe_sepa_bank_debit_payment_test
- impl: impl SeleniumTest for StripeSeleniumTest
**worldline_ui.rs**
Add:
- function: private::get_connector_name
- function: private::should_make_card_non_3ds_payment
- function: private::should_make_worldline_ideal_redirect_payment
- function: private::should_make_worldline_giropay_redirect_payment
- function: private::should_make_worldline_giropay_redirect_payment_test
- function: private::should_make_worldline_ideal_redirect_payment_test
- function: private::should_make_card_non_3ds_payment_test
- struct: private::WorldlineSeleniumTest
- impl: impl SeleniumTest for WorldlineSeleniumTest |
fix(connector): [jpmorgan] 5xx during payment authorize and `cancellation_reason` (#8282)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**jpmorgan.rs**
Add:
- function: private::build_request
**transformers.rs**
Add:
- function: private::from_str
- enum: pub::ReversalReason
- impl: impl FromStr for ReversalReason |
feat(router): add list payment link support (#2805)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kashif <46213975+kashif-m@users.noreply.github.com>
Co-authored-by: Kashif <kashif@protonmail.com>
Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com> | Files to modify:
**events.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::PaymentLinkListConstraints
- struct: pub::PaymentLinkListResponse
**consts.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**schema.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**lib.rs**
Modify existing code
**app.rs**
Modify existing code
**lock_utils.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**api.rs**
Add:
- mod: pub::payment_link
**payment_link.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**transformers.rs**
Modify existing code
**types.rs**
Modify existing code |
feat(authz): Make info APIs support `ParentGroup` (#6440)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**user_role.rs**
Modify existing code
**role.rs**
Add:
- struct: pub::RoleInfoWithParents
- struct: pub::ParentGroupInfo
- struct: pub::GroupsAndResources
**enums.rs**
Modify existing code
**user_role.rs**
Modify existing code
**role.rs**
Add:
- struct: pub::RoleInfoWithParents
- struct: pub::ParentGroupInfo
- struct: pub::GroupsAndResources
**app.rs**
Modify existing code
**lock_utils.rs**
Modify existing code
**user_role.rs**
Modify existing code
**info.rs**
Remove:
- function: pub::get_parent_name
**permission_groups.rs**
Add:
- function: private::get_descriptions_for_groups
**permissions.rs**
Add:
- function: pub::get_resource_name
- function: pub::get_scope_name
**predefined_roles.rs**
Modify existing code
**types.rs**
Modify existing code |
feat(core): Adding integration for webhooks through UCS (#8814) | Files to modify:
**unified_connector_service.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::get_webhook_details
**unified_connector_service.rs**
Modify existing code
**transformers.rs**
Add:
- function: private::foreign_try_from
- function: pub::transform_ucs_webhook_response
- function: pub::build_webhook_transform_request
- struct: pub::WebhookTransformData
- impl: impl ForeignTryFrom<&hyperswitch_interfaces::webhooks::IncomingWebhookRequestDetails<'_>> for payments_grpc::RequestDetails
**incoming.rs**
Add:
- function: private::process_ucs_webhook_transform
- function: private::extract_webhook_event_object
- struct: pub::WebhookProcessingResult |
feat(core): Add Network Details in Payments Response (#9273)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Add:
- struct: pub::NetworkDetails
**payment_attempt.rs**
Add:
- struct: pub::NetworkDetails
**schema.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::NetworkDetails
**openapi.rs**
Modify existing code
**helpers.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**retry.rs**
Modify existing code
**transformers.rs**
Add:
- function: private::foreign_from
- function: private::foreign_from
- function: private::foreign_from
- impl: impl ForeignFrom<DieselNetworkDetails> for NetworkDetails
- impl: impl ForeignFrom<NetworkDetails> for DieselNetworkDetails
- impl: impl ForeignFrom<&hyperswitch_domain_models::router_data::ErrorResponse> for DieselNetworkDetails
**events.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::NetworkDetails
**sample_data.rs**
Modify existing code
**payment_sync.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::NetworkDetails
**payments2.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::NetworkDetails
**payment_attempt.rs**
Add:
- struct: pub::NetworkDetails |
feat(coingate): Add Payment webhooks (#7489) | Files to modify:
**coingate.rs**
Add:
- function: private::get_webhook_source_verification_algorithm
- function: private::get_webhook_source_verification_message
**transformers.rs**
Add:
- function: private::try_from
- struct: pub::CoingateSyncResponse
- impl: impl TryFrom<PaymentsSyncResponseRouterData<CoingateSyncResponse>> for PaymentsSyncRouterData |
feat(core): add backwards compatibility for multiple mca (#866) | Files to modify:
**admin.rs**
Remove:
- struct: pub::MerchantConnector
Add:
- struct: pub::MerchantConnectorCreate
- struct: pub::MerchantConnectorResponse
**admin.rs**
Remove:
- struct: pub::MerchantConnector
Add:
- struct: pub::MerchantConnectorCreate
- struct: pub::MerchantConnectorResponse
**helpers.rs**
Modify existing code
**openapi.rs**
Modify existing code
**admin.rs**
Remove:
- struct: pub::MerchantConnector
Add:
- struct: pub::MerchantConnectorCreate
- struct: pub::MerchantConnectorResponse
**admin.rs**
Remove:
- struct: pub::MerchantConnector
Add:
- struct: pub::MerchantConnectorCreate
- struct: pub::MerchantConnectorResponse
**transformers.rs**
Remove:
- function: private::foreign_try_from
- impl: impl ForeignTryFrom<storage::MerchantConnectorAccount> for api_models::admin::MerchantConnector
Add:
- function: private::foreign_try_from
- impl: impl ForeignTryFrom<storage_models::merchant_connector_account::MerchantConnectorAccount> for api_models::admin::MerchantConnectorResponse |
build(deps): migrate usages of `once_cell` crate to standard library equivalents (#8030)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**request.rs**
Modify existing code
**validate.rs**
Modify existing code
**validation.rs**
Modify existing code
**lib.rs**
Modify existing code
**analyzer.rs**
Modify existing code
**truth.rs**
Modify existing code
**lib.rs**
Modify existing code
**utils.rs**
Modify existing code
**consts.rs**
Modify existing code
**type_encryption.rs**
Modify existing code
**utils.rs**
Modify existing code
**user_role.rs**
Modify existing code
**predefined_roles.rs**
Modify existing code
**user.rs**
Modify existing code
**user_authentication_method.rs**
Modify existing code
**currency.rs**
Modify existing code
**lib.rs**
Modify existing code
**formatter.rs**
Modify existing code
**metrics.rs**
Modify existing code
**logger.rs**
Modify existing code
**cache.rs**
Modify existing code |
refactor(masking): PII improvements (#77) | Files to modify:
**pii.rs**
Modify existing code
**abs.rs**
Remove:
- function: private::peek_cloning
- trait: pub::PeekOptionInterface
- impl: impl PeekOptionInterface<Option<S>> for Option<Secret<S, I>>
Add:
- impl: impl ExposeOptionInterface<Option<S>> for Option<Secret<S, I>>
**bytes.rs**
Modify existing code
**lib.rs**
Modify existing code
**secret.rs**
Modify existing code
**serde.rs**
Modify existing code
**strategy.rs**
Remove:
- function: private::fmt
- struct: pub::NoMasking
- impl: impl Strategy<T> for NoMasking
**string.rs**
Modify existing code
**strong_secret.rs**
Remove:
- struct: pub::StrongSecret
Add:
- function: private::strong_eq
- struct: pub::StrongSecret
- trait: private::StrongEq
- impl: impl StrongEq for String
**transformers.rs**
Modify existing code
**cards.rs**
Modify existing code
**helpers.rs**
Modify existing code
**api.rs**
Modify existing code |
refactor(connector): update error handling for Nexinets, Cybersource (#1151)
Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com> | Files to modify:
**cybersource.rs**
Modify existing code
**transformers.rs**
Add:
- struct: pub::Details
- enum: pub::Reason
**nexinets.rs**
Modify existing code
**connector_auth.rs**
Modify existing code
**cybersource.rs**
Modify existing code
**nexinets.rs**
Modify existing code |
feat(routing): Add API key auth for decision engine endpoints (#8640)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**routing.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 crate::open_router::DecideGatewayResponse
- impl: impl ApiEventMetric for crate::open_router::OpenRouterDecideGatewayRequest
- impl: impl ApiEventMetric for crate::open_router::UpdateScorePayload
- impl: impl ApiEventMetric for crate::open_router::UpdateScoreResponse
**open_router.rs**
Add:
- struct: pub::DecideGatewayResponse
- struct: pub::PriorityLogicOutput
- struct: pub::PriorityLogicData
**utils.rs**
Modify existing code
**routing.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 crate::open_router::DecideGatewayResponse
- impl: impl ApiEventMetric for crate::open_router::OpenRouterDecideGatewayRequest
- impl: impl ApiEventMetric for crate::open_router::UpdateScorePayload
- impl: impl ApiEventMetric for crate::open_router::UpdateScoreResponse
**app.rs**
Modify existing code
**lock_utils.rs**
Modify existing code
**routing.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 crate::open_router::DecideGatewayResponse
- impl: impl ApiEventMetric for crate::open_router::OpenRouterDecideGatewayRequest
- impl: impl ApiEventMetric for crate::open_router::UpdateScorePayload
- impl: impl ApiEventMetric for crate::open_router::UpdateScoreResponse
**types.rs**
Modify existing code |
db: Added ephemeral key functions (#84) | Files to modify:
**commands.rs**
Add:
- function: pub::msetnx
**lib.rs**
Modify existing code
**settings.rs**
Add:
- struct: pub::EphemeralConfig
**db.rs**
Add:
- mod: pub::ephemeral_key
**ephemeral_key.rs**
Add:
- function: private::create_ephemeral_key
- function: private::get_ephemeral_key
- function: private::delete_ephemeral_key
- function: private::create_ephemeral_key
- function: private::get_ephemeral_key
- function: private::delete_ephemeral_key
- trait: pub::EphemeralKeyInterface
- impl: impl EphemeralKeyInterface for Store
- impl: impl EphemeralKeyInterface for MockDb
- mod: private::storage
**payments.rs**
Modify existing code
**api.rs**
Modify existing code |
feat(connector): [payload] introduce no-3ds cards (#8545) | Files to modify:
**connector_enums.rs**
Modify existing code
**connector.rs**
Modify existing code
**payload.rs**
Remove:
- impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Payload
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 ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Payload
- mod: private::requests
- mod: private::responses
**requests.rs**
Add:
- struct: pub::BillingAddress
- struct: pub::PayloadCardsRequestData
- struct: pub::PayloadCard
- struct: pub::PayloadCancelRequest
- struct: pub::PayloadCaptureRequest
- struct: pub::PayloadRefundRequest
- enum: pub::PayloadPaymentsRequest
- enum: pub::TransactionTypes
**responses.rs**
Add:
- struct: pub::PayloadCardsResponseData
- struct: pub::PayloadCardResponse
- struct: pub::RefundsLedger
- struct: pub::PayloadRefundResponse
- struct: pub::PayloadErrorResponse
- enum: pub::PayloadPaymentStatus
- enum: pub::PayloadPaymentsResponse
- enum: pub::AvsResponse
- enum: pub::RefundStatus
**transformers.rs**
Remove:
- struct: pub::PayloadPaymentsRequest
- struct: pub::PayloadCard
- struct: pub::PayloadPaymentsResponse
- struct: pub::RefundResponse
- struct: pub::PayloadErrorResponse
- enum: pub::PayloadPaymentStatus
Add:
- function: private::from
- function: private::from
- function: private::try_from
- impl: impl From<(StringMajorUnit, T)> for PayloadRouterData<T>
- impl: impl From<responses::PayloadPaymentStatus> for common_enums::AttemptStatus
**payment_connector_required_fields.rs**
Modify existing code
**connector_validation.rs**
Modify existing code
**api.rs**
Modify existing code
**transformers.rs**
Remove:
- struct: pub::PayloadPaymentsRequest
- struct: pub::PayloadCard
- struct: pub::PayloadPaymentsResponse
- struct: pub::RefundResponse
- struct: pub::PayloadErrorResponse
- enum: pub::PayloadPaymentStatus
Add:
- function: private::from
- function: private::from
- function: private::try_from
- impl: impl From<(StringMajorUnit, T)> for PayloadRouterData<T>
- impl: impl From<responses::PayloadPaymentStatus> for common_enums::AttemptStatus |
refactor(storage_models): changed CustomResult in storage_models to StorageResult (#158) | Files to modify:
**kv.rs**
Modify existing code
**lib.rs**
Modify existing code
**address.rs**
Modify existing code
**configs.rs**
Modify existing code
**connector_response.rs**
Modify existing code
**customers.rs**
Modify existing code
**events.rs**
Modify existing code
**generics.rs**
Modify existing code
**locker_mock_up.rs**
Modify existing code
**mandate.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payment_method.rs**
Modify existing code
**process_tracker.rs**
Modify existing code
**refund.rs**
Modify existing code
**temp_card.rs**
Modify existing code |
feat(connector): [DLOCAL, MOLLIE, MIFINITY, RAZORPAY, VOLT] add in feature matrix api (#7290)
Co-authored-by: AkshayaFoiger <akshaya.shankar@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: AkshayaFoiger <131388445+AkshayaFoiger@users.noreply.github.com> | Files to modify:
**dlocal.rs**
Remove:
- function: private::validate_connector_against_payment_request
- impl: impl ConnectorValidation for Dlocal
- impl: impl ConnectorSpecifications for Dlocal
Add:
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- impl: impl ConnectorValidation for Dlocal
- impl: impl ConnectorSpecifications for Dlocal
**mifinity.rs**
Remove:
- impl: impl ConnectorSpecifications for Mifinity
Add:
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- impl: impl ConnectorSpecifications for Mifinity
**mollie.rs**
Remove:
- impl: impl ConnectorSpecifications for Mollie
Add:
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- impl: impl ConnectorSpecifications for Mollie
**razorpay.rs**
Remove:
- impl: impl ConnectorSpecifications for Razorpay
Add:
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- impl: impl ConnectorSpecifications for Razorpay
**volt.rs**
Remove:
- impl: impl ConnectorSpecifications for Volt
Add:
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- impl: impl ConnectorSpecifications for Volt |
feat(router): add expand attempts support in payments retrieve response (#1678) | Files to modify:
**payments.rs**
Add:
- struct: pub::PaymentAttemptResponse
**enums.rs**
Modify existing code
**payment_attempt.rs**
Add:
- function: pub::find_by_merchant_id_payment_id
**payment_intents.rs**
Modify existing code
**setup_intents.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::PaymentAttemptResponse
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_method_validate.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**transformers.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**payment_attempt.rs**
Add:
- function: pub::find_by_merchant_id_payment_id
**openapi.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::PaymentAttemptResponse
**transformers.rs**
Modify existing code
**db_utils.rs**
Add:
- function: pub::generate_hscan_pattern_for_attempt |
feat(connector): [AUTHIPAY] Integrate cards non 3ds payments (#8266)
Co-authored-by: yashasvi.kapil <yashasvi.kapil@juspay.in>
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::authipay
**authipay.rs**
Add:
- function: pub::new
- function: pub::generate_authorization_signature
- 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::validate_connector_against_payment_request
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_webhook_object_reference_id
- function: private::get_webhook_event_type
- function: private::get_webhook_resource_object
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- struct: pub::Authipay
- impl: impl Authipay
- impl: impl api::Payment for Authipay
- impl: impl api::PaymentSession for Authipay
- impl: impl api::ConnectorAccessToken for Authipay
- impl: impl api::MandateSetup for Authipay
- impl: impl api::PaymentAuthorize for Authipay
- impl: impl api::PaymentSync for Authipay
- impl: impl api::PaymentCapture for Authipay
- impl: impl api::PaymentVoid for Authipay
- impl: impl api::Refund for Authipay
- impl: impl api::RefundExecute for Authipay
- impl: impl api::RefundSync for Authipay
- impl: impl api::PaymentToken for Authipay
- impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Authipay
- impl: impl ConnectorCommonExt<Flow, Request, Response> for Authipay
- impl: impl ConnectorCommon for Authipay
- impl: impl ConnectorValidation for Authipay
- impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Authipay
- impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Authipay
- impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Authipay
- impl: impl webhooks::IncomingWebhook for Authipay
- impl: impl ConnectorSpecifications for Authipay
- mod: pub::transformers
**transformers.rs**
Add:
- function: private::from
- function: private::try_from
- function: private::try_from
- function: private::from
- function: pub::gateway_response
- function: pub::payment_receipt
- function: private::get_transaction_status
- 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::from
- struct: pub::AuthipayRouterData
- struct: pub::Amount
- struct: pub::AmountComponents
- struct: pub::ExpiryDate
- struct: pub::Card
- struct: pub::PaymentMethod
- struct: pub::SplitShipment
- struct: pub::AuthipayPaymentsRequest
- struct: pub::AuthipayAuthType
- struct: pub::AuthipayTransactionProcessingDetails
- struct: pub::AuthipayGatewayResponse
- struct: pub::AuthipayPaymentReceipt
- struct: pub::AuthipayPaymentsResponse
- struct: pub::PaymentToken
- struct: pub::PaymentMethodDetails
- struct: pub::PaymentCardDetails
- struct: pub::Processor
- struct: pub::AvsResponse
- struct: pub::AuthipayCaptureRequest
- struct: pub::AuthipayVoidRequest
- struct: pub::AuthipayRefundRequest
- struct: pub::ErrorDetailItem
- struct: pub::ErrorDetails
- struct: pub::AuthipayErrorResponse
- enum: pub::AuthipayTransactionStatus
- enum: pub::RefundStatus
- impl: impl From<(FloatMajorUnit, T)> for AuthipayRouterData<T>
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsAuthorizeRouterData>> for AuthipayPaymentsRequest
- impl: impl TryFrom<&ConnectorAuthType> for AuthipayAuthType
- impl: impl From<AuthipayTransactionStatus> for enums::AttemptStatus
- impl: impl AuthipayPaymentsResponse
- impl: impl TryFrom<ResponseRouterData<F, AuthipayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData>
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsCaptureRouterData>> for AuthipayCaptureRequest
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsCancelRouterData>> for AuthipayVoidRequest
- impl: impl TryFrom<&AuthipayRouterData<&RefundsRouterData<F>>> for AuthipayRefundRequest
- 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>
- impl: impl From<&AuthipayErrorResponse> for ErrorResponse
**default_implementations.rs**
Modify existing code
**default_implementations_v2.rs**
Modify existing code
**configs.rs**
Modify existing code
**payment_connector_required_fields.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: pub::gateway_response
- function: pub::payment_receipt
- function: private::get_transaction_status
- 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::from
- struct: pub::AuthipayRouterData
- struct: pub::Amount
- struct: pub::AmountComponents
- struct: pub::ExpiryDate
- struct: pub::Card
- struct: pub::PaymentMethod
- struct: pub::SplitShipment
- struct: pub::AuthipayPaymentsRequest
- struct: pub::AuthipayAuthType
- struct: pub::AuthipayTransactionProcessingDetails
- struct: pub::AuthipayGatewayResponse
- struct: pub::AuthipayPaymentReceipt
- struct: pub::AuthipayPaymentsResponse
- struct: pub::PaymentToken
- struct: pub::PaymentMethodDetails
- struct: pub::PaymentCardDetails
- struct: pub::Processor
- struct: pub::AvsResponse
- struct: pub::AuthipayCaptureRequest
- struct: pub::AuthipayVoidRequest
- struct: pub::AuthipayRefundRequest
- struct: pub::ErrorDetailItem
- struct: pub::ErrorDetails
- struct: pub::AuthipayErrorResponse
- enum: pub::AuthipayTransactionStatus
- enum: pub::RefundStatus
- impl: impl From<(FloatMajorUnit, T)> for AuthipayRouterData<T>
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsAuthorizeRouterData>> for AuthipayPaymentsRequest
- impl: impl TryFrom<&ConnectorAuthType> for AuthipayAuthType
- impl: impl From<AuthipayTransactionStatus> for enums::AttemptStatus
- impl: impl AuthipayPaymentsResponse
- impl: impl TryFrom<ResponseRouterData<F, AuthipayPaymentsResponse, T, PaymentsResponseData>> for RouterData<F, T, PaymentsResponseData>
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsCaptureRouterData>> for AuthipayCaptureRequest
- impl: impl TryFrom<&AuthipayRouterData<&PaymentsCancelRouterData>> for AuthipayVoidRequest
- impl: impl TryFrom<&AuthipayRouterData<&RefundsRouterData<F>>> for AuthipayRefundRequest
- 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>
- impl: impl From<&AuthipayErrorResponse> for ErrorResponse
**authipay.rs**
Add:
- function: pub::new
- function: pub::generate_authorization_signature
- 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::validate_connector_against_payment_request
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::get_webhook_object_reference_id
- function: private::get_webhook_event_type
- function: private::get_webhook_resource_object
- function: private::get_connector_about
- function: private::get_supported_payment_methods
- function: private::get_supported_webhook_flows
- struct: pub::Authipay
- impl: impl Authipay
- impl: impl api::Payment for Authipay
- impl: impl api::PaymentSession for Authipay
- impl: impl api::ConnectorAccessToken for Authipay
- impl: impl api::MandateSetup for Authipay
- impl: impl api::PaymentAuthorize for Authipay
- impl: impl api::PaymentSync for Authipay
- impl: impl api::PaymentCapture for Authipay
- impl: impl api::PaymentVoid for Authipay
- impl: impl api::Refund for Authipay
- impl: impl api::RefundExecute for Authipay
- impl: impl api::RefundSync for Authipay
- impl: impl api::PaymentToken for Authipay
- impl: impl ConnectorIntegration<PaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData> for Authipay
- impl: impl ConnectorCommonExt<Flow, Request, Response> for Authipay
- impl: impl ConnectorCommon for Authipay
- impl: impl ConnectorValidation for Authipay
- impl: impl ConnectorIntegration<Session, PaymentsSessionData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<AccessTokenAuth, AccessTokenRequestData, AccessToken> for Authipay
- impl: impl ConnectorIntegration<SetupMandate, SetupMandateRequestData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Authorize, PaymentsAuthorizeData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Void, PaymentsCancelData, PaymentsResponseData> for Authipay
- impl: impl ConnectorIntegration<Execute, RefundsData, RefundsResponseData> for Authipay
- impl: impl ConnectorIntegration<RSync, RefundsData, RefundsResponseData> for Authipay
- impl: impl webhooks::IncomingWebhook for Authipay
- impl: impl ConnectorSpecifications for Authipay
- mod: pub::transformers
**connector_auth.rs**
Modify existing code |
feat(connector): [Peach Payments] add network token support for connector (#9754)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**transformers.rs**
Remove:
- struct: pub::PeachpaymentsPaymentsRequest
Add:
- function: private::from
- function: private::try_from
- function: private::try_from
- struct: pub::PeachpaymentsPaymentsCardRequest
- struct: pub::CardOnFileData
- struct: pub::EcommerceNetworkTokenPaymentOnlyTransactionData
- struct: pub::NetworkTokenDetails
- enum: pub::PeachpaymentsPaymentsRequest
- enum: pub::EcommercePaymentOnlyTransactionData
- enum: pub::CardNetworkLowercase
- impl: impl From<common_enums::CardNetwork> for CardNetworkLowercase
- impl: impl TryFrom<(
&PeachpaymentsRouterData<&PaymentsAuthorizeRouterData>,
NetworkTokenData,
)> for PeachpaymentsPaymentsRequest
- impl: impl TryFrom<(&PeachpaymentsRouterData<&PaymentsAuthorizeRouterData>, Card)> for PeachpaymentsPaymentsRequest
**network_tokenization.rs**
Modify existing code |
feat(analytics): revamped 3ds auth analytics (#8163)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**auth_events.rs**
Add:
- mod: pub::sankey
**accumulator.rs**
Modify existing code
**core.rs**
Add:
- function: pub::get_sankey
**filters.rs**
Modify existing code
**metrics.rs**
Add:
- mod: private::authentication_exemption_approved_count
- mod: private::authentication_exemption_requested_count
**authentication_attempt_count.rs**
Modify existing code
**authentication_count.rs**
Modify existing code
**authentication_error_message.rs**
Modify existing code
**authentication_exemption_approved_count.rs**
Add:
- function: private::load_metrics
- struct: pub::AuthenticationExemptionApprovedCount
- impl: impl super::AuthEventMetric<T> for AuthenticationExemptionApprovedCount
**authentication_exemption_requested_count.rs**
Add:
- function: private::load_metrics
- struct: pub::AuthenticationExemptionRequestedCount
- impl: impl super::AuthEventMetric<T> for AuthenticationExemptionRequestedCount
**authentication_funnel.rs**
Modify existing code
**authentication_success_count.rs**
Modify existing code
**challenge_attempt_count.rs**
Modify existing code
**challenge_flow_count.rs**
Modify existing code
**challenge_success_count.rs**
Modify existing code
**frictionless_flow_count.rs**
Modify existing code
**frictionless_success_count.rs**
Modify existing code
**sankey.rs**
Add:
- function: private::try_into
- function: pub::get_sankey_data
- struct: pub::SankeyRow
- impl: impl TryInto<SankeyRow> for serde_json::Value
**types.rs**
Modify existing code
**sqlx.rs**
Modify existing code
**utils.rs**
Modify existing code
**auth_events.rs**
Add:
- mod: pub::sankey
**analytics.rs**
Add:
- function: pub::get_auth_event_sankey |
feat(connector): [FISERV] Added GooglePay Payment Method - Connector Decryption Flow (#8658)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local> | Files to modify:
**fiserv.rs**
Remove:
- function: private::validate_connector_against_payment_request
- impl: impl ConnectorValidation for Fiserv
Add:
- impl: impl ConnectorValidation for Fiserv
**transformers.rs**
Remove:
- struct: pub::GooglePayToken
Add:
- function: pub::parse_googlepay_token_safely
- struct: pub::GooglePayData
- struct: pub::SignedKey
- struct: pub::SignedMessage
- struct: pub::FullyParsedGooglePayToken
- struct: pub::RawGooglePayToken |
fix(connector): Trigger Psync after redirection url (#2422) | Files to modify:
**authorizedotnet.rs**
Modify existing code
**bambora.rs**
Modify existing code
**bluesnap.rs**
Modify existing code
**checkout.rs**
Modify existing code
**globalpay.rs**
Modify existing code
**mollie.rs**
Modify existing code
**noon.rs**
Modify existing code
**payme.rs**
Modify existing code
**paypal.rs**
Modify existing code
**stripe.rs**
Modify existing code
**trustpay.rs**
Modify existing code
**zen.rs**
Modify existing code
**api.rs**
Modify existing code |
feat(pm_auth): Support different pm types in PM auth (#3114) | Files to modify:
**payment_methods.rs**
Add:
- struct: pub::BankAccountTokenData
**transformers.rs**
Modify existing code
**types.rs**
Add:
- struct: pub::BankAccountDetailsAch
- struct: pub::BankAccountDetailsBacs
- struct: pub::BankAccountDetailsSepa
- enum: pub::PaymentMethodTypeDetails
**defaults.rs**
Modify existing code
**cards.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**payment_method.rs**
Modify existing code |
refactor(connector): [Trustpay] Enhance currency Mapping with ConnectorCurrencyCommon Trait (#2197) | Files to modify:
**trustpay.rs**
Add:
- function: private::get_currency_unit
**transformers.rs**
Add:
- function: private::try_from
- struct: pub::TrustpayRouterData
- impl: impl TryFrom<(
&types::api::CurrencyUnit,
types::storage::enums::Currency,
i64,
T,
)> for TrustpayRouterData<T> |
feat(users): New profile level roles (#5843)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**analytics.rs**
Modify existing code
**user_role.rs**
Modify existing code
**admin.rs**
Modify existing code
**admin.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**routing.rs**
Modify existing code
**user.rs**
Modify existing code
**user_role.rs**
Modify existing code
**predefined_roles.rs**
Modify existing code |
feat(router): add api_models and openapi changes for payments create intent api for v2 (#5971)
Co-authored-by: hrithikesh026 <hrithikesh.vm@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> | Files to modify:
**payments.rs**
Add:
- struct: pub::PaymentsCreateIntentRequest
- struct: pub::PaymentsCreateIntentResponse
- struct: pub::AmountDetails
- struct: pub::TaxDetails
- struct: pub::PaymentMethodTypeTax
- struct: pub::DefaultTax
**enums.rs**
Add:
- enum: pub::TaxCalculationOverride
- enum: pub::SurchargeCalculationOverride
**consts.rs**
Modify existing code
**id_type.rs**
Modify existing code
**payment.rs**
Modify existing code
**types.rs**
Remove:
- impl: impl FromSql<sql_types::Text, DB> for LengthString<MAX_DESCRIPTION_LENGTH, 1>
- impl: impl Queryable<sql_types::Text, DB> for LengthString::<MAX_DESCRIPTION_LENGTH, 1>::from_sql(bytes)
Add:
- impl: impl FromSql<sql_types::Text, DB> for LengthString<MAX_LENGTH, MIN_LENGTH>
- impl: impl Queryable<sql_types::Text, DB> for LengthString::<MAX_STATEMENT_DESCRIPTOR_LENGTH, 1>::from_sql(bytes)
**openapi_v2.rs**
Modify existing code
**payments.rs**
Add:
- struct: pub::PaymentsCreateIntentRequest
- struct: pub::PaymentsCreateIntentResponse
- struct: pub::AmountDetails
- struct: pub::TaxDetails
- struct: pub::PaymentMethodTypeTax
- struct: pub::DefaultTax |
feat(headers): add optional header masking feature to outbound request (#1320) | Files to modify:
**mod.rs**
Modify existing code
**aci.rs**
Modify existing code
**adyen.rs**
Modify existing code
**airwallex.rs**
Modify existing code
**authorizedotnet.rs**
Modify existing code
**bambora.rs**
Modify existing code
**bitpay.rs**
Modify existing code
**bluesnap.rs**
Modify existing code
**braintree.rs**
Modify existing code
**checkout.rs**
Modify existing code
**coinbase.rs**
Modify existing code
**cybersource.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
**iatapay.rs**
Modify existing code
**klarna.rs**
Modify existing code
**mollie.rs**
Modify existing code
**multisafepay.rs**
Modify existing code
**nexinets.rs**
Modify existing code
**nmi.rs**
Modify existing code
**noon.rs**
Modify existing code
**nuvei.rs**
Modify existing code
**opennode.rs**
Modify existing code
**payeezy.rs**
Modify existing code
**paypal.rs**
Modify existing code
**payu.rs**
Modify existing code
**rapyd.rs**
Modify existing code
**shift4.rs**
Modify existing code
**stripe.rs**
Modify existing code
**trustpay.rs**
Modify existing code
**worldline.rs**
Modify existing code
**worldpay.rs**
Modify existing code
**zen.rs**
Modify existing code
**transformers.rs**
Modify existing code
**session_flow.rs**
Modify existing code
**webhooks.rs**
Modify existing code
**api.rs**
Modify existing code
**request.rs**
Add:
- function: private::fmt
- function: private::hash
- function: pub::into_inner
- function: pub::new_masked
- function: pub::new_normal
- function: private::into_masked
- function: private::from
- function: private::from
- enum: pub::Maskable
- trait: pub::Mask
- impl: impl std::fmt::Debug for Maskable<T>
- impl: impl std::hash::Hash for Maskable<T>
- impl: impl Maskable<T>
- impl: impl Mask for T
- impl: impl From<T> for Maskable<T>
- impl: impl From<&str> for Maskable<String>
**api.rs**
Modify existing code |
chore: add `.attach_printable` for `InternalServerError` (#368) | Files to modify:
**admin.rs**
Modify existing code
**customers.rs**
Modify existing code
**mandate.rs**
Modify existing code
**cards.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**payment_method_validate.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**transformers.rs**
Modify existing code
**refunds.rs**
Modify existing code
**validator.rs**
Modify existing code
**api.rs**
Modify existing code
**mandates.rs**
Modify existing code
**utils.rs**
Add:
- function: private::get_response_inner
- function: private::get_error_response
- function: private::get_response
- trait: pub::ConnectorResponseExt
- impl: impl ConnectorResponseExt for Result<Result<types::Response, types::Response>, error_stack::Report<E>> |
feat(billing): add support to configure billing processor in profile (#9438)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**admin.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**schema.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**admin.rs**
Modify existing code
**events.rs**
Modify existing code
**admin.rs**
Modify existing code |
feat(connector): Recurly incoming webhook support (#7439)
Co-authored-by: Nishanth Challa <nishanth.challa@Nishanth-Challa-C0WGKCFHLF.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: CHALLA NISHANTH BABU <115225644+NISHANTH1221@users.noreply.github.com>
Co-authored-by: Aniket Burman <aniket.burman@Aniket-Burman-JDXHW2PH34.local>
Co-authored-by: Aniket Burman <aniket.burman@192.168.1.5>
Co-authored-by: Aniket Burman <aniket.burman@192.168.1.4> | Files to modify:
**connector_enums.rs**
Modify existing code
**connector.rs**
Modify existing code
**recurly.rs**
Add:
- function: private::get_signature_elements_from_header
- 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_object_reference_id
- function: private::get_webhook_event_type
**transformers.rs**
Add:
- function: pub::get_webhook_object_from_body
- struct: pub::RecurlyWebhookBody
- enum: pub::RecurlyPaymentEventType
- impl: impl RecurlyWebhookBody
**admin.rs**
Modify existing code
**api.rs**
Modify existing code
**transformers.rs**
Add:
- function: pub::get_webhook_object_from_body
- struct: pub::RecurlyWebhookBody
- enum: pub::RecurlyPaymentEventType
- impl: impl RecurlyWebhookBody |
feat(core): [Card Testing Guard] Implement Card Testing Guard (#7108)
Co-authored-by: Debarshi Gupta <debarshi.gupta@Debarshi-Gupta-CM92YWDXFD.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**admin.rs**
Add:
- struct: pub::CardTestingGuardConfig
- enum: pub::CardTestingGuardStatus
**consts.rs**
Modify existing code
**business_profile.rs**
Add:
- struct: pub::CardTestingGuardConfig
**schema.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**business_profile.rs**
Add:
- struct: pub::CardTestingGuardConfig
**card_testing_guard_data.rs**
Add:
- struct: pub::CardTestingGuardData
**lib.rs**
Add:
- mod: pub::card_testing_guard_data
**openapi.rs**
Modify existing code
**openapi_v2.rs**
Modify existing code
**consts.rs**
Modify existing code
**core.rs**
Add:
- mod: pub::card_testing_guard
**admin.rs**
Add:
- struct: pub::CardTestingGuardConfig
- enum: pub::CardTestingGuardStatus
**card_testing_guard.rs**
Add:
- mod: pub::utils
**utils.rs**
Add:
- function: pub::validate_card_testing_guard_checks
- function: pub::generate_fingerprint
- function: pub::increment_blocked_count_in_cache
**payments.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::validate_card_ip_blocking_for_business_profile
- function: pub::validate_guest_user_card_blocking_for_business_profile
- function: pub::validate_customer_id_blocking_for_business_profile
- function: pub::validate_blocking_threshold
**operations.rs**
Add:
- function: private::validate_request_with_state
**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**
Add:
- function: private::validate_request_with_state
**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
**payments_incremental_authorization.rs**
Modify existing code
**tax_calculation.rs**
Modify existing code
**services.rs**
Add:
- mod: pub::card_testing_guard
**card_testing_guard.rs**
Add:
- mod: pub::utils
**admin.rs**
Add:
- struct: pub::CardTestingGuardConfig
- enum: pub::CardTestingGuardStatus
**transformers.rs**
Add:
- function: private::foreign_from
- function: private::foreign_from
- impl: impl ForeignFrom<api_models::admin::CardTestingGuardConfig> for diesel_models::business_profile::CardTestingGuardConfig
- impl: impl ForeignFrom<diesel_models::business_profile::CardTestingGuardConfig> for api_models::admin::CardTestingGuardConfig |
refactor(router): remove admin v2 intermediate features (#5780)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**admin.rs**
Modify existing code
**routing.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**organization.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**organization.rs**
Modify existing code
**business_profile.rs**
Modify existing code
**consts.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**evaluation.rs**
Modify existing code
**mca.rs**
Modify existing code
**admin.rs**
Modify existing code
**conditional_config.rs**
Modify existing code
**paypal.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**cards.rs**
Modify existing code
**validator.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**routing.rs**
Modify existing code
**validator.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**routing.rs**
Modify existing code
**helpers.rs**
Modify existing code
**surcharge_decision_config.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**user_role.rs**
Modify existing code
**utils.rs**
Modify existing code
**verification.rs**
Modify existing code
**utils.rs**
Modify existing code
**incoming.rs**
Modify existing code
**kafka_store.rs**
Modify existing code
**merchant_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code
**admin.rs**
Modify existing code
**api_keys.rs**
Modify existing code
**app.rs**
Modify existing code
**routing.rs**
Modify existing code
**admin.rs**
Modify existing code
**user.rs**
Modify existing code
**transformers.rs**
Modify existing code
**utils.rs**
Modify existing code
**connector_onboarding.rs**
Modify existing code
**sample_data.rs**
Modify existing code |
refactor(connector): [adyen] add more fields in the payments request (#4010) | Files to modify:
**transformers.rs**
Remove:
- impl: impl TryFrom<(&api::PayLaterData, Option<api_enums::CountryAlpha2>)> for value
Add:
- function: private::build_shopper_reference
- function: pub::check_required_field
- impl: impl TryFrom<(
&api::PayLaterData,
&Option<api_enums::CountryAlpha2>,
&Option<Email>,
&Option<String>,
&Option<ShopperName>,
&Option<Secret<String>>,
&Option<Address>,
&Option<Address>,
)> for value |
feat(router): add support for stateful straight through routing (#752) | Files to modify:
**payments.rs**
Modify existing code
**utils.rs**
Modify existing code
**vault.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_method_validate.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**transformers.rs**
Modify existing code
**refunds.rs**
Modify existing code
**validator.rs**
Modify existing code
**payment_sync.rs**
Modify existing code
**api.rs**
Add:
- enum: pub::ConnectorChoice
**payment_attempt.rs**
Add:
- function: private::get_routed_through_connector
- struct: pub::RoutingData
- struct: pub::RoutedThroughData
- trait: pub::PaymentAttemptExt
- impl: impl PaymentAttemptExt for PaymentAttempt
**payments.rs**
Modify existing code
**payments2.rs**
Modify existing code
**payment_attempt.rs**
Add:
- function: private::get_routed_through_connector
- struct: pub::RoutingData
- struct: pub::RoutedThroughData
- trait: pub::PaymentAttemptExt
- impl: impl PaymentAttemptExt for PaymentAttempt
**schema.rs**
Modify existing code |
refactor(gsm): add `error_category` column to gsm table (#6648)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**gsm.rs**
Modify existing code
**enums.rs**
Add:
- enum: pub::ErrorCategory
**gsm.rs**
Modify existing code
**schema.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**openapi.rs**
Modify existing code
**openapi_v2.rs**
Modify existing code
**gsm.rs**
Modify existing code
**transformers.rs**
Modify existing code |
feat(payment-link): emit intent status to parent before rendering payment link UI (#7531)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Modify existing code
**payment_link.rs**
Modify existing code |
feat(payment_link): added display_sdk_only option for displaying only sdk without payment details (#4363) | Files to modify:
**admin.rs**
Modify existing code
**payments.rs**
Modify existing code
**consts.rs**
Modify existing code
**payment_link.rs**
Modify existing code |
feat(router): Add payment link support (#2105)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Co-authored-by: Kashif <46213975+kashif-m@users.noreply.github.com>
Co-authored-by: Kashif <mohammed.kashif@juspay.in>
Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com> | Files to modify:
**payments.rs**
Add:
- struct: pub::PaymentLinkObject
- struct: pub::RetrievePaymentLinkRequest
- struct: pub::PaymentLinkResponse
- struct: pub::RetrievePaymentLinkResponse
- struct: pub::PaymentLinkInitiateRequest
**payment_intent.rs**
Modify existing code
**lib.rs**
Add:
- mod: pub::payment_link
**payment_intent.rs**
Modify existing code
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**query.rs**
Add:
- mod: pub::payment_link
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**schema.rs**
Modify existing code
**errors.rs**
Modify existing code
**wrap.rs**
Modify existing code
**settings.rs**
Add:
- struct: pub::PaymentLink
**core.rs**
Add:
- mod: pub::payment_link
**api_error_response.rs**
Modify existing code
**transformers.rs**
Modify existing code
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**payments.rs**
Add:
- struct: pub::PaymentLinkObject
- struct: pub::RetrievePaymentLinkRequest
- struct: pub::PaymentLinkResponse
- struct: pub::RetrievePaymentLinkResponse
- struct: pub::PaymentLinkInitiateRequest
**helpers.rs**
Add:
- function: pub::get_merchant_fullfillment_time
- function: pub::validate_payment_link_request
**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**
Add:
- function: private::create_payment_link
**payment_method_validate.rs**
Modify existing code
**payment_reject.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
**transformers.rs**
Modify existing code
**db.rs**
Add:
- mod: pub::payment_link
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**lib.rs**
Add:
- mod: pub::payment_link
**openapi.rs**
Modify existing code
**routes.rs**
Add:
- mod: pub::payment_link
**app.rs**
Add:
- function: pub::server
- struct: pub::PaymentLink
- impl: impl PaymentLink
**lock_utils.rs**
Modify existing code
**request.rs**
Modify existing code
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**api.rs**
Add:
- function: pub::http_response_html_data
- function: pub::build_payment_link_html
- function: private::get_hyper_loader_sdk
**authentication.rs**
Add:
- function: private::get_client_secret
- impl: impl ClientSecretFetch for api_models::payments::RetrievePaymentLinkRequest
**storage.rs**
Add:
- mod: pub::payment_link
**payment_link.rs**
Add:
- struct: pub::PaymentLink
- struct: pub::PaymentLinkNew
**transformers.rs**
Modify existing code
**types.rs**
Modify existing code
**mock_db.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payment_intent.rs**
Modify existing code |
refactor(storage): remove `id` from payment intent, attempt and remove datamodel ext from payment intent (#4923)
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:
**lib.rs**
Add:
- mod: pub::metrics
**metrics.rs**
Add:
- mod: pub::utils
**utils.rs**
Add:
- function: pub::time_future
- function: pub::record_operation_time
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**schema.rs**
Modify existing code
**behaviour.rs**
Modify existing code
**lib.rs**
Add:
- mod: pub::metrics
**merchant_key_store.rs**
Modify existing code
**payments.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**type_encryption.rs**
Add:
- function: private::encrypt
- function: private::decrypt
- function: private::encrypt
- function: private::decrypt
- function: private::encrypt
- function: private::decrypt
- function: private::lift
- function: private::async_lift
- function: pub::encrypt
- function: pub::encrypt_optional
- function: pub::decrypt
- trait: pub::TypeEncryption
- trait: pub::Lift
- trait: pub::AsyncLift
- impl: impl TypeEncryption<String, V, S> for crypto::Encryptable<Secret<String, S>>
- impl: impl TypeEncryption<serde_json::Value, V, S> for crypto::Encryptable<Secret<serde_json::Value, S>>
- impl: impl TypeEncryption<Vec<u8>, V, S> for crypto::Encryptable<Secret<Vec<u8>, S>>
- impl: impl Lift<U> for Option<U>
- impl: impl AsyncLift<U> for V
- mod: pub::metrics
**payment_intents.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::time_future
- function: pub::record_operation_time
**cards_info.rs**
Modify existing code
**disputes.rs**
Modify existing code
**helpers.rs**
Modify existing code
**fraud_check.rs**
Modify existing code
**operation.rs**
Modify existing code
**fraud_check_post.rs**
Modify existing code
**fraud_check_pre.rs**
Modify existing code
**mandate.rs**
Modify existing code
**helpers.rs**
Modify existing code
**payment_link.rs**
Modify existing code
**cards.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Modify existing code
**operations.rs**
Modify existing code
**payment_approve.rs**
Modify existing code
**payment_cancel.rs**
Modify existing code
**payment_capture.rs**
Modify existing code
**payment_complete_authorize.rs**
Modify existing code
**payment_confirm.rs**
Modify existing code
**payment_create.rs**
Modify existing code
**payment_reject.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_session.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**payments_incremental_authorization.rs**
Modify existing code
**retry.rs**
Modify existing code
**pm_auth.rs**
Modify existing code
**refunds.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**kafka_store.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**cards_info.rs**
Modify existing code
**metrics.rs**
Add:
- mod: pub::utils
**request.rs**
Remove:
- function: pub::record_operation_time
**payment_link.rs**
Modify existing code
**payments.rs**
Modify existing code
**api.rs**
Modify existing code
**domain.rs**
Remove:
- mod: pub::behaviour
- mod: private::merchant_key_store
Add:
- mod: pub::behaviour
- mod: private::merchant_key_store
**types.rs**
Remove:
- function: private::encrypt
- function: private::decrypt
- function: private::encrypt
- function: private::decrypt
- function: private::encrypt
- function: private::decrypt
- function: private::lift
- function: private::async_lift
- function: pub::encrypt
- function: pub::encrypt_optional
- function: pub::decrypt
- trait: pub::TypeEncryption
- trait: pub::Lift
- trait: pub::AsyncLift
- impl: impl TypeEncryption<String, V, S> for crypto::Encryptable<Secret<String, S>>
- impl: impl TypeEncryption<serde_json::Value, V, S> for crypto::Encryptable<Secret<serde_json::Value, S>>
- impl: impl TypeEncryption<Vec<u8>, V, S> for crypto::Encryptable<Secret<Vec<u8>, S>>
- impl: impl Lift<U> for Option<U>
- impl: impl AsyncLift<U> for V
**utils.rs**
Add:
- function: pub::time_future
- function: pub::record_operation_time
**sample_data.rs**
Modify existing code
**payment_sync.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**payment_intent.rs**
Modify existing code |
fix(core): add should_call_connector_customer function to connector specification (#9569)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**authorizedotnet.rs**
Add:
- function: private::should_call_connector_customer
**dwolla.rs**
Add:
- function: private::should_call_connector_customer
**facilitapay.rs**
Add:
- function: private::should_call_connector_customer
**gocardless.rs**
Add:
- function: private::should_call_connector_customer
**hyperswitch_vault.rs**
Remove:
- impl: impl ConnectorSpecifications for HyperswitchVault
Add:
- function: private::should_call_connector_customer
- impl: impl ConnectorSpecifications for HyperswitchVault
**stax.rs**
Add:
- function: private::should_call_connector_customer
**stripe.rs**
Add:
- function: private::should_call_connector_customer
**api.rs**
Add:
- function: private::should_call_connector_customer
**connector_integration_interface.rs**
Add:
- function: private::should_call_connector_customer
**settings.rs**
Modify existing code
**payments.rs**
Modify existing code
**customers.rs**
Modify existing code
**vault_session.rs**
Modify existing code |
feat(payment_method_data): populate additional payment method data fields across all the methods in payments response (#5788)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Add:
- mod: pub::additional_info
**additional_info.rs**
Add:
- struct: pub::AchBankDebitAdditionalData
- struct: pub::BacsBankDebitAdditionalData
- struct: pub::BecsBankDebitAdditionalData
- struct: pub::SepaBankDebitAdditionalData
- struct: pub::BancontactBankRedirectAdditionalData
- struct: pub::BlikBankRedirectAdditionalData
- struct: pub::GiropayBankRedirectAdditionalData
- struct: pub::PixBankTransferAdditionalData
- struct: pub::LocalBankTransferAdditionalData
- struct: pub::GivexGiftCardAdditionalData
- struct: pub::CardTokenAdditionalData
- struct: pub::UpiCollectAdditionalData
- enum: pub::BankDebitAdditionalData
- enum: pub::BankRedirectDetails
- enum: pub::BankTransferAdditionalData
- enum: pub::GiftCardAdditionalData
- enum: pub::UpiAdditionalData
**new_type.rs**
Add:
- function: private::apply_mask
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::from
- function: private::test_masked_types
- function: private::test_apply_mask_fn
- struct: pub::MaskedSortCode
- struct: pub::MaskedRoutingNumber
- struct: pub::MaskedBankAccount
- struct: pub::MaskedIban
- struct: pub::MaskedUpiVpaId
- impl: impl From<String> for MaskedSortCode
- impl: impl From<Secret<String>> for MaskedSortCode
- impl: impl From<String> for MaskedRoutingNumber
- impl: impl From<Secret<String>> for MaskedRoutingNumber
- impl: impl From<String> for MaskedBankAccount
- impl: impl From<Secret<String>> for MaskedBankAccount
- impl: impl From<String> for MaskedIban
- impl: impl From<Secret<String>> for MaskedIban
- impl: impl From<String> for MaskedUpiVpaId
- impl: impl From<Secret<String, UpiVpaMaskingStrategy>> for MaskedUpiVpaId
- mod: private::apply_mask_fn_test
**payment_method_data.rs**
Modify existing code
**lib.rs**
Modify existing code
**openapi.rs**
Modify existing code
**openapi_v2.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
**helpers.rs**
Modify existing code
**pm_auth.rs**
Modify existing code |
docs: fix quick start guide and update dashboard link (#454) | Files to modify:
**openapi.rs**
Modify existing code |
feat(router): add connector mit related columns to the payment methods table (#3764) | Files to modify:
**enums.rs**
Add:
- enum: pub::PaymentMethodStatus
**payment_method.rs**
Modify existing code
**payment_method.rs**
Modify existing code
**schema.rs**
Modify existing code
**cards.rs**
Modify existing code
**kafka_store.rs**
Add:
- function: private::find_payment_method_by_customer_id_merchant_id_status
**payment_method.rs**
Modify existing code |
fix: todos and fixmes resolution for api_models (#144) | Files to modify:
**admin.rs**
Modify existing code
**payment_methods.rs**
Add:
- enum: pub::PaymentExperience
**payments.rs**
Modify existing code
**refunds.rs**
Add:
- enum: pub::RefundType
**abs.rs**
Modify existing code
**cards.rs**
Modify existing code
**transformers.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**transformers.rs**
Modify existing code
**refunds.rs**
Add:
- enum: pub::RefundType
**payment_attempt.rs**
Modify existing code
**transformers.rs**
Modify existing code
**payment_attempt.rs**
Modify existing code
**schema.rs**
Modify existing code |
feat(merchant_account_v2): add merchant_account_v2 domain and diesel models (#5365)
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**admin.rs**
Modify existing code
**lib.rs**
Add:
- mod: pub::schema_v2
**merchant_account.rs**
Add:
- struct: pub::MerchantAccount
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
**payment_intent.rs**
Add:
- struct: pub::PaymentIntent
**merchant_account.rs**
Add:
- struct: pub::MerchantAccount
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
**payment_intent.rs**
Add:
- struct: pub::PaymentIntent
**sample_data.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**sample_data.rs**
Modify existing code
**merchant_account.rs**
Add:
- struct: pub::MerchantAccount
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
**main.rs**
Modify existing code
**admin.rs**
Modify existing code
**cards.rs**
Modify existing code
**merchant_account.rs**
Add:
- struct: pub::MerchantAccount
**app.rs**
Modify existing code
**admin.rs**
Modify existing code
**user.rs**
Modify existing code
**payment_attempt.rs**
Add:
- struct: pub::PaymentAttempt
**payment_intent.rs**
Add:
- struct: pub::PaymentIntent |
refactor(connector): implement amount converter framework for coinbase, dummyconnector and gocardless (#8915) | Files to modify:
**coinbase.rs**
Remove:
- struct: pub::Coinbase
Add:
- function: pub::new
- struct: pub::Coinbase
- impl: impl Coinbase
**transformers.rs**
Add:
- function: private::from
- struct: pub::CoinbaseRouterData
- struct: pub::Redirects
- impl: impl From<(StringMajorUnit, T)> for CoinbaseRouterData<T>
**dummyconnector.rs**
Remove:
- struct: pub::DummyConnector
Add:
- function: pub::new
- struct: pub::DummyConnector
- impl: impl DummyConnector<T>
**transformers.rs**
Add:
- function: private::from
- struct: pub::CoinbaseRouterData
- struct: pub::Redirects
- impl: impl From<(StringMajorUnit, T)> for CoinbaseRouterData<T>
**gocardless.rs**
Remove:
- struct: pub::Gocardless
Add:
- function: pub::new
- struct: pub::Gocardless
- impl: impl Gocardless
**transformers.rs**
Add:
- function: private::from
- struct: pub::CoinbaseRouterData
- struct: pub::Redirects
- impl: impl From<(StringMajorUnit, T)> for CoinbaseRouterData<T>
**connector_mapping.rs**
Modify existing code
**coinbase.rs**
Remove:
- struct: pub::Coinbase
Add:
- function: pub::new
- struct: pub::Coinbase
- impl: impl Coinbase
**dummyconnector.rs**
Remove:
- struct: pub::DummyConnector
Add:
- function: pub::new
- struct: pub::DummyConnector
- impl: impl DummyConnector<T>
**gocardless.rs**
Remove:
- struct: pub::Gocardless
Add:
- function: pub::new
- struct: pub::Gocardless
- impl: impl Gocardless |
feat(core): [proxy payments] send external vault proxy metadata to UCS (#9108) | Files to modify:
**unified_connector_service.rs**
Add:
- struct: pub::VgsMetadata
- enum: pub::ExternalVaultProxyMetadata
**lib.rs**
Modify existing code
**merchant_connector_account.rs**
Add:
- struct: pub::ExternalVaultConnectorMetadata
**payments.rs**
Modify existing code
**flows.rs**
Add:
- function: private::call_unified_connector_service_with_external_vault_proxy
**authorize_flow.rs**
Modify existing code
**external_proxy_flow.rs**
Modify existing code
**unified_connector_service.rs**
Add:
- struct: pub::VgsMetadata
- enum: pub::ExternalVaultProxyMetadata |
feat(user): implement force password reset (#3572) | Files to modify:
**dashboard_metadata.rs**
Modify existing code
**enums.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**user.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**kafka_store.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code
**dashboard_metadata.rs**
Modify existing code |
feat(payments): add support for manual retries in payments confirm call (#1170) | Files to modify:
**payments.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::get_attempt_type
- function: private::make_new_payment_attempt
- function: pub::modify_payment_intent_and_payment_attempt
- function: pub::get_connector_response
- enum: pub::AttemptType
- impl: impl AttemptType
**payment_confirm.rs**
Modify existing code
**payment_intent.rs**
Modify existing code |
refactor(connector): [Zen] Enhance currency Mapping with ConnectorCurrencyCommon Trait (#2196) | Files to modify:
**zen.rs**
Add:
- function: private::get_currency_unit
**transformers.rs**
Add:
- function: private::try_from
- struct: pub::ZenRouterData
- impl: impl TryFrom<(
&types::api::CurrencyUnit,
types::storage::enums::Currency,
i64,
T,
)> for ZenRouterData<T> |
refactor(connector): [Paypal]Enhance currency Mapping with ConnectorCurrencyCommon Trait (#2191) | Files to modify:
**paypal.rs**
Add:
- function: private::get_currency_unit
**transformers.rs**
Add:
- function: private::try_from
- struct: pub::PaypalRouterData
- impl: impl TryFrom<(
&types::api::CurrencyUnit,
types::storage::enums::Currency,
i64,
T,
)> for PaypalRouterData<T> |
feat(core): Hyperswitch <|> UCS Integration (#8280)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: uzair khan <uzairkhanuk3215@gmail.com> | Files to modify:
**consts.rs**
Modify existing code
**grpc_client.rs**
Add:
- mod: pub::unified_connector_service
**unified_connector_service.rs**
Add:
- function: pub::build_connections
- function: pub::payment_authorize
- function: pub::build_unified_connector_service_grpc_headers
- struct: pub::UnifiedConnectorServiceClient
- struct: pub::UnifiedConnectorServiceClientConfig
- struct: pub::ConnectorAuthMetadata
- enum: pub::UnifiedConnectorServiceError
- impl: impl UnifiedConnectorServiceClient
**lib.rs**
Modify existing code
**consts.rs**
Modify existing code
**core.rs**
Add:
- mod: pub::unified_connector_service
**checkout_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**record_return.rs**
Remove:
- function: private::get_merchant_recipient_data
**sale_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**transaction_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**payments.rs**
Modify existing code
**flows.rs**
Add:
- function: private::call_unified_connector_service
**approve_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**authorize_flow.rs**
Add:
- function: private::call_unified_connector_service
**cancel_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**capture_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
- function: private::get_merchant_recipient_data
**complete_authorize_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**incremental_authorization_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**post_session_tokens_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**psync_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
- function: private::get_merchant_recipient_data
**reject_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**session_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
- function: private::get_merchant_recipient_data
**session_update_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**setup_mandate_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
- function: private::get_merchant_recipient_data
**update_metadata_flow.rs**
Remove:
- function: private::get_merchant_recipient_data
**helpers.rs**
Add:
- function: pub::should_execute_based_on_rollout
**retry.rs**
Modify existing code
**unified_connector_service.rs**
Add:
- function: pub::build_connections
- function: pub::payment_authorize
- function: pub::build_unified_connector_service_grpc_headers
- struct: pub::UnifiedConnectorServiceClient
- struct: pub::UnifiedConnectorServiceClientConfig
- struct: pub::ConnectorAuthMetadata
- enum: pub::UnifiedConnectorServiceError
- impl: impl UnifiedConnectorServiceClient
**transformers.rs**
Add:
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- function: private::foreign_try_from
- impl: impl ForeignTryFrom<&RouterData<Authorize, PaymentsAuthorizeData, PaymentsResponseData>> for payments_grpc::PaymentServiceAuthorizeRequest
- impl: impl ForeignTryFrom<common_enums::Currency> for payments_grpc::Currency
- impl: impl ForeignTryFrom<common_enums::CardNetwork> for payments_grpc::CardNetwork
- impl: impl ForeignTryFrom<hyperswitch_domain_models::payment_address::PaymentAddress> for payments_grpc::PaymentAddress
- impl: impl ForeignTryFrom<AuthenticationType> for payments_grpc::AuthenticationType
- impl: impl ForeignTryFrom<hyperswitch_domain_models::router_request_types::BrowserInformation> for payments_grpc::BrowserInformation
- impl: impl ForeignTryFrom<storage_enums::CaptureMethod> for payments_grpc::CaptureMethod
- impl: impl ForeignTryFrom<AuthenticationData> for payments_grpc::AuthenticationData
- impl: impl ForeignTryFrom<payments_grpc::PaymentStatus> for AttemptStatus
- impl: impl ForeignTryFrom<payments_grpc::RedirectForm> for RedirectForm
- impl: impl ForeignTryFrom<payments_grpc::HttpMethod> for Method |
feat(globalpay): implement access token creation (#408) | Files to modify:
**crypto.rs**
Add:
- function: private::generate_digest
- struct: pub::Sha512
- trait: pub::GenerateDigest
- impl: impl GenerateDigest for Sha512
**globalpay.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
**requests.rs**
Add:
- struct: pub::GlobalpayRefreshTokenRequest
**response.rs**
Add:
- struct: pub::GlobalpayRefreshTokenResponse
- struct: pub::GlobalpayRefreshTokenErrorResponse
**transformers.rs**
Add:
- function: private::try_from
**types.rs**
Modify existing code |
feat(core): confirm flow and authorization api changes for external authentication (#4015)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com>
Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com> | Files to modify:
**enums.rs**
Add:
- function: pub::is_separate_authentication_supported
**payments.rs**
Modify existing code
**enums.rs**
Add:
- function: pub::is_separate_authentication_supported
**authentication.rs**
Modify existing code
**utils.rs**
Add:
- function: pub::get_connector_name_if_separate_authn_supported
**payments.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::create_authentication_url
- function: pub::get_connector_name
**operations.rs**
Add:
- function: private::call_external_three_ds_authentication_if_eligible
**payment_confirm.rs**
Add:
- function: private::call_external_three_ds_authentication_if_eligible
**payment_create.rs**
Modify existing code
**payment_response.rs**
Modify existing code
**payment_status.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**transformers.rs**
Modify existing code
**app.rs**
Modify existing code
**payments.rs**
Modify existing code
**transformers.rs**
Modify existing code |
feat: Filter payment methods based on payment (#331) | Files to modify:
**payment_methods.rs**
Modify existing code
**cards.rs**
Modify existing code
**helpers.rs**
Modify existing code
**app.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**transformers.rs**
Add:
- function: private::from
- impl: impl From<F<storage_enums::Currency>> for F<api_enums::Currency> |
feat(connector): Implement capture and webhook flow, fix some issues in ACI (#8349)
Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local> | Files to modify:
**errors.rs**
Modify existing code
**aci.rs**
Add:
- function: private::get_headers
- function: private::get_content_type
- function: private::get_url
- function: private::get_request_body
- function: private::build_request
- function: private::handle_response
- function: private::get_error_response
- function: private::decrypt_aci_webhook_payload
- function: private::get_webhook_source_verification_algorithm
- function: private::get_webhook_source_verification_signature
- function: private::get_webhook_source_verification_message
**transformers.rs**
Add:
- function: private::get_capture_method
- function: private::get_capture_method
- function: private::get_capture_method
- trait: private::GetCaptureMethod
- impl: impl GetCaptureMethod for PaymentsAuthorizeData
- impl: impl GetCaptureMethod for PaymentsSyncData
- impl: impl GetCaptureMethod for PaymentsCancelData |
feat(connector): [Novalnet] add Recurring payment flow for cards (#5921) | Files to modify:
**novalnet.rs**
Add:
- function: private::validate_mandate_payment
**transformers.rs**
Add:
- struct: pub::NovalnetCard
**utils.rs**
Add:
- function: pub::is_mandate_supported
- function: private::from
- enum: pub::PaymentMethodDataType
- impl: impl From<PaymentMethodData> for PaymentMethodDataType
**defaults.rs**
Modify existing code |
feat: remove client_secret from payment_intent and update related code (#7648)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**payments.rs**
Modify existing code
**payment.rs**
Remove:
- function: pub::generate_client_secret
**types.rs**
Remove:
- function: pub::get_string_repr
- function: pub::new
- function: private::from_str
- function: private::deserialize
- function: private::expecting
- function: private::visit_str
- function: private::serialize
- function: private::to_sql
- function: private::from_sql
- function: private::build
- function: private::test_serialize_client_secret
- function: private::test_deserialize_client_secret
- struct: pub::ClientSecret
- struct: private::ClientSecretVisitor
- impl: impl ClientSecret
- impl: impl FromStr for ClientSecret
- impl: impl Deserialize<'de> for ClientSecret
- impl: impl Visitor<'_> for ClientSecretVisitor
- impl: impl Serialize for ClientSecret
- impl: impl ToSql<sql_types::Text, diesel::pg::Pg> for ClientSecret
- impl: impl FromSql<sql_types::Text, DB> for ClientSecret
- impl: impl Queryable<sql_types::Text, DB> for ClientSecret
- mod: private::client_secret_type
- mod: private::client_secret_tests
**payment_intent.rs**
Modify existing code
**schema_v2.rs**
Modify existing code
**payments.rs**
Modify existing code
**payment_intent.rs**
Modify existing code
**payments.rs**
Modify existing code
**helpers.rs**
Remove:
- function: pub::authenticate_client_secret
**payment_confirm_intent.rs**
Modify existing code
**payment_create_intent.rs**
Modify existing code
**payment_get_intent.rs**
Modify existing code
**payment_post_session_tokens.rs**
Modify existing code
**payment_session_intent.rs**
Modify existing code
**payment_start.rs**
Modify existing code
**payment_update.rs**
Modify existing code
**payment_update_intent.rs**
Modify existing code
**payment_methods.rs**
Modify existing code
**transformers.rs**
Modify existing code
**authentication.rs**
Modify existing code
**transformers.rs**
Modify existing code |
refactor(config): add independent toggles for enabling traces and metrics (#1020) | Files to modify:
**env.rs**
Modify existing code
**errors.rs**
Modify existing code
**main.rs**
Modify existing code
**router.rs**
Modify existing code
**scheduler.rs**
Modify existing code
**env.rs**
Modify existing code
**config.rs**
Modify existing code
**setup.rs**
Modify existing code
**logger.rs**
Modify existing code |
docs: request and response for payments route (#400) | Files to modify:
**enums.rs**
Modify existing code
**payments.rs**
Remove:
- struct: pub::GpayMetadata
Add:
- struct: pub::GpayMetaData
**session_flow.rs**
Modify existing code
**openapi.rs**
Modify existing code
**payments.rs**
Remove:
- struct: pub::GpayMetadata
Add:
- struct: pub::GpayMetaData |
refactor(multiple_mca): make `primary_business_detail` optional and remove default values (#1677)
Co-authored-by: Arun Raj M <jarnura47@gmail.com> | Files to modify:
**admin.rs**
Modify existing code
**admin.rs**
Modify existing code
**helpers.rs**
Add:
- function: pub::validate_business_details
**payment_create.rs**
Modify existing code |
feat(themes): Create APIs for managing themes (#6658)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> | Files to modify:
**user.rs**
Modify existing code
**user.rs**
Modify existing code
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**secrets_transformers.rs**
Modify existing code
**settings.rs**
Modify existing code
**user.rs**
Modify existing code
**user.rs**
Modify existing code
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**kafka_store.rs**
Add:
- function: private::find_theme_by_theme_id
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**app.rs**
Modify existing code
**lock_utils.rs**
Modify existing code
**user.rs**
Modify existing code
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**user.rs**
Modify existing code
**theme.rs**
Add:
- struct: pub::GetThemeResponse
- struct: pub::UploadFileAssetData
- struct: pub::UploadFileRequest
- struct: pub::CreateThemeRequest
- struct: pub::UpdateThemeRequest
- struct: pub::ThemeData
- struct: private::Settings
- struct: private::Colors
- struct: private::Typography
- struct: private::Buttons
- struct: private::PrimaryButton
- struct: private::SecondaryButton
- struct: private::Borders
- struct: private::Spacing
- struct: private::Urls
**types.rs**
Modify existing code |
feat: implement list_merchant_connector_accounts_by_merchant_id_connector_name function (#2742) | Files to modify:
**merchant_connector_account.rs**
Modify existing code
**merchant_connector_account.rs**
Modify existing code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.