feat(connector): [checkout] Add additional fields in the request#9888
Merged
Conversation
Changed Files
|
2 tasks
af13e48 to
23c4948
Compare
deepanshu-iiitu
requested changes
Oct 17, 2025
awasthi21
approved these changes
Oct 17, 2025
deepanshu-iiitu
approved these changes
Oct 17, 2025
Comment on lines
+137
to
+141
| pub customer_email: Option<common_utils::pii::Email>, | ||
| pub customer_name: Option<Secret<String>>, | ||
| pub customer_phone_number: Option<Secret<String>>, | ||
| pub customer_phone_country_code: Option<String>, | ||
| pub shipping_details: Option<AddressDetails>, |
Contributor
There was a problem hiding this comment.
Should we structure the L2L3Data to have different structs for customer_details, shipping_details etc instead of having all the fields as part of L2L3Data struct.
Contributor
There was a problem hiding this comment.
Yes that would be better
Contributor
There was a problem hiding this comment.
We can take this change in the next PR
Contributor
There was a problem hiding this comment.
In that case please create and issue and mention it
ShankarSinghC
approved these changes
Oct 17, 2025
2 tasks
drdholu
pushed a commit
to drdholu/hyperswitch
that referenced
this pull request
Oct 30, 2025
…pay#9888) Co-authored-by: Vani Gupta <vani.gupta@juspay.in> Co-authored-by: likhinbopanna <131246334+likhinbopanna@users.noreply.github.com>
aadityaguptaa
pushed a commit
that referenced
this pull request
Nov 10, 2025
Co-authored-by: Vani Gupta <vani.gupta@juspay.in> Co-authored-by: likhinbopanna <131246334+likhinbopanna@users.noreply.github.com>
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
Providing additional data in the request to improve acceptance rate.

Also, updated the shipping_details and customer details in the L2L3 data.
for instance, earlier we were passing only customer name to the connector, now introduced email and phone field as well in L2L3 data.
Additional Changes
Motivation and Context
How did you test it?
Request:
Response:
Checklist
cargo +nightly fmt --allcargo clippy