- Notifications
You must be signed in to change notification settings - Fork3.9k
feat(refunds_v2): Add refund create core flow#7619
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
semanticdiff-combot commentedMar 25, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
...nce-v2/api-reference/payment-methods/payment-method--list-customer-saved-payment-methods.mdx OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
Uh oh!
There was an error while loading.Please reload this page.
…tch into refunds-create-core-flow
#[cfg(feature = "v2")] | ||
impl ApiEventMetric for RefundsCreateRequest { | ||
fn get_api_event_type(&self) -> Option<ApiEventsType> { | ||
None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Why are we returningNone
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
We are going to take this up later in separate implementation.
Uh oh!
There was an error while loading.Please reload this page.
07095f6
eabef32
Uh oh!
There was an error while loading.Please reload this page.
…acilitapay-pix-pmt* 'main' of github.com:juspay/hyperswitch: fix(connector): revert noon-paypal (#7864) refactor(cypress): do not update `card_expiry` while updating card info (#7834) feat(vsaas): add processor_merchant_id and created_by column in payment_intents and payments_attempts for v1 (#7768) chore(dynamic-fields): remove billing details as required fields for Worldpay connector (#7853) feat(dynamic_routing): integration of elimination routing for core flows (#6816) chore(version): 2025.04.22.0 revert: fix(connector): [noon] address `next_action_url` being `null` for cards in 3ds payment (#7859) feat(dynamic_routing): add open router integration for success based routing (#7795) feat(refunds_v2): Add refund create core flow (#7619) fix(core): [CARD TESTING GUARD] Added Card Testing Guard Config response in case of NULL (#7478)
Uh oh!
There was an error while loading.Please reload this page.
Type of Change
Description
This PR is a part of v2 implementation of refunds. This PR contains refunds create core flow, i.e we can be able to create refunds for payments in v2.
Important
We are moving
refunds/transformers.rs
andrefunds/validator.rs
to a separate location because of accessibilityto both v1 and v2 refund code.
Additional Changes
Motivation and Context
Merging this PR would add support for creating refunds for payments in v2 apis.
How did you test it?
Error case responses
Checklist
cargo +nightly fmt --all
cargo clippy