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): [Bluesnap] fix expiry year #1426

Merged
merged 5 commits into from
Jun 14, 2023
Merged

fix(connector): [Bluesnap] fix expiry year #1426

merged 5 commits into from
Jun 14, 2023

Conversation

prasunna09
Copy link
Contributor

Type of Change

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

Description

When a 2-digit expiry year is sent to Bluesnap, an error is thrown stating 'Problematic Input.' To address this, the 2-digit expiry year should be converted to a 4-digit expiry year.

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?

Screen Shot 2023-06-13 at 4 04 54 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

@prasunna09 prasunna09 added A-connector-integration Area: Connector integration C-bug Category: Bug S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jun 13, 2023
@prasunna09 prasunna09 requested a review from a team as a code owner June 13, 2023 10:36
@prasunna09 prasunna09 self-assigned this Jun 13, 2023
@github-actions github-actions bot added the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Jun 13, 2023
jagan-jaya
jagan-jaya previously approved these changes Jun 13, 2023
@prasunna09 prasunna09 changed the title fix(connector) : [Bluesnap] Fix expiry year fix(connector) : [Bluesnap] fix expiry year Jun 13, 2023
@prasunna09 prasunna09 changed the title fix(connector) : [Bluesnap] fix expiry year fix(connector): [Bluesnap] fix expiry year Jun 13, 2023
@github-actions github-actions bot removed the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Jun 13, 2023
ArjunKarthik
ArjunKarthik previously approved these changes Jun 13, 2023
@prasunna09
Copy link
Contributor Author

Closing this pull request as the conversion from a 2-digit to 4-digit year is no longer needed. The validation in #1416 will always expect a 4-digit year.

@prasunna09 prasunna09 closed this Jun 14, 2023
@jagan-jaya jagan-jaya reopened this Jun 14, 2023
@jagan-jaya
Copy link
Contributor

We need this PR as we are allowing 2 digits expiry year in HS

@jagan-jaya jagan-jaya added S-ready-for-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jun 14, 2023
jarnura
jarnura previously approved these changes Jun 14, 2023
@jarnura jarnura added S-needs-conflict-resolution Status: This PR needs conflicts to be resolved by the author and removed S-ready-for-merge labels Jun 14, 2023
@prasunna09 prasunna09 added S-waiting-on-review Status: This PR has been implemented and needs to be reviewed and removed S-needs-conflict-resolution Status: This PR needs conflicts to be resolved by the author labels Jun 14, 2023
@jagan-jaya jagan-jaya added S-ready-for-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Jun 14, 2023
@jarnura jarnura added this pull request to the merge queue Jun 14, 2023
Merged via the queue into main with commit 92c8222 Jun 14, 2023
@SanchithHegde SanchithHegde deleted the bluesnap-bugfix branch June 17, 2023 07:24
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.

5 participants