hyperswitch
refactor(payment_methods): refactor customer payment methods list v2 code to follow better code practices
#6433
Open

Commits
  • refactor(profile): add `should_collect_cvv_during_payment` field
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(api_models): improve doc comments for `is_network_tokenization_enabled` field in profile types
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): rename `business_profile` to `profile` in `SavedPMLPaymentsInfo`
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): rename `requires_cvv` to `collect_cvv_during_payment` in `SavedPMLPaymentsInfo` and populate it from profile
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): accept merchant account by reference instead of value
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(hyperswitch_domain_models): update variants toggling a field during update to be required fields
    SanchithHegde committed on 2024-10-24 18:34
  • refactor: pass profile to `form_payments_info()` instead of fetching it within `form_payments_info()`
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): move `PaymentsMandateReference` from `router` crate to `diesel_models` crate
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): use concrete type instead of `serde_json::Value` for `connector_mandate_details` field
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): refactor `get_mca_status()` function to remove database call happening in a loop
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): use `serialize_and_set_key_with_expiry()` when storing payment method token in Redis
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): replace usages of `create_payment_method()` with a correct `apply_changeset()` implementation
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): drop column `metadata` in v2 code since it not actively being used in v1
    SanchithHegde committed on 2024-10-24 18:34
  • refactor(payment_methods): use `collect()` to collect `Vec<Result>` to `Result<Vec, _>`
    SanchithHegde committed on 2024-10-24 18:34
Loading