-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat(core): add additional revenue recovery call flow #7402
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
Conversation
… unified authentication service connector
@@ -0,0 +1,5 @@ | |||
#[derive(Debug, Clone)] | |||
pub struct GetAdditionalRevenueRecoveryRequestData { | |||
// stripe charge id for additional call |
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.
// stripe charge id for additional call | |
/// unique id for making additional revenue recovery call |
crates/hyperswitch_domain_models/src/router_request_types/revenue_recovery.rs
Outdated
Show resolved
Hide resolved
@@ -506,6 +506,7 @@ pub(crate) async fn fetch_raw_secrets( | |||
required_fields: conf.required_fields, | |||
delayed_session_response: conf.delayed_session_response, | |||
webhook_source_verification_call: conf.webhook_source_verification_call, | |||
// additional_revenue_recovery_details_call: conf.additional_revenue_recovery_details_call, |
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 is this commented ?
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.
since the connector is not enabled the cypress tests will fail on this. I will enable it in subsequent pr's
@@ -96,6 +96,7 @@ pub struct Settings<S: SecretState> { | |||
pub required_fields: RequiredFields, | |||
pub delayed_session_response: DelayedSessionConfig, | |||
pub webhook_source_verification_call: WebhookSourceVerificationCall, | |||
// pub additional_revenue_recovery_details_call: GetAdditionalRevenueRecoveryDetailsCall, |
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.
Same 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.
the connector is not enabled so we will get an error when we try to run the file because we have stripebilling in config and we don't have corresponding enabled connector
* 'main' of github.com:juspay/hyperswitch: feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427)
…juspay/hyperswitch into connector/gpay-mandates-authorizedotnet * 'connector/gpay-mandates-authorizedotnet' of github.com:juspay/hyperswitch: (25 commits) ci(cypress): address lints and refactor redirection handler (#7437) chore: make v1 merchant account forward compatible (#7426) fix(dashboard): Added auth key to juspay threeds server (#7457) feat(hipay): Add Template PR (#7360) chore(version): 2025.03.07.0 chore(postman): update Postman collection files feat(analytics): add new filters, dimensions and metrics for authentication analytics (#7451) feat(router): add capability to force challenge for 3DS Payments through Netcetera and send few optional fields (#7429) feat(analytics): refactor and rewrite authentication related analytics (#7433) refactor(core): Added payment id in authentication router data (#7441) feat(connector): Added ThreeDs server integration template pr (#7424) fix(xendit): Fix wasm changes (#7419) chore(postman): postman tests fixes (#7159) ci(cypress): move customer acceptance in configs to a const within commons (#7435) feat(core): add additional revenue recovery call flow (#7402) chore(version): 2025.03.06.0 feat(payment_link): expose payment link configs for SDK UI rules and payment button (#7427) feat(connector): [EFT] Add EFT as a payment method (#7304) chore(version): 2025.03.05.1 feat(connector): [Moneris] Implement mandate for Moneris (#7322) ...
Type of Change
Description
For some billing connectors, we get limited data in the webhook that is not sufficient to use. So we need to make an additional api call for this extra data. This pr adds that flow.
Additional Changes
Motivation and Context
No testing required since its just defining the flow not using it.
Checklist
cargo +nightly fmt --all
cargo clippy