feat(core): Update PaymentsMethod Table based on IncomingWebhooks#9453
Merged
Gnanasundari24 merged 22 commits intomainfrom Nov 7, 2025
Merged
feat(core): Update PaymentsMethod Table based on IncomingWebhooks#9453Gnanasundari24 merged 22 commits intomainfrom
Gnanasundari24 merged 22 commits intomainfrom
Conversation
…nector sends new Card Info's in Webhooks
Changed Files
|
kashif-m
requested changes
Sep 22, 2025
kashif-m
reviewed
Oct 6, 2025
crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
Outdated
Show resolved
Hide resolved
kashif-m
reviewed
Oct 6, 2025
kashif-m
previously approved these changes
Oct 6, 2025
Contributor
kashif-m
left a comment
There was a problem hiding this comment.
added a nitpick, looks good otherwise
kashif-m
reviewed
Oct 6, 2025
kashif-m
reviewed
Oct 6, 2025
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9453 +/- ##
=======================================
Coverage ? 3.89%
=======================================
Files ? 1224
Lines ? 303236
Branches ? 0
=======================================
Hits ? 11804
Misses ? 291432
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
added 2 commits
October 28, 2025 13:57
hrithikesh026
previously approved these changes
Oct 30, 2025
jagan-jaya
previously approved these changes
Oct 30, 2025
kashif-m
previously approved these changes
Oct 31, 2025
deepanshu-iiitu
previously approved these changes
Oct 31, 2025
e15a3b8
kashif-m
approved these changes
Nov 7, 2025
jagan-jaya
approved these changes
Nov 7, 2025
hrithikesh026
approved these changes
Nov 7, 2025
AkshayaFoiger
approved these changes
Nov 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Let's say a CIT has been executed and the future MIT's have been going through pretty well but the customer's card has expired now and only the Bank knows about it. Our locker still has the expired card details and is attempting to execute the MIT based on that. However, when the MIT fails - Bank informs Adyen about this failed card and also passes on the new card details info's like last4 digits, expiry month and year etc. We need to consume this from webhooks and store it in our
payment methodstable inpayment_method_datacolumn.Additional Changes
Motivation and Context
How did you test it?
Make a CIT call
cURL:
Response:
Make a POST callback From Postman:
cURL:
Payment Method Retrieve call:
cURL:
Response:
DB Update query in logs:

Checklist
cargo +nightly fmt --allcargo clippy