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:
,
Aug 22
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?
,
Aug 22
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?
,
Aug 22
See https://w3c.github.io/payment-method-manifest/#fetch-pmm for reference.
,
Aug 23
,
Aug 23
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.
,
Aug 23
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
,
Aug 23
Here's the code for adding the logging: https://cs.chromium.org/chromium/src/components/payments/core/payment_manifest_downloader.cc?rcl=091271adb1d504d13958b42abab25b514aea893a&l=240 rsleevi@: Do HTTP HEAD requests get logged?
,
Aug 23
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.
,
Aug 25
,
Nov 9
,
Nov 9
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by dtapu...@chromium.org
, Aug 22