hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

ci(cypress): fix mandates unsupported connectors

Open likhinbopanna opened this issue 7 months ago • 1 comments

Type of Change

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

Description

This PR fixes the connectors that do not support mandates. Due to a recent change in the core, off_session in the request is downgraded to on_session, allowing payments to go through. As a result, the payment_method_id will be null for on_session confirm calls. This behavior is handled in the assertions.

Additional Changes

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

Motivation and Context

Tests were failing

How did you test it?

  • STRIPE image

  • BLUESNAP image

  • NMI image

  • TRUSTPAY image

Checklist

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

likhinbopanna avatar May 20 '25 13:05 likhinbopanna

conflicts

pixincreate avatar May 27 '25 07:05 pixincreate

spell check is failing, can you try pulling from main once?

pixincreate avatar May 27 '25 09:05 pixincreate