New issue
Advanced search Search tips

Issue 890927 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 1
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

“Invalidstateerror” is seen when tapping on “Buy” button for basic- card testpage https://rsolomakhin.github.io/pr/cc/

Project Member Reported by vbhatso...@chromium.org, Oct 1

Issue description

App Version: 70.0.3538.40 Beta
iOS Version: 11.4.1, 12
Devices: iPad, iPhone

Steps to reproduce:
1.Launch iOS Chrome
2.Go to  https://rsolomakhin.github.io/pr/cc/ 
3.Tap on “Buy”


Observed results:
“Invalidstateerror” : Cannot create payment request is seen

Expected results:
Payments UI should be seen.

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Safari/Firefox: Firefox: NA, Safari: NA
Bug reproducible on the current stable build :M69, Yes
Bug reproducible on the current beta channel build : M70, Yes

Link to Image/Video:
https://drive.google.com/file/d/1wclqpaNFnjcq8NjKp25ZQLUxj5sHRNKz/view?usp=sharing


 
Cc: rouslan@chromium.org
Components: UI>Browser>Payments
Labels: -UIBrowserAutofillPayments
Owner: mahmadi@chromium.org
That's pretty weird!

Moe: Any idea what this means?
Status: Assigned (was: Untriaged)
mahmadi: Are you the right person for this?
This is because iOS implementation expects supportedMethods to be a string. The related change was made back in M69: crrev.com/c/1108057

Is it the test that's outdated? 
The test (https://rsolomakhin.github.io/pr/cc/pr.js) has a string for the main supportedMethods, but an array for the modifier supportedMethods. Could you please make the error message more verbose for easier debugging of the situation? Thank you.
This issue looks similar to https://crbug.com/770182
Status: WontFix (was: Assigned)

Sign in to add a comment