hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(connector): Introduce connector template code for Facilitapay

Open pixincreate opened this issue 9 months ago • 1 comments

Type of Change

  • [ ] Bugfix
  • [x] New feature
  • [ ] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

This PR introduces template code for new connector named Facilitapay.

Docs: https://sandbox-portal.facilitapay.com/#/docs

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

YES.

  1. config
  2. crates/router/src/configs
  3. loadtest/config

Motivation and Context

New connector -- Facilitapay Closes #7630

How did you test it?

just clippy
cargo +nightly fmt --all
cargo c

Hyperswitch code base should compile.

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by just clippy
  • [x] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

pixincreate avatar Mar 25 '25 16:03 pixincreate

Review changes with  SemanticDiff

Changed Files
File Status
  crates/router/src/core/payments/flows.rs  100% smaller
  crates/router/src/connector.rs  99% smaller
  crates/hyperswitch_connectors/src/connectors.rs  77% smaller
  crates/hyperswitch_connectors/src/default_implementations.rs  6% smaller
  crates/hyperswitch_connectors/src/default_implementations_v2.rs  5% smaller
  crates/common_enums/src/connector_enums.rs  1% smaller
  config/config.example.toml Unsupported file format
  config/deployments/integration_test.toml Unsupported file format
  config/deployments/production.toml Unsupported file format
  config/deployments/sandbox.toml Unsupported file format
  config/development.toml Unsupported file format
  config/docker_compose.toml Unsupported file format
  crates/connector_configs/src/connector.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/facilitapay.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs  0% smaller
  crates/hyperswitch_domain_models/src/configs.rs  0% smaller
  crates/router/src/core/admin.rs  0% smaller
  crates/router/src/types/api.rs  0% smaller
  crates/router/src/types/transformers.rs  0% smaller
  crates/router/tests/connectors/facilitapay.rs  0% smaller
  crates/router/tests/connectors/main.rs  0% smaller
  crates/test_utils/src/connector_auth.rs  0% smaller
  loadtest/config/development.toml Unsupported file format
  scripts/add_connector.sh Unsupported file format

semanticdiff-com[bot] avatar Mar 25 '25 16:03 semanticdiff-com[bot]