New issue
Advanced search Search tips

Issue 876618 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Payment Request API call not getting logged under network logs

Reported by rakhila....@gmail.com, Aug 22

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
Payment Request head API call used to support third party payment methods is not getting logged under network logs. Unable to find the call in the server logs as well. 

What is the expected behavior?

What went wrong?
Payment Request head API call used to support third party payment methods is not getting logged under network logs. Unable to find the call in the server logs as well. 
For instance:
const supportedPaymentMethods = [
  {
    supportedMethods: 'https://www.abc.com/pay',
    data: {
      // Optional data for this payment method
    }
  }
];

new PaymentRequest(supportedPaymentMethods, paymentDetails, options);

The head api call "https://www.abc.com/pay" is working fine, but not able see the call under network logs. 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 69.0.3481.0  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Components: Platform>DevTools>Network
Components: Blink>Payments
Labels: Needs-Feedback
Could you clarify - you said you're unable to find the call in the server logs, but that the head API call is also working?
Cc: rouslan@chromium.org
If HTTP HEAD call for https://www.abc.com/pay does not return a Link<something>;rel="payment-method-manifest" HTTP header, then there will be no other network calls by design. Is that what you have observed?
Labels: Needs-Triage-M69
The api call is working fine. i'm able to test it in Postman.  It's returning Link<something>;rel="payment-method-manifest" HTTP header. Everything works fine.   The only issue is that the api call is not appearing in network logs.
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 23

Cc: rsleevi@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I can't speak for what DevTools will show. The Chrome NetLog will certainly log it (can be confirmed with a chrome://net-export), so it may just be a DevTools thing.
Owner: caseq@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: jarhar@chromium.org
Labels: -Pri-2 Pri-3

Sign in to add a comment