-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(platform): support get customer for platform in payments #10684
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
Open
apoorvdixit88
wants to merge
2
commits into
main
Choose a base branch
from
customers-in-payments-create-platform
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+378
−92
Conversation
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
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10684 +/- ##
=======================================
Coverage ? 6.42%
=======================================
Files ? 1262
Lines ? 315689
Branches ? 0
=======================================
Hits ? 20290
Misses ? 295399
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Type of Change
Description
This PR introduces Platform-aware support for resolving a customer during the payments create flow. The logic now correctly determines whether to fetch an existing customer or create a new one, while ensuring the appropriate Provider or Processor context is propagated throughout the flow. The PR does the following
Additional Changes
Motivation and Context
Closes https://github.com/juspay/hyperswitch-cloud/issues/13315
How did you test it?
Existing behaviour remained intact, no flows failing for standard merchants with these changes.
Checklist
cargo +nightly fmt --allcargo clippy