refactor(core): structure of split payments#6706
Merged
Gnanasundari24 merged 25 commits intomainfrom Dec 13, 2024
Merged
Conversation
85e0b3a to
13ea66f
Compare
81af0b1 to
2b26ce6
Compare
…yperswitch into split-payments-refactor
SanchithHegde
previously approved these changes
Dec 10, 2024
Narayanbhat166
previously approved these changes
Dec 10, 2024
deepanshu-iiitu
previously approved these changes
Dec 10, 2024
apoorvdixit88
previously approved these changes
Dec 10, 2024
9f06fad
SanchithHegde
previously approved these changes
Dec 11, 2024
deepanshu-iiitu
previously approved these changes
Dec 11, 2024
Narayanbhat166
previously approved these changes
Dec 11, 2024
apoorvdixit88
previously approved these changes
Dec 11, 2024
cc12206
deepanshu-iiitu
approved these changes
Dec 13, 2024
apoorvdixit88
approved these changes
Dec 13, 2024
SanchithHegde
approved these changes
Dec 13, 2024
Narayanbhat166
approved these changes
Dec 13, 2024
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
Charges can be collected on payments for collecting fees for resellers. Adyen, Stripe allows creating charges on payment intents using their marketplace platform.
The support for collecting charges on payments and refunding charges needs to be added.
Payments
split_paymentsis introduced to read charge specific detailscharge_idis returned by the connector which is persisted inpayment_attempttable. This can later be used for refunding chargesBefore
Changes in this PR
Refunds
split_refundsis introduced to read charge id and refund optionscharge_idcreated during payments is fetched and used as a referenceBefore
Changes in this PR
Additional Changes
Motivation and Context
How did you test it?
I. Direct Charges
Response
Response
Response
Response
II. Destination Charges
Response
Response
Response
Response
Checklist
cargo +nightly fmt --allcargo clippy