Skip to content

feat(connector): [AUTHIPAY] Integrate cards non 3ds payments #8266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jul 8, 2025

Conversation

iemyashasvi
Copy link
Contributor

@iemyashasvi iemyashasvi commented Jun 5, 2025

Type of Change

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

Description

Cards Non-3DS payments added for authipay
https://docs.fiserv.dev/public/reference/payments-intro

Additional Changes

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

Motivation and Context

#8398

How did you test it?

Tested using cargo build and cypress test
Screenshot 2025-07-04 at 11 49 02 AM

Checklist

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

@iemyashasvi iemyashasvi requested review from a team as code owners June 5, 2025 09:43
Copy link

semanticdiff-com bot commented Jun 5, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/router/src/connector.rs  96% smaller
  crates/hyperswitch_connectors/src/connectors.rs  81% smaller
  crates/hyperswitch_connectors/src/default_implementations.rs  27% smaller
  crates/hyperswitch_connectors/src/default_implementations_v2.rs  26% smaller
  api-reference/v1/openapi_spec_v1.json  0% smaller
  api-reference/v2/openapi_spec_v2.json  0% 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
  config/payment_required_fields_v2.toml Unsupported file format
  crates/common_enums/src/connector_enums.rs  0% smaller
  crates/connector_configs/src/connector.rs  0% smaller
  crates/connector_configs/toml/development.toml Unsupported file format
  crates/connector_configs/toml/production.toml Unsupported file format
  crates/connector_configs/toml/sandbox.toml Unsupported file format
  crates/hyperswitch_connectors/src/connectors/authipay.rs  0% smaller
  crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs  0% smaller
  crates/hyperswitch_domain_models/src/configs.rs  0% smaller
  crates/payment_methods/src/configs/payment_connector_required_fields.rs  0% smaller
  crates/router/src/core/connector_validation.rs  0% smaller
  crates/router/src/types/api.rs  0% smaller
  crates/router/src/types/transformers.rs  0% smaller
  crates/router/tests/connectors/authipay.rs  0% smaller
  crates/router/tests/connectors/sample_auth.toml Unsupported file format
  crates/test_utils/src/connector_auth.rs  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Authipay.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Utils.js  0% smaller
  loadtest/config/development.toml Unsupported file format
  scripts/add_connector.sh Unsupported file format

@deepanshu-iiitu deepanshu-iiitu added A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement labels Jun 18, 2025
@hyperswitch-bot hyperswitch-bot bot added the M-api-contract-changes Metadata: This PR involves API contract changes label Jun 18, 2025
@deepanshu-iiitu deepanshu-iiitu linked an issue Jun 20, 2025 that may be closed by this pull request
2 tasks
@deepanshu-iiitu deepanshu-iiitu changed the title feat(connector): added Authipay integration feat(connector): [AUTHIPAY] Integrate cards non 3ds payments Jun 20, 2025
@deepanshu-iiitu deepanshu-iiitu self-requested a review June 20, 2025 07:32
@iemyashasvi iemyashasvi force-pushed the authipay_integration branch from 836b28a to 49707c5 Compare June 20, 2025 09:31
},

// Enhanced void after auto capture - should fail gracefully
VoidAfterAutoCapture: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the testcases is not there,remove this config


// ===== DYNAMIC FIELDS PAYMENT INTENT SCENARIOS =====

PaymentWithoutBilling: getCustomExchange({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this,it will fetch it from commons.js

},
}),

PaymentWithBilling: getCustomExchange({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this,it will fetch it from commons.js

},
}),

PaymentWithFullName: getCustomExchange({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this,it will fetch it from commons.js

},
}),

PaymentWithBillingEmail: getCustomExchange({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this,it will fetch it from commons.js

Gnanasundari24
Gnanasundari24 previously approved these changes Jul 7, 2025
deepanshu-iiitu
deepanshu-iiitu previously approved these changes Jul 7, 2025
@SanchithHegde SanchithHegde requested review from deepanshu-iiitu and removed request for a team July 7, 2025 10:07
@iemyashasvi iemyashasvi removed the request for review from SanchithHegde July 7, 2025 10:10
@iemyashasvi iemyashasvi requested review from Gnanasundari24 and removed request for ShankarSinghC July 8, 2025 10:14
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Jul 8, 2025
Merged via the queue into main with commit ef42ad4 Jul 8, 2025
16 of 20 checks passed
@Gnanasundari24 Gnanasundari24 deleted the authipay_integration branch July 8, 2025 12:36
pixincreate added a commit that referenced this pull request Jul 9, 2025
…ayload-webhooks

* 'main' of github.com:juspay/hyperswitch:
  refactor(connector): Move connector mappings and endpoints to dedicated modules (#8562)
  ci(cypress): fix `hipay` test cases (#8563)
  chore(version): 2025.07.09.0
  fix(payment_method): update entity id used for Vault to global customer id (#8380)
  refactor(routing): add conditional check for invoking DE routing flows (#8559)
  feat(connector): [AUTHIPAY] Integrate cards non 3ds payments (#8266)
  ci(cypress): add payu connector (#8567)
  feat(connector): [silverflow] template code (#8553)
  chore(version): 2025.07.08.0
  feat(cypress): [worldpayvantiv] add cypress test (#8234)
  feat(connectors): [worldpayvantiv] add connector mandate support  (#8546)
  feat(connector): [Celero] add Connector Template Code (#8489)
  feat(payment-methods): create payment_token in vault confirm / do payment-confirm with temp token from session (#8525)
  ci(cypress): Add Tsys,Square cypress test (#8543)
  chore(version): 2025.07.07.0
@manideepk90 manideepk90 added Grace PR raised using GRACE AI and removed M-api-contract-changes Metadata: This PR involves API contract changes labels Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement Grace PR raised using GRACE AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] [AUTHIPAY] Integrate cards non-3ds payments
7 participants