mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
feat(core): implemented platform merchant account (#6882)
Co-authored-by: Narayanbhat166 <narayan.bhat@juspay.in>
This commit is contained in:
@ -617,6 +617,7 @@ async fn payments_incoming_webhook_flow(
|
||||
consume_or_trigger_flow.clone(),
|
||||
None,
|
||||
HeaderPayload::default(),
|
||||
None, //Platform merchant account
|
||||
))
|
||||
.await;
|
||||
// When mandate details are present in successful webhooks, and consuming webhooks are skipped during payment sync if the payment status is already updated to charged, this function is used to update the connector mandate details.
|
||||
@ -1159,6 +1160,7 @@ async fn external_authentication_incoming_webhook_flow(
|
||||
payments::CallConnectorAction::Trigger,
|
||||
None,
|
||||
HeaderPayload::with_source(enums::PaymentSource::ExternalAuthenticator),
|
||||
None, // Platform merchant account
|
||||
))
|
||||
.await?;
|
||||
match payments_response {
|
||||
@ -1356,6 +1358,7 @@ async fn frm_incoming_webhook_flow(
|
||||
payments::CallConnectorAction::Trigger,
|
||||
None,
|
||||
HeaderPayload::default(),
|
||||
None, // Platform merchant account
|
||||
))
|
||||
.await?
|
||||
}
|
||||
@ -1385,6 +1388,7 @@ async fn frm_incoming_webhook_flow(
|
||||
payments::CallConnectorAction::Trigger,
|
||||
None,
|
||||
HeaderPayload::default(),
|
||||
None, // Platform merchant account
|
||||
))
|
||||
.await?
|
||||
}
|
||||
@ -1543,6 +1547,7 @@ async fn bank_transfer_webhook_flow(
|
||||
payments::CallConnectorAction::Trigger,
|
||||
None,
|
||||
HeaderPayload::with_source(common_enums::PaymentSource::Webhook),
|
||||
None, //Platform merchant account
|
||||
))
|
||||
.await
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user