Skip to content

Commit adb81d3

Browse files
committed
fix: Fixed updation for straight_through routing
1 parent 3aa5ae1 commit adb81d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/router/src/core/payments.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7331,6 +7331,10 @@ where
73317331
.change_context(errors::ApiErrorResponse::InternalServerError)
73327332
.attach_printable("Failed execution of straight through routing")?;
73337333

7334+
payment_data.set_routing_approach_in_attempt(Some(
7335+
common_enums::RoutingApproach::StraightThroughRouting,
7336+
));
7337+
73347338
if check_eligibility {
73357339
let transaction_data = core_routing::PaymentsDslInput::new(
73367340
payment_data.get_setup_mandate(),

0 commit comments

Comments
 (0)