diff --git a/b2g/chrome/content/payment.js b/b2g/chrome/content/payment.js index bde15593359c..704866ee9846 100644 --- a/b2g/chrome/content/payment.js +++ b/b2g/chrome/content/payment.js @@ -61,7 +61,8 @@ function closePaymentFlowDialog(aCallback) { let detail = { type: kClosePaymentFlowEvent, - id: id + id: id, + requestId: requestId }; // In order to avoid race conditions, we wait for the UI to notify that diff --git a/b2g/components/PaymentGlue.js b/b2g/components/PaymentGlue.js index 989b85ac2230..eeca68a10e9d 100644 --- a/b2g/components/PaymentGlue.js +++ b/b2g/components/PaymentGlue.js @@ -54,6 +54,7 @@ PaymentUI.prototype = { let detail = { type: kOpenPaymentConfirmationEvent, id: id, + requestId: aRequestId, paymentRequests: aRequests }; @@ -99,6 +100,7 @@ PaymentUI.prototype = { let detail = { type: kOpenPaymentFlowEvent, id: id, + requestId: aRequestId, uri: aPaymentFlowInfo.uri, method: aPaymentFlowInfo.requestMethod, jwt: aPaymentFlowInfo.jwt