[Payments] secure-payment-confirmation(SPC) does not skip UI.

skipped_payment_request_ui_ should be false for SPC since Chrome's UI
is shown for the payment request.

Bug: 1117042
Change-Id: I1c7c4ff612e112d792ffc50ef9b161405c46ac12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2365979
Reviewed-by: Nick Burris <[email protected]>
Commit-Queue: Sahel Sharify <[email protected]>
Cr-Commit-Position: refs/heads/master@{#800214}
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc
index 76e397be..d8e59af4 100644
--- a/components/payments/content/payment_request.cc
+++ b/components/payments/content/payment_request.cc
@@ -628,8 +628,9 @@
 }
 
 bool PaymentRequest::SatisfiesSkipUIConstraints() {
-  // Only allowing URL base payment apps to skip the payment sheet.
+  // Only allowing URL based payment apps to skip the payment sheet.
   skipped_payment_request_ui_ =
+      !spec()->IsSecurePaymentConfirmationRequested() &&
       (spec()->url_payment_method_identifiers().size() > 0 ||
        delegate_->SkipUiForBasicCard()) &&
       base::FeatureList::IsEnabled(features::kWebPaymentsSingleAppUiSkip) &&