Skip to content
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

feat(connector): [PayU] Use connector_response_response_id as reference to merchant #2452

Merged
merged 15 commits into from
Oct 5, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions crates/router/src/connector/payu/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ impl<F, T>
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(
item.response.ext_order_id.unwrap_or(item.response.order_id)
),
harshalkh marked this conversation as resolved.
Show resolved Hide resolved
}),
amount_captured: None,
..item.data
Expand Down Expand Up @@ -331,7 +333,9 @@ impl<F, T>
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(
item.response.ext_order_id.unwrap_or(item.response.order_id)
),
}),
amount_captured: None,
..item.data
Expand Down Expand Up @@ -461,7 +465,9 @@ impl<F, T>
mandate_reference: None,
connector_metadata: None,
network_txn_id: None,
connector_response_reference_id: None,
connector_response_reference_id: Some(
order.ext_order_id.unwrap_or(order.order_id)
),
}),
amount_captured: Some(
order
Expand Down
Loading