Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-harsha-vardhan committed Dec 4, 2023
1 parent 4a3adf5 commit 4408149
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -772,14 +772,7 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(
),
updated_by: storage_scheme.to_string(),
// make this false only if initial payment fails, if incremental authorization call fails don't make it false
incremental_authorization_allowed: if payment_data
.incremental_authorization_details
.is_none()
{
Some(false)
} else {
None
},
incremental_authorization_allowed: Some(false),
},
Ok(_) => storage::PaymentIntentUpdate::ResponseUpdate {
status: api_models::enums::IntentStatus::foreign_from(
Expand Down

0 comments on commit 4408149

Please sign in to comment.