New issue
Advanced search Search tips

Issue 918087 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

paymentRequestId not populated in payment request event

Reported by shakalan...@gmail.com, Dec 28

Issue description

Chrome Version       : 71.0.3578.98
OS Version: OS X 10.14.1
URLs (if applicable) : https://www.jcrew.com/checkout2/shoppingbag.jsp
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: n/a
    Firefox: n/a
    IE/Edge: n/a

What steps will reproduce the problem?
1. Go to JCrew.com, fill a cart and check out with PaymentRequest
2. the payment request event does not have a populated paymentRequestId field

What is the expected result?
I expect there to be a paymentRequestId field in the event.

What happens instead of that?
There is no paymentRequestId

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36



 
Cc: swarnasree.mukkala@chromium.org
Components: UI>Browser>Payments
Labels: Needs-Triage-M71 Needs-Feedback Triaged-ET
Tried testing the issue on reported chrome version #71.0.3578.98 using Mac OS 10.14 and Mac OS 10.13.6 by following below steps.

Steps:
======
1.Launched chrome.
2.Navigated to "https://www.jcrew.com/checkout2/shoppingbag.jsp".
3.Filled the cart with items and checked out for payment.
4.When the payment page opened observed that there is no "paymentRequestId" field.
Note: Tested the same on Firefox and observed the same behaviour there too.

Attached screencast for reference.
@reporter: Could you please review attached screencast and let us know anything is being missed from our end. The issue seems to be related to the website but not the chrome, could you please confirm regarding this too.
Thanks.!
918087.mp4
1.5 MB View Download
Labels: -Pri-3 Pri-1
Owner: rouslan@chromium.org
Status: Assigned (was: Unconfirmed)
This must be a bug in Chrome, because the merchant JS looks OK:

var c=getInitialTotal(),b=getInitialDisplayItems(),e={total:c,displayItems:b};getGoogleOrderDetails(null,null);var g=new PaymentRequest([{supportedMethods:["basic-card"],data:{supportedNetworks:["visa","mastercard","amex","discover","jcb"],supportedTypes:["credit","debit"]}}],e,{requestPayerPhone:!0,requestPayerEmail:!0,requestShipping:!0})

See:

https://www.jcrew.com/media/wro/js/checkout-common-jcrew_v2_m56577569840426572.js

They don't specify an ID, so Chrome should generate a unique identifier and pass it to the Payment Handler in the `paymentrequest` event.

Sign in to add a comment