| Index: ios/chrome/browser/ui/payments/payment_request_coordinator.mm
|
| diff --git a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
|
| index f0e9e6d6f8b7d94acc91ed0a1c017eb57f0f314a..3d3fdc5abf0055ae6da7503eee8713398cf5c2d5 100644
|
| --- a/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
|
| +++ b/ios/chrome/browser/ui/payments/payment_request_coordinator.mm
|
| @@ -211,14 +211,14 @@ class FullCardRequester
|
| // If the merchant specified the card network as part of the "basic-card"
|
| // payment method, return "basic-card" as the method_name. Otherwise, return
|
| // the name of the network directly.
|
| - std::string basic_card_type =
|
| - autofill::data_util::GetPaymentRequestData(card.type())
|
| - .basic_card_payment_type;
|
| + std::string issuer_network =
|
| + autofill::data_util::GetPaymentRequestData(card.network())
|
| + .basic_card_issuer_network;
|
| paymentResponse.method_name =
|
| - _paymentRequest->basic_card_specified_networks().find(basic_card_type) !=
|
| + _paymentRequest->basic_card_specified_networks().find(issuer_network) !=
|
| _paymentRequest->basic_card_specified_networks().end()
|
| ? base::ASCIIToUTF16("basic-card")
|
| - : base::ASCIIToUTF16(basic_card_type);
|
| + : base::ASCIIToUTF16(issuer_network);
|
|
|
| paymentResponse.details = GetBasicCardResponseFromAutofillCreditCard(
|
| card, cvc, _paymentRequest->billing_profiles(),
|
|
|