Allow a payment handler to request a larger initial window size
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- html
- Domain
- api, mobile-dev, payments
Research direction
Start at PaymentRequestEvent.openWindow() and the payment app manifest fields named in the issue: name, icons, and serviceworker. Compare the proposed manifest hint with an openWindow() parameter, including how browser-specific constraints may apply. Done means the specification has one agreed mechanism for requesting a larger initial presentation.
Written by the indexing model from the issue text.
Description
Problem
When a web-based payment handler opens a window via PaymentRequestEvent.openWindow(), the
browser is free to choose how much of the screen that window occupies. In practice, on Android,
this window opens at a partial (half-screen) height by default, requiring the buyer to manually
expand it before they can see or interact with the full payment app UI. The spec currently has no
mechanism for a payment handler to express a preference for a larger initial presentation.
Proposed solution
Add an optional way for a web-based payment handler to indicate it needs a larger initial
presentation, for example:
- A field in the payment app manifest (alongside
name,icons,serviceworker) indicating a
preferred initial size or display mode, or - A parameter on
openWindow()(or a new method) allowing the handler to request full-height
presentation from the start.
As with other capabilities in this spec, the browser could still ignore the hint or apply
implementation-specific constraints — this would just give payment handlers a way to express
intent.
Screenshots
|
The payment handler window opened at its default partial (half-screen) height. |
The same window after the buyer manually drags it open to full height. |
- Dominant language
- HTML
- Stars
- 510
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from w3c/payment-request
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
w3c/payment-request#1076 · 5 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
w3c/payment-request#1072 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
w3c/payment-request#1071 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
w3c/payment-request#1064 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
w3c/payment-request#1060 ·
All issues in w3c/payment-request
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·