Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
index 954e4c925a3f57b49783aea735349a2e87c5736d..8cb5b5759cb34f521d5b4b6b0cd5afb541bcdb9b 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java |
@@ -300,6 +300,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
*/ |
private SectionInformation mUiShippingOptions; |
+ private String mId; |
private Map<String, PaymentMethodData> mMethodData; |
private boolean mRequestShipping; |
private boolean mRequestPayerName; |
@@ -457,6 +458,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
disconnectFromClientWithDebugMessage("Missing total"); |
return; |
} |
+ mId = details.id; |
PaymentAppFactory.getInstance().create(mWebContents, |
Collections.unmodifiableSet(mMethodData.keySet()), this /* callback */); |
@@ -1225,7 +1227,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
} |
} |
- instrument.invokePaymentApp(mMerchantName, mSchemelessOriginForPaymentApp, |
+ instrument.invokePaymentApp(mId, mMerchantName, mSchemelessOriginForPaymentApp, |
mSchemelessIFrameOriginForPaymentApp, mCertificateChain, |
Collections.unmodifiableMap(methodData), mRawTotal, mRawLineItems, |
Collections.unmodifiableMap(modifiers), this); |