Skip to content

Commit

Permalink
Add confirm analytic
Browse files Browse the repository at this point in the history
  • Loading branch information
porter-stripe committed Jan 28, 2025
1 parent 9ac020e commit b0e60bd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ public final class EmbeddedPaymentElement {
stpAssertionFailure(errorMessage)
return .failed(error: PaymentSheetError.integrationError(nonPIIDebugDescription: errorMessage))
}
analyticsHelper.log(event: .mcConfirmEmbedded)
let authContext = STPAuthenticationContextWrapper(presentingViewController: presentingViewController)
return await _confirm(paymentOption: paymentOption, authContext: authContext).result
}
Expand Down

0 comments on commit b0e60bd

Please sign in to comment.