feat(connector): add support for capture, void, psync, refund and rsync for cybersource (#381)

This commit is contained in:
Jagan
2023-01-17 13:55:51 +05:30
committed by GitHub
parent d08c35c77c
commit e1590e7bf8
9 changed files with 1064 additions and 229 deletions

View File

@ -58,6 +58,11 @@ pub trait ConnectorIntegration<T, Req, Resp>: ConnectorIntegrationAny<T, Req, Re
mime::APPLICATION_JSON.essence_str()
}
/// primarily used when creating signature based on request method of payment flow
fn get_http_method(&self) -> Method {
Method::Post
}
fn get_url(
&self,
_req: &types::RouterData<T, Req, Resp>,