Skip to content

Commit

Permalink
change authorization_status from created to processing
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-harsha-vardhan committed Dec 4, 2023
1 parent 9c8ef52 commit c31712e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/common_enums/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ pub enum CaptureStatus {
pub enum AuthorizationStatus {
Success,
Failure,
// Created state is before calling connector
// Processing state is before calling connector
#[default]
Created,
Processing,
// Requires merchant action
Unresolved,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl<F: Clone, Ctx: PaymentMethodRetrieve>
"missing incremental_authorization_details in payment_data",
),
)?,
status: common_enums::AuthorizationStatus::Created,
status: common_enums::AuthorizationStatus::Processing,
error_code: None,
error_message: None,
connector_authorization_id: None,
Expand Down

0 comments on commit c31712e

Please sign in to comment.