Skip to content

Conversation

likhinbopanna
Copy link
Contributor

@likhinbopanna likhinbopanna commented Jun 2, 2025

Type of Change

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

Description

Fix fiuu, ferservmea ,paybox and worldpay connector in cypress tests
Handled 3DS test cases for connectors that do not support 3DS.

Additional Changes

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

Motivation and Context

How did you test it?

  • Worldpay
image

Issue : 1. After creating 3ds payment but without complete the redirection , When psync is done , throwing this error

  • Nexixpay
image
  • Fiuu
image

Issue : 1. Zero auth mandate goes to processing state and test cases are failing
2. Merchant Payment method list is null

  • Paybox
image

Issue : 1. zero auth mandate goes to processing state and test cases are failing

Checklist

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

@likhinbopanna likhinbopanna requested a review from a team as a code owner June 2, 2025 13:54
Copy link

semanticdiff-com bot commented Jun 2, 2025

@likhinbopanna likhinbopanna marked this pull request as draft June 2, 2025 13:55
@likhinbopanna likhinbopanna changed the title ci(cypress): fix fiuu and fiservemea connector ci(cypress): fix fiuu, fiservemea and worldpay connector Jun 8, 2025
@likhinbopanna likhinbopanna marked this pull request as ready for review June 8, 2025 12:19
@likhinbopanna likhinbopanna changed the title ci(cypress): fix fiuu, fiservemea and worldpay connector ci(cypress): fix fiuu, fiservemea , paybox and worldpay connector Jun 9, 2025
Gnanasundari24
Gnanasundari24 previously approved these changes Jun 9, 2025
Comment on lines +382 to +401
MandateSingleUseNo3DSManualCapture: {
Configs: {
TRIGGER_SKIP: true,
},
Request: {
payment_method: "card",
payment_method_data: {
card: successfulNo3DSCardDetails,
},
currency: "EUR",
mandate_data: singleUseMandateData,
billing: billingAddress,
},
Response: {
status: 200,
body: {
status: "requires_capture",
},
},
},
Copy link
Member

Choose a reason for hiding this comment

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

since the setup_future_usage does a fallback to on_session when mandate is not supported, we can start moving this config to Commons (refactor commons) such that, instead of expecting the 501 we expect a 2xx response which can be overriden by connectors if they expect a different status in the response with TRIGGER_SKIP set to true just because mandate payments shouldn't happen.

yes, this can be considered in a separate pr given the complexity and the work involved.

Copy link
Member

Choose a reason for hiding this comment

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

i would want this to be kept unresolved for now. if not asking for much, can you please open an issue on this topic so that it can be picked in future and not left as a tech debt?

@likhinbopanna likhinbopanna self-assigned this Jun 9, 2025
@pixincreate pixincreate enabled auto-merge June 10, 2025 06:50
@pixincreate pixincreate added this pull request to the merge queue Jun 10, 2025
Merged via the queue into main with commit d7499c3 Jun 10, 2025
15 of 20 checks passed
@pixincreate pixincreate deleted the fix-fiuu branch June 10, 2025 07:47
pixincreate added a commit that referenced this pull request Jun 10, 2025
…ordea-sepa

* 'main' of github.com:juspay/hyperswitch: (63 commits)
  feat(connector): [TRUSTPAY] Added Integrity Checks for PSync & RSync flows & Added New Variants in AttemptStatus & IntentStatus (#8096)
  fix(connector): [STRIPE] Throwing Missing Required Field Error if connector_customer is not present (#8309)
  refactor(connectors): [worldpayvantiv] replace sandbox url with pre-live url and fix typo (#8286)
  fix: payment link styling for dynamic classes (#8273)
  feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)
  fix(cypress): fix itaubank, datatrans and facilitapay (#8229)
  fix(connector): [jpmorgan] 5xx during payment authorize and `cancellation_reason` (#8282)
  revert(connector): [Worldpay] add root CA certificate (#8224)
  ci(cypress): fix fiuu, fiservemea , paybox and worldpay connector (#8209)
  fix(connector): removed forked josekit dependency from payout connector Nomupay (#8183)
  chore(version): 2025.06.10.0
  feat(tokenio): Add OpenBanking Redirection Flow (#8152)
  fix: Unified scarf setup (#8238)
  feat(health): Health check for Decision engine (#8243)
  chore: Update apple pay currency filter configs (#8217)
  refactor(customers_v2): Remove merchant reference id from v2 customer update (#7879)
  chore(version): 2025.06.09.0
  chore(postman): update Postman collection files
  ci(postman): add tunnel collection to postman tests (#8269)
  feat(connector): Added recurring payments support for split payments in Stripe (#8271)
  ...
pixincreate added a commit that referenced this pull request Jun 10, 2025
…ordea-sepa

* 'main' of github.com:juspay/hyperswitch: (63 commits)
  feat(connector): [TRUSTPAY] Added Integrity Checks for PSync & RSync flows & Added New Variants in AttemptStatus & IntentStatus (#8096)
  fix(connector): [STRIPE] Throwing Missing Required Field Error if connector_customer is not present (#8309)
  refactor(connectors): [worldpayvantiv] replace sandbox url with pre-live url and fix typo (#8286)
  fix: payment link styling for dynamic classes (#8273)
  feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)
  fix(cypress): fix itaubank, datatrans and facilitapay (#8229)
  fix(connector): [jpmorgan] 5xx during payment authorize and `cancellation_reason` (#8282)
  revert(connector): [Worldpay] add root CA certificate (#8224)
  ci(cypress): fix fiuu, fiservemea , paybox and worldpay connector (#8209)
  fix(connector): removed forked josekit dependency from payout connector Nomupay (#8183)
  chore(version): 2025.06.10.0
  feat(tokenio): Add OpenBanking Redirection Flow (#8152)
  fix: Unified scarf setup (#8238)
  feat(health): Health check for Decision engine (#8243)
  chore: Update apple pay currency filter configs (#8217)
  refactor(customers_v2): Remove merchant reference id from v2 customer update (#7879)
  chore(version): 2025.06.09.0
  chore(postman): update Postman collection files
  ci(postman): add tunnel collection to postman tests (#8269)
  feat(connector): Added recurring payments support for split payments in Stripe (#8271)
  ...
pixincreate added a commit that referenced this pull request Jun 10, 2025
… into trustpay-banktransfer

* 'trustpay-banktransfer' of github.com:juspay/hyperswitch:
  feat(connector): [TRUSTPAY] Added Integrity Checks for PSync & RSync flows & Added New Variants in AttemptStatus & IntentStatus (#8096)
  fix(connector): [STRIPE] Throwing Missing Required Field Error if connector_customer is not present (#8309)
  refactor(connectors): [worldpayvantiv] replace sandbox url with pre-live url and fix typo (#8286)
  fix: payment link styling for dynamic classes (#8273)
  feat(core): Make installment_payment_enabled,recurring_enabled Optional (#8201)
  fix(cypress): fix itaubank, datatrans and facilitapay (#8229)
  fix(connector): [jpmorgan] 5xx during payment authorize and `cancellation_reason` (#8282)
  revert(connector): [Worldpay] add root CA certificate (#8224)
  ci(cypress): fix fiuu, fiservemea , paybox and worldpay connector (#8209)
  fix(connector): removed forked josekit dependency from payout connector Nomupay (#8183)
  chore(version): 2025.06.10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants