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(locker): remove delete_locker_payment_method_by_lookup_key from payments_operation_core #1636

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

ShankarSinghC
Copy link
Contributor

@ShankarSinghC ShankarSinghC commented Jul 6, 2023

Type of Change

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

Description

The function call responsible for deleting card details from payments_operations_core() has been removed in this PR. This modification ensures that the redundant deletion of already deleted card details no longer occurs, preventing the unnecessary error from being triggered.

Additional Changes

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

Motivation and Context

Previously, there was a function call within payments_operations_core() that deleted card details stored in the Basilisk Locker V3. However, it was discovered that the process tracker was also attempting to delete the same card details, resulting in an unnecessary error when trying to delete an already deleted card.

How did you test it?

Manual, compiler-guided

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

@ShankarSinghC ShankarSinghC added A-core Area: Core flows C-bug Category: Bug R-waiting-on-L1 Review: Waiting on L1 reviewer low-risk label to track PRs which might have less impact on hyperswitch after merge labels Jul 6, 2023
@ShankarSinghC ShankarSinghC self-assigned this Jul 6, 2023
@ShankarSinghC ShankarSinghC requested a review from a team as a code owner July 6, 2023 12:07
@github-actions github-actions bot added the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Jul 6, 2023
@ShankarSinghC ShankarSinghC changed the title fix(locker) : remove delete_locker_payment_method_by_lookup_key from payments_operation_core fix(locker): remove delete_locker_payment_method_by_lookup_key from payments_operation_core Jul 6, 2023
@ShankarSinghC ShankarSinghC removed the S-conventions-not-followed Status: This PR does not follow contributing guidelines label Jul 6, 2023
@vspecky vspecky added R-waiting-on-L2 Review: Waiting on L2 reviewer R-L1-completed Review: L1 Review completed and removed R-waiting-on-L1 Review: Waiting on L1 reviewer labels Jul 7, 2023
@SanchithHegde SanchithHegde added S-waiting-on-author Status: This PR is incomplete or needs to address review comments and removed R-waiting-on-L2 Review: Waiting on L2 reviewer R-L1-completed Review: L1 Review completed labels Jul 7, 2023
@ShankarSinghC ShankarSinghC added R-waiting-on-L2 Review: Waiting on L2 reviewer and removed S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Jul 11, 2023
@SanchithHegde SanchithHegde added this pull request to the merge queue Jul 11, 2023
@SanchithHegde SanchithHegde added S-ready-for-merge and removed R-waiting-on-L2 Review: Waiting on L2 reviewer labels Jul 11, 2023
Merged via the queue into main with commit b326c18 Jul 11, 2023
@SanchithHegde SanchithHegde deleted the fix_basilidk_v3_delete_crads branch July 11, 2023 09:33
@SanchithHegde SanchithHegde removed S-ready-for-merge low-risk label to track PRs which might have less impact on hyperswitch after merge labels Jul 11, 2023
@bernard-eugine bernard-eugine added the P-high Priority: High label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Core flows C-bug Category: Bug P-high Priority: High
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

6 participants