prompt
stringlengths
14
2.16k
response
stringlengths
52
115k
feat(connector): [Paybox] Add mandates Flow for Paybox (#6378)
Files to modify: **payments.rs** Add: - function: pub::new - function: pub::get_connector_mandate_id - function: pub::get_payment_method_id - function: pub::get_mandate_metadata - function: pub::get_connector_mandate_request_reference_id - function: pub::update - impl: impl ConnectorMand...
feat(webhooks): store request and response payloads in `events` table (#4029)
Files to modify: **crypto.rs** Modify existing code **lib.rs** Add: - function: pub::generate_time_ordered_id **request.rs** Modify existing code **events.rs** Remove: - function: private::from - enum: pub::EventUpdate - impl: impl From<EventUpdate> for EventUpdateInternal **events.rs** ...
feat(core): enable payment refund when payment is partially captured (#2991) Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
Files to modify: **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code **refunds.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_attempt.rs** Modify existing code
feat(router): Add payments get-intent API for v2 (#6396) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment.rs** Remove: - impl: impl ApiEventMetric for PaymentsCreateIntentResponse Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for PaymentsGetIntentRequest - impl: impl ApiEventMetric for PaymentsIntentResponse **payments.rs** Remove: - struct:...
fix(connector): [ACI] Response Handling in case of `ErrorResponse` (#1870)
Files to modify: **aci.rs** Add: - function: private::build_error_response **transformers.rs** Add: - struct: pub::AciErrorResponse
fix(config): fix docker compose local setup (#1372) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Files to modify: **requests.rs** Modify existing code
feat(users): add support for profile user delete (#5541) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **user_role.rs** Remove: - function: pub::delete_by_user_id_merchant_id Add: - function: pub::find_by_user_id_org_id_merchant_id_profile_id - function: pub::delete_by_user_id_org_id_merchant_id_profile_id **user_role.rs** Remove: - function:...
feat(connector): add support for capture, void, psync, refund and rsync for cybersource (#381)
Files to modify: **cybersource.rs** Remove: - impl: impl api::ConnectorCommon for Cybersource - impl: impl services::ConnectorIntegration< api::Verify, types::VerifyRequestData, types::PaymentsResponseData, > for Cybersource - impl: impl services::ConnectorIntegration< api::Session, types::PaymentsSessi...
feat(database): add profile & organisation id to transaction tables (#5696) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **customers.rs** Modify existing code **dispute.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **refund.rs** Remove: - function: private::default - impl: impl Default for RefundNew **schema.rs** Modify existing...
feat(router): [worldpayvantiv] add dispute list sync and implement dispute (#8830) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Jagan <jaganelavarasan@gmail.com>
Files to modify: **admin.rs** Modify existing code **disputes.rs** Add: - struct: pub::DisputeRetrieveRequest - struct: pub::DisputeRetrieveBody **dispute.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for DisputeRetrieveRequest **files.rs** Add: - struct:...
feat(docs): add multiple examples support and webhook schema (#1864)
Files to modify: **webhooks.rs** Modify existing code **enums.rs** Modify existing code **lib.rs** Modify existing code **openapi.rs** Add: - mod: pub::examples **payments.rs** Modify existing code
refactor(connector): [Shift4] refactor connector authorize request struct (#1888)
Files to modify: **transformers.rs** Remove: - enum: pub::Shift4PaymentsRequest Add: - struct: pub::Shift4PaymentsRequest - struct: pub::Cards3DSRequest - enum: pub::Shift4PaymentMethod **utils.rs** Modify existing code
feat(opensearch): restrict search view access based on user roles and permissions (#5932) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **opensearch.rs** Modify existing code **analytics.rs** Modify existing code **opensearch.rs** Modify existing code
fix: make push to drainer generic and add application metrics for KV (#2563)
Files to modify: **consts.rs** Modify existing code **db.rs** Remove: - function: pub::kv_wrapper - enum: pub::KvOperation - enum: pub::KvResult **address.rs** Modify existing code **connector_response.rs** Modify existing code **refund.rs** Modify existing code **reverse_lookup.rs** Modi...
feat(api_keys): add api keys route to api v2 (#5709) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **events.rs** Modify existing code **openapi_v2.rs** Modify existing code **api_keys.rs** Add: - function: pub::api_key_create - function: pub::api_key_retrieve - function: pub::api_key_update - function: pub::api_key_revoke **admin.rs** ...
build(deps): update aws dependencies (#4194) 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: **email.rs** Modify existing code **ses.rs** Modify existing code **aws_s3.rs** Modify existing code
feat(connector): [INESPAY] Integrate Sepa Bank Debit (#6755) 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 **inespay.rs** Add: - function: private::get_webhook_body - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - function:...
feat(router): implement post_update_tracker for SessionUpdate Flow and add support for session_update_flow for Paypal (#6299) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **enums.rs** Add: - enum: pub::SessionUpdateStatus **router_request_types.rs** Modify existing code **router_response_types.rs** Modify existing code **types.rs** Modify existing code **paypal.rs** Add: - function: private::get_headers ...
feat(kafka): add payment_intent payment_attempt and refund kafka events for v2 (#8328) Co-authored-by: Kashif <kashif.dev@protonmail.com>
Files to modify: **payments.rs** Modify existing code **enums.rs** Add: - function: pub::is_off_session - impl: impl FutureUsage **payments.rs** Modify existing code **secret.rs** Add: - function: pub::as_ref **serde.rs** Add: - impl: impl SerializableSecret for &T **transformers.rs** ...
feat(connector): add integration status to feature matrix (#8351) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **mod.rs** Modify existing code **feature_matrix.rs** Modify existing code **enums.rs** Remove: - enum: pub::PaymentConnectorCategory Add: - enum: pub::HyperswitchConnectorCategory - enum: pub::ConnectorIntegrationStatus **aci.rs** Modify existing code **adyen.rs** Modify ...
Feat(connector): [WELLSFARGO] Implement Payment Flows (#5463)
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **defaults.rs** Modify existing code **wellsfargo.rs** Remove: - struct: pub::Wellsfargo Add: - function: pub::generate_digest - function: pub::generate_signature ...
feat(payment-link): add config for enabling form button only when form is complete (#7517)
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **business_profile.rs** Modify existing code **payment_intent.rs** Modify existing code **lib.rs** Modify existing code **consts.rs** Modify existing code **payment_link.rs** Modify existing code **transformer...
feat(router): add api to migrate card from basilisk to rust (#2853) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Add: - enum: pub::LockerChoice **events.rs** Add: - mod: private::locker_migration **locker_migration.rs** Add: - function: private::get_api_event_type - impl: impl ApiEventMetric for MigrateCardResponse **lib.rs** Add: - mod: pub::locker_migration **locke...
feat(router): add support for relay refund incoming webhooks (#6974) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **webhooks.rs** Modify existing code **relay.rs** Add: - function: private::from_str - impl: impl FromStr for RelayId **relay.rs** Add: - function: private::from_str - impl: impl FromStr for RelayId **relay.rs** Add: - function: private::from_str - impl: impl FromSt...
fix: revert payment method kv changes (#4351) Co-authored-by: Akshay S <akshay.s@Akshay-Subramanian-D66TQ6D97K.local>
Files to modify: **payment_method.rs** Remove: - function: private::find_payment_method - function: private::find_payment_method_by_locker_id - function: private::get_payment_method_count_by_customer_id_merchant_id_status - function: private::insert_payment_method - function: private::update_pay...
feat(connector): [Digital Virgo] template for integration (#6145) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **transformers.rs** Modify existing code **enums.rs** Modify existing code **enums.rs** Modify existing code **connector.rs** Modify existing code **connectors.rs** Add: - mod: pub::digitalvirgo **digitalvirgo.rs** Add: - function: pub::new - function: private::build_head...
fix(connector): [NETCETERA] add fixes for authentication response fields (#8907) Co-authored-by: Debarati Ghatak <debarati.ghatak@Debarati-Ghatak-FW569NC29L.local>
Files to modify: **transformers.rs** Modify existing code **netcetera.rs** Modify existing code **transformers.rs** Modify existing code
Feat(connector): [WELLSFARGO] Add template code (#5333)
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **configs.rs** Modify existing code **connector.rs** Add: - mod: pub::wellsfargo **wellsfargo.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: pri...
chore: Added docs for payment connector create (#394) Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payment_methods.rs** Modify existing code **openapi.rs** Modify existing code **admin.rs** Modify existing code
feat(error): add feature-gated stacktrace to error received from API (#1104)
Files to modify: **types.rs** Add: - function: pub::get_internal_error_mut **errors.rs** Add: - impl: impl crate::services::EmbedError for error_stack::Report<StripeErrorCode> **wrap.rs** Modify existing code **errors.rs** Add: - impl: impl crate::services::EmbedError for error_stack::Report<St...
fix(router): update last used when the customer acceptance is passed in the recurring payment (#5116)
Files to modify: **payment_method.rs** Modify existing code **cards.rs** Add: - function: pub::update_payment_method_metadata_and_last_used **payment_response.rs** Modify existing code **tokenization.rs** Modify existing code
feat(router): introduce `feature` and `feature_data` to gsm (#7771) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
Files to modify: **gsm.rs** Remove: - enum: pub::GsmDecision **enums.rs** Add: - enum: pub::GsmDecision - enum: pub::GsmFeature **domain.rs** Add: - function: pub::get_retry_feature_data - function: pub::get_decision - function: pub::is_step_up_possible - function: pub::is_clear_pa...
feat: added kafka events for authentication create and update (#4991) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **kafka_store.rs** Modify existing code **events.rs** Modify existing code **kafka.rs** Add: - function: pub::log_authentication - mod: private::authentication - mod: private::authentication_event **authentication.rs** Add: - function: pub::from_storage - function: priv...
feat(revenue_recovery): add support to fetch data and update additional token data in redis (#9611) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **revenue_recovery_data_backfill.rs** Add: - function: private::get_api_event_type - function: private::get_api_event_type - function: private::get_api_event_type - function: private::deserialize - struct: pub::GetRedisDataQuery - struct: pub::RedisDataResponse - struct:...
refactor(connector): Move connector Dlocal and Square from router to hyperswitch_connector crate (#6156)
Files to modify: **connectors.rs** Add: - mod: pub::dlocal - mod: pub::square **dlocal.rs** Modify existing code **transformers.rs** Remove: - impl: impl TryFrom<(&api::CurrencyUnit, enums::Currency, i64, T)> for DlocalRouterData<T> Add: - impl: impl TryFrom<(&CurrencyUnit, enums::Currency, ...
feat(euclid): integration with decision engine (#7930) Co-authored-by: Jagan Elavarasan <jaganelavarasan@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **routing.rs** Modify existing code **routing_algorithm.rs** Modify existing code **schema.rs** Modify existing code **routing.rs** Modify existing code **utils.rs** Add: - function: private::build_and_send_euclid_http_request - function: private::send_euclid_request - funct...
refactor(core): use `business_profile` to read merchant configs (#2729)
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **helpers.rs** Modify existing code **webhooks.rs** Modify existing code **utils.rs** Modify existing code **payment_sync.rs** Modify existing code
feat(connector): [CYBERSOURCE] Refactor cybersource (#3215) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **cybersource.rs** Add: - function: private::get_5xx_error_response - function: private::get_5xx_error_response - function: private::get_5xx_error_response **transformers.rs** Add: - function: private::foreign_from - function: private::try_from - struct: pub::MerchantDefi...
feat(connector): [SILVERFLOW] Integrate cards non 3ds payments (#8591) Co-authored-by: yashasvi.kapil <yashasvi.kapil@juspay.in> Co-authored-by: Kuntimaddi Manideep <manideepk90@gmail.com>
Files to modify: **silverflow.rs** Remove: - struct: pub::Silverflow Add: - function: private::get_webhook_source_verification_algorithm - function: private::get_webhook_source_verification_signature - struct: pub::Silverflow **transformers.rs** Add: - function: private::from - struct: ...
feat: add `merchant_name` field in the response body (#1280) Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Files to modify: **payment_methods.rs** Modify existing code **cards.rs** Modify existing code
feat(subscriptions): Add Subscription confirm handler (#9353) Co-authored-by: Prajjwal kumar <write2prajjwal@gmail.com> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Jagan Elavarasan <jaganelavara...
Files to modify: **subscription.rs** Add: - function: pub::get_item_price_id - function: pub::get_billing_address - struct: pub::PaymentDetails - struct: pub::PaymentResponseData - struct: pub::ConfirmSubscriptionRequest - struct: pub::ConfirmSubscriptionResponse - struct: pub::Invoice ...
feat(users): Add V2 User APIs to Support Modularity for Merchant Accounts (#7386) Co-authored-by: Sandeep Kumar <sandeep.kumar@Sandeep-Kumar-LVF93XQXPC.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in>
Files to modify: **user.rs** Modify existing code **user.rs** Modify existing code **accounts.rs** Modify existing code **merchant_account.rs** Modify existing code **user.rs** Modify existing code **admin.rs** Modify existing code **user.rs** Modify existing code **lib.rs** Modify existing cod...
feat: rename columns in organization for v2 (#5424) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **organization.rs** Add: - function: pub::new - function: pub::new - function: pub::new - function: pub::new - function: private::get_organization_id - function: private::get_organization_name - function: private::set_organization_name - function: private::get_organi...
fix(core): add fix for stopping multiple event locking idempotent logs (#8034) Co-authored-by: Debarati Ghatak <debarati.ghatak@Debarati-Ghatak-FW569NC29L.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **events.rs** Add: - function: pub::find_by_merchant_id_idempotent_event_id **outgoing.rs** Modify existing code **events.rs** Add: - function: pub::find_by_merchant_id_idempotent_event_id **kafka_store.rs** Add: - function: private::find_event_by_merchant_id_idempotent_event_i...
fix(connector): [BAMBORA] Audit Fixes for Bambora (#4604)
Files to modify: **bambora.rs** Remove: - function: pub::get_payment_flow - function: private::get_flow_type - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - ...
feat(connector): [AIRWALLEX] - Added Paypal, Trustly, Klarna , Atome, Blik Payment Methods (#8475) Co-authored-by: Vani Gupta <vani.gupta@juspay.in> Co-authored-by: Sayak Bhattacharya <sayakofficial21@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **airwallex.rs** Modify existing code **transformers.rs** Add: - function: private::try_from - function: private::try_from - function: private::get_paylater_details - function: private::get_bankredirect_details - function: private::foreign_try_from - struct: pub::Airwalle...
chore: merging back release v0.3.0 back to main (#636) (#655) Co-authored-by: Sangamesh Kulkarni <59434228+Sangamesh26@users.noreply.github.com> Co-authored-by: ItsMeShashank <shashank.attarde@juspay.in> Co-authored-by: Abhishek <abhishek.marrivagu@juspay.in> Co-authored-by: Jagan <jaganelavarasan@gmail.com> Co-author...
Files to modify: **mod.rs** Modify existing code **test.rs** Modify existing code **admin.rs** Modify existing code **enums.rs** Modify existing code **payment_methods.rs** Modify existing code **payments.rs** Remove: - function: private::try_from - function: private::from - function: pri...
chore(euclid_wasm): refactor connector metadata (#5083)
Files to modify: **common_config.rs** Remove: - struct: pub::DashboardMetaData **connector.rs** Modify existing code **response_modifier.rs** Modify existing code **transformer.rs** Remove: - function: pub::transform_metedata - function: private::get_custom_gateway_name
feat(request): add `RequestBuilder` method to attach default request headers (#826)
Files to modify: **mod.rs** Remove: - impl: impl ConnectorCommonExt<Flow, Request, Response> for project Add: - impl: impl ConnectorCommonExt<Flow, Request, Response> for project **transformers.rs** Modify existing code **aci.rs** Modify existing code **adyen.rs** Modify existing code **airwalle...
feat(connector): [Checkout] add GooglePay, ApplePay and Webhooks support (#875) Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **checkout.rs** Add: - function: private::build_headers - impl: impl ConnectorCommonExt<Flow, Request, Response> for Checkout **transformers.rs** Remove: - enum: pub::Source Add: - function: private::try_from - function: private::try_from - function: pub::is_refund_even...
fix(connector_token): Move config redis (#4540) Co-authored-by: Akshay S <akshay.s@Akshay-Subramanian-D66TQ6D97K.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **configs.rs** Add: - function: private::from - impl: impl From<ConfigNew> for Config **consts.rs** Modify existing code **helpers.rs** Modify existing code **configs.rs** Add: - function: private::from - impl: impl From<ConfigNew> for Config
feat(connector): [BANKOFAMERICA] Implement Cards for Bank of America (#2765) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in>
Files to modify: **enums.rs** Modify existing code **routing.rs** Modify existing code **enums.rs** Modify existing code **defaults.rs** Modify existing code **bankofamerica.rs** Remove: - function: private::get_auth_header Add: - function: pub::generate_digest - function: pub::generate_si...
fix: resolve `TODO` and `FIXME` in `utils` module (#220)
Files to modify: **payments.rs** Modify existing code **helpers.rs** Modify existing code **payment_confirm.rs** Modify existing code **payment_status.rs** Modify existing code **refunds.rs** Modify existing code **validator.rs** Modify existing code **api.rs** Modify existing code **encryption.r...
feat: encrypt PII fields before saving it in the database (#1043) Co-authored-by: Nishant Joshi <nishant.joshi@juspay.in>
Files to modify: **admin.rs** Modify existing code **customers.rs** Modify existing code **payments.rs** Remove: - function: private::from - impl: impl From<VerifyRequest> for VerifyResponse **crypto.rs** Remove: - struct: pub::GcmAes256 Add: - function: private::new - function: priva...
ci(postman): hotfix for stripe and nmi collections failing (#3956)
Files to modify: **main.rs** Modify existing code
feat: Braintree connector integration (#30) Signed-off-by: Sahebjot Singh <sahebjot94@gmail.com> Co-authored-by: Sahebjot Singh <sahebjot.singh@juspay.in>
Files to modify: **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::braintree **braintree.rs** Add: - function: private::id - function: private::base_url - function: private::get_auth_header - function: private::get_headers - function: private::get_content_type ...
feat(connector): [Stripe] Add support for refund webhooks (#1488)
Files to modify: **webhooks.rs** Modify existing code **stripe.rs** Modify existing code **transformers.rs** Modify existing code **webhooks.rs** Modify existing code
feat(payouts): add domain type for PayoutId (#8395) 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 **webhooks.rs** Modify existing code **events.rs** Modify existing code **id_type.rs** Add: - mod: private::payout **payout.rs** Modify existing code **link_utils.rs** Modify existing code **events.rs** ...
feat(events): add incoming webhook payload to api events logger (#2852) Co-authored-by: Sampras lopes <lsampras@pm.me>
Files to modify: **mod.rs** Modify existing code **ext_traits.rs** Modify existing code **lib.rs** Modify existing code **serde.rs** Add: - function: private::masked_serialize - function: private::raw_serialize - trait: pub::ErasedMaskSerialize - impl: impl ErasedMaskSerialize for T **aci....
fix(pm_list): [Trustpay] Update Cards, Bank_redirect - blik pm type required field info for Trustpay (#2999) Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
Files to modify: **defaults.rs** Modify existing code
feat(pm_list): support for sending bank names (#678) Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
Files to modify: **payment_methods.rs** Modify existing code **payments.rs** Add: - struct: pub::BankData - struct: pub::BankCodeInformation - struct: pub::ConnectorCode - struct: pub::BankCodeResponse **settings.rs** Add: - struct: pub::BankRedirectConfig - struct: pub::ConnectorBankN...
feat(router): add support for overcapture (#8949) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **connector_enums.rs** Add: - function: pub::is_overcapture_supported_by_connector **primitive_wrappers.rs** Add: - function: pub::is_true - function: private::to_sql - function: private::from_sql - ...
fix(list): adding configuation changes for filtering `pm` based on countries & currencies (#669)
Files to modify: **settings.rs** Add: - function: private::string_set_deser - struct: pub::ConnectorFilters - struct: pub::PaymentMethodFilters - struct: pub::CurrencyCountryFilter **cards.rs** Add: - function: private::filter_pm_based_on_config **payment_methods.rs** Modify existing code
chore: reorder v2 migrations folders (#8671)
Files to modify: **enums.rs** Modify existing code **business_profile.rs** Modify existing code **customers.rs** Modify existing code **lib.rs** Add: - function: pub::into_inner - function: private::build - function: pub::into_inner - function: private::build - struct: pub::RequiredFrom...
feat(payment_methods): pass required shipping details field for wallets session call based on `business_profile` config (#4616) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **enums.rs** Modify existing code **payments.rs** Add: - struct: pub::GpayShippingAddressParameters - struct: pub::ApplePayBillingContactFields - struct: pub::ApplePayShippingContactFields - enum: pub::ApplePayAddressParameters **business_pro...
feat(payment_method): API to list countries and currencies supported by a country and payment method type (#4126) Co-authored-by: Mani Chandra Dulam <mani.dchandra@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payment.rs** Add: - impl: impl ApiEventMetric for ListCountriesCurrenciesRequest - impl: impl ApiEventMetric for ListCountriesCurrenciesResponse **payment_methods.rs** Add: - struct: pub::ListCountriesCurrenciesRequest - struct: pub::ListCountriesCurrenciesResponse - struct...
feat(core): add support for webhook additional source verification call for paypal (#2058) Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
Files to modify: **webhooks.rs** Modify existing code **settings.rs** Add: - struct: pub::WebhookSourceVerificationCall **paypal.rs** Add: - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::build_request - function: ...
fix: duplicate entries in total count when filtering by object ID (#8109) Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **webhook_events.rs** Modify existing code
feat(connector): [AIRWALLEX, ELAVON, NOVALNET, XENDIT] add in feature API (#7163) Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local> Co-authored-by: Anurag Singh <anurag.singh.001@AnuragSMHJ5619X.lan> Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
Files to modify: **airwallex.rs** Remove: - function: private::validate_connector_against_payment_request - impl: impl ConnectorValidation for Airwallex - impl: impl ConnectorSpecifications for Airwallex Add: - function: private::get_connector_about - function: private::get_supported_payment_m...
fix(router): Add additional card info in payment response (#1745) Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in>
Files to modify: **payments.rs** Add: - struct: pub::AdditionalCardInfo **validate.rs** Add: - function: pub::get_last4 **helpers.rs** Modify existing code **transformers.rs** Modify existing code
refactor: use frunk deriving mechanisms to reduce boilerplate (#137) Co-authored-by: Arun Raj M <jarnura47@gmail.com>
Files to modify: **enums.rs** Modify existing code **payments.rs** Modify existing code **transformers.rs** Modify existing code **address.rs** Modify existing code **enums.rs** Modify existing code
chore: add metrics for external api call (#2021)
Files to modify: **consts.rs** Modify existing code **cards.rs** Modify existing code **metrics.rs** Modify existing code **request.rs** Modify existing code **api.rs** Modify existing code **types.rs** Modify existing code
feat(core): implemented platform merchant account (#6882) Co-authored-by: Narayanbhat166 <narayan.bhat@juspay.in>
Files to modify: **merchant_account.rs** Modify existing code **payment_intent.rs** Modify existing code **schema.rs** Modify existing code **schema_v2.rs** Modify existing code **api_error_response.rs** Modify existing code **merchant_account.rs** Modify existing code **payments.rs** Modify exist...
feat: handle no connector txn id (#39)
Files to modify: **errors.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **api_error_response.rs** Modify existing...
feat(connector): [checkout] Add NTID flow (#9449) Co-authored-by: Vani Gupta <vani.gupta@juspay.in>
Files to modify: **checkout.rs** Modify existing code **transformers.rs** Modify existing code
feat(subscription): Add endpoint to get Subscription estimate (#9637) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Gaurav Rawat <104276743+GauravRawat369@users.noreply.github.com>
Files to modify: **lib.rs** Modify existing code **subscription.rs** Add: - struct: pub::EstimateSubscriptionQuery - struct: pub::EstimateSubscriptionResponse - struct: pub::SubscriptionLineItem - impl: impl ApiEventMetric for EstimateSubscriptionQuery - impl: impl ApiEventMetric for Estimate...
feat(payout-events): add kafka events for payout analytics (#4211) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **kafka_store.rs** Modify existing code **events.rs** Modify existing code **kafka.rs** Add: - function: pub::log_payout - function: pub::log_payout_delete - mod: private::payout **payout.rs** Add: - function: pub::from_storage - function: private::key - function: p...
feat(router): add core changes for external authentication flow through unified_authentication_service (#7063) Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sahkal Poddar <sahkalplanet@gmail.com>
Files to modify: **unified_authentication_service.rs** Add: - impl: impl api::UasAuthentication for UnifiedAuthenticationService - impl: impl ConnectorIntegration<Authenticate, UasAuthenticationRequestData, UasAuthenticationResponseData> for UnifiedAuthenticationService **transformers.rs** Modify existin...
docs: request and response in refund routes (#423)
Files to modify: **refunds.rs** Modify existing code **openapi.rs** Modify existing code **refunds.rs** Modify existing code
refactor: extract kms module to `external_services` crate (#793)
Files to modify: **env.rs** Modify existing code **kms.rs** Add: - function: pub::validate - struct: pub::KmsConfig - enum: pub::KmsError - impl: impl KmsConfig **lib.rs** Add: - mod: pub::kms - mod: pub::consts - mod: pub::metrics **settings.rs** Remove: - struct: pub::Kms ...
feat(core): routes to toggle blocklist (#3568) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Shanks <shashank.attarde@juspay.in>
Files to modify: **blocklist.rs** Add: - struct: pub::ToggleBlocklistResponse - struct: pub::ToggleBlocklistQuery - impl: impl ApiEventMetric for ToggleBlocklistResponse - impl: impl ApiEventMetric for ToggleBlocklistQuery **openapi.rs** Modify existing code **blocklist.rs** Add: - struct:...
fix: fix some fields not being updated during payments create, update and confirm (#1451) Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
Files to modify: **payment_confirm.rs** Modify existing code **payment_create.rs** Modify existing code **payment_update.rs** Add: - function: private::populate_payment_attempt_with_request - function: private::populate_payment_intent_with_request - impl: impl PaymentUpdate **payment_attempt.rs**...
feat(connector): [Authorizedotnet] Add Wallet support (#1223) Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com> Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
Files to modify: **authorizedotnet.rs** Add: - function: private::get_error_response - function: private::get_headers - function: private::get_content_type - function: private::get_url - function: private::get_request_body - function: private::build_request - function: private::get_flow_...
feat(events): add masked json serializer for logging PII values (#2681) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **api_keys.rs** Modify existing code **cards_info.rs** Modify existing code **disputes.rs** Modify existing code **mandates.rs** Modify existing code **payments.rs** Modify existing code **refunds.rs** Modify existing code **lib.rs** Modify exi...
feat(connector): [NEXIXPAY] Add template code (#5684) Co-authored-by: Mrudul Vajpayee <mrudul.vajpayee@mrudulvajpayee-XJWXCWP7HF.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **enums.rs** Modify existing code **enums.rs** Modify existing code **connectors.rs** Add: - mod: pub::nexixpay **nexixpay.rs** Add: - function: pub::new - function: private::build_headers - function: private::id - function: private::get_currency_unit - function: pr...
feat(connector): [PeachPayments] Add Cards Flow (#9030) Co-authored-by: Ben Janecke <ben.janecke@peachpayments.com> 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: **connector_enums.rs** Modify existing code **connector.rs** Modify existing code **peachpayments.rs** Remove: - function: private::validate_mandate_payment - function: private::validate_psync_reference_id - function: private::get_headers - function: private::get_content_type ...
fix: store and retrieve merchant secret from MCA table for webhooks source verification (#1331) Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Files to modify: **admin.rs** Add: - struct: pub::MerchantConnectorWebhookDetails **merchant_connector_account.rs** Modify existing code **schema.rs** Modify existing code **app.rs** Modify existing code **adyen.rs** Remove: - function: private::get_webhook_source_verification_merchant_secret *...
feat(connector): [Square] Implement Card Payments for Square (#1902)
Files to modify: **enums.rs** Modify existing code **square.rs** Remove: - impl: impl ConnectorIntegration< api::PaymentMethodToken, types::PaymentMethodTokenizationData, types::PaymentsResponseData, > for Square - impl: impl ConnectorValidation for Square - mod: private::transformers Add: - fu...
build(deps): bump tonic version from 0.12 to 0.13 (#8461)
Files to modify: **build.rs** Modify existing code **grpc_client.rs** Modify existing code
feat(routing): add invalidate window as a service for SR based routing (#6264) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **dynamic_routing.rs** Add: - function: private::invalidate_success_rate_routing_keys **routing.rs** Modify existing code **app.rs** Modify existing code **routing.rs** Modify existing code
feat(multitenancy): move users and tenants to global schema (#4781) 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: **consts.rs** Modify existing code **user.rs** Add: - function: pub::find_users_by_user_ids **user_role.rs** Add: - function: pub::list_by_merchant_id **analytics.rs** Modify existing code **settings.rs** Add: - function: private::get_schema - function: private::get_redi...
refactor(mandate): allow merchant to pass the mandate details and customer acceptance separately (#1188)
Files to modify: **payment_methods.rs** Modify existing code **payments.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **mandate.rs** Modify existing code **cards.rs** Modify existing code **helpers.rs*...
refactor(connector): Move connector Volt and Mollie from Router to HyperswitchConnector Trait (#5612)
Files to modify: **connectors.rs** Add: - mod: pub::mollie - mod: pub::volt **mollie.rs** Modify existing code **transformers.rs** Remove: - enum: pub::PaymentMethodData - impl: impl TryFrom<( &types::api::CurrencyUnit, types::storage::enums::Currency, i64, T, )> for MollieRouterData<T> - ...
feat(pm_list): add card - credit pm type required field info for connectors (#2075)
Files to modify: **enums.rs** Modify existing code **defaults.rs** Modify existing code
feat(connector): Add connector cashtocode (#1429)
Files to modify: **enums.rs** Modify existing code **payments.rs** Add: - struct: pub::RewardData **settings.rs** Modify existing code **connector.rs** Add: - mod: pub::cashtocode **transformers.rs** Modify existing code **transformers.rs** Modify existing code **cashtocode.rs** Add: -...
chore: fix typos in the repo (#8063) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **payments.rs** Modify existing code **payment_methods.rs** Modify existing code **macros.rs** Modify existing code **types.rs** Modify existing code **transformers.rs** Modify existing code **transformers.rs** Modify existing code **recurly.rs** Modify existing code **response.r...
feat(routing): Use Moka cache for routing with cache invalidation (#3216) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **payments.rs** Modify existing code **routing.rs** Remove: - enum: pub::CachedAlgorithm **helpers.rs** Modify existing code **helpers.rs** Modify existing code **merchant_account.rs** Modify existing code **merchant_connector_account.rs** Mod...
fix(routing): Fixed 5xx error logs in dynamic routing metrics (#7335)
Files to modify: **helpers.rs** Modify existing code
refactor(merchant_connector_account): change unique constraint to connector label (#3091) Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify: **admin.rs** Modify existing code **errors.rs** Modify existing code **admin.rs** Modify existing code **api_error_response.rs** Modify existing code **transformers.rs** Modify existing code **helpers.rs** Modify existing code
feat(core): customer_details storage in payment_intent (#5007) 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** Modify existing code **payment_intent.rs** Modify existing code **schema.rs** Modify existing code **payments.rs** Modify existing code **payment_attempt.rs** Modify existing code **payment_intent.rs** Modify existing code **cards.rs** Modify existing code **helpe...