Skip to content
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

fix(connector): [Shift4] validate pretask for threeds cards #1428

Merged
merged 2 commits into from
Jun 15, 2023

Conversation

srujanchikke
Copy link
Contributor

Type of Change

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

Description

Previously , In connector shift4 pretask is executed if auth_type is threeds . This breaks bank redirects if auth_type is threeds . This pr adds validation for shift4 that pretask is executed only if payment_method is Card.

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?

Screenshot 2023-06-13 at 4 24 15 PM Screenshot 2023-06-13 at 4 29 49 PM

Checklist

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

Signed-off-by: chikke srujan <[email protected]>
@srujanchikke srujanchikke added A-connector-integration Area: Connector integration C-bug Category: Bug R-waiting-on-L1 Review: Waiting on L1 reviewer labels Jun 13, 2023
@srujanchikke srujanchikke requested a review from a team as a code owner June 13, 2023 11:04
@srujanchikke srujanchikke self-assigned this Jun 13, 2023
@jagan-jaya jagan-jaya added S-ready-for-merge and removed R-waiting-on-L1 Review: Waiting on L1 reviewer labels Jun 14, 2023
@jagan-jaya jagan-jaya added this pull request to the merge queue Jun 15, 2023
Merged via the queue into main with commit 2c1dcff Jun 15, 2023
@SanchithHegde SanchithHegde deleted the shift4_fix branch June 17, 2023 07:25
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-bug Category: Bug
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants