Skip to content

Commit

Permalink
fix/cancel-void flow
Browse files Browse the repository at this point in the history
  • Loading branch information
awasthi21 committed Oct 21, 2024
1 parent 9cc2cee commit cb851dc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/router/src/connector/paybox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ impl api::PaymentsCompleteAuthorize for Paybox {}
impl ConnectorIntegration<api::Void, types::PaymentsCancelData, types::PaymentsResponseData>
for Paybox
{
fn build_request(
&self,
_req: &types::PaymentsCancelRouterData,
_connectors: &settings::Connectors,
) -> CustomResult<Option<services::Request>, errors::ConnectorError> {
Err(errors::ConnectorError::NotImplemented("Cancel/Void flow".to_string()).into())
}
}

impl
Expand Down

0 comments on commit cb851dc

Please sign in to comment.