feat(core): Add billing_descriptor in the payment intent#10077
Merged
Gnanasundari24 merged 11 commits intomainfrom Nov 7, 2025
Merged
feat(core): Add billing_descriptor in the payment intent#10077Gnanasundari24 merged 11 commits intomainfrom
Gnanasundari24 merged 11 commits intomainfrom
Conversation
2 tasks
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10077 +/- ##
=======================================
Coverage ? 3.89%
=======================================
Files ? 1224
Lines ? 303145
Branches ? 0
=======================================
Hits ? 11804
Misses ? 291341
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
added 2 commits
November 2, 2025 13:57
deepanshu-iiitu
previously approved these changes
Nov 3, 2025
sahkal
reviewed
Nov 4, 2025
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
Outdated
Show resolved
Hide resolved
crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs
Outdated
Show resolved
Hide resolved
2561def to
a1d6a24
Compare
added 2 commits
November 5, 2025 17:27
sai-harsha-vardhan
previously approved these changes
Nov 5, 2025
ThisIsMani
approved these changes
Nov 5, 2025
sahkal
approved these changes
Nov 5, 2025
sai-harsha-vardhan
approved these changes
Nov 6, 2025
dgeee13
approved these changes
Nov 6, 2025
aadityaguptaa
pushed a commit
that referenced
this pull request
Nov 10, 2025
Co-authored-by: Vani Gupta <vani.gupta@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Merged
11 tasks
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
Add billing_descriptor in the payment_intent table.
Additional Changes
Motivation and Context
Some connectors require specific fields to be included in the billing descriptor — for example, Checkout expects fields such as name, city, and a reference value. Previously, we only supported a single statement_descriptor field of type String, which was insufficient to meet these connector-specific requirements.
To address this, we introduced a new struct , billing_descriptor, which encapsulates multiple fields — name, city, phone, statement_descriptor and statement_descriptor_suffix.
How did you test it?
Checkout:
Request:
raw_connector_request:

Response:
Nuvei
Request:
raw_connector_request:

Response:
Checklist
cargo +nightly fmt --allcargo clippy