Skip to content

Commit

Permalink
add reference to status mapping
Browse files Browse the repository at this point in the history
Signed-off-by: chikke srujan <[email protected]>
  • Loading branch information
srujanchikke committed May 25, 2023
1 parent aaf5d35 commit a223087
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@ impl From<AuthorizedotnetWebhookEvent> for api::IncomingWebhookEvent {
}

impl From<AuthorizedotnetWebhookEvent> for SyncStatus {
// status mapping reference https://developer.authorize.net/api/reference/features/webhooks.html#Event_Types_and_Payloads
fn from(event_type: AuthorizedotnetWebhookEvent) -> Self {
match event_type {
AuthorizedotnetWebhookEvent::AuthorizationCreated => Self::AuthorizedPendingCapture,
Expand Down

0 comments on commit a223087

Please sign in to comment.