-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note on API shape #99
Conversation
…ion it will change.
spec.bs
Outdated
<div class="note">This specification describes an API implemented | ||
to support a Stripe pilot that began in December 2020. To quickly | ||
provide support for that experiment, the Chrome team added SPC | ||
support atop existing implementations of the Payment Request and | ||
Payment Handler APIs. However, given findings from the pilot and | ||
subsequent use case and requirements discussions, there is now | ||
general agreement that SPC should be usable independent of Payment | ||
Request. To foster more experimentation in a timely fashion we are | ||
moving forward with the API in its current form, but we expect | ||
(without a concrete timeline) that SPC will move away from its | ||
Payment Request origins. For developers, this should improve | ||
feature detection, invocation, and other aspects of the API.</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a lot of information... Could it be simplified into this?
<div class="note">This specification describes an API implemented | |
to support a Stripe pilot that began in December 2020. To quickly | |
provide support for that experiment, the Chrome team added SPC | |
support atop existing implementations of the Payment Request and | |
Payment Handler APIs. However, given findings from the pilot and | |
subsequent use case and requirements discussions, there is now | |
general agreement that SPC should be usable independent of Payment | |
Request. To foster more experimentation in a timely fashion we are | |
moving forward with the API in its current form, but we expect | |
(without a concrete timeline) that SPC will move away from its | |
Payment Request origins. For developers, this should improve | |
feature detection, invocation, and other aspects of the API.</div> | |
<div class="note">This specification describes an API implemented | |
atop existing implementations of the Payment Request. We expect | |
(without a concrete timeline) that SPC will move away from its | |
Payment Request implementation to align better with WebAuthn. | |
For developers, this should improve feature detection, invocation, | |
and other aspects of the API.</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rsolomakhin, I think the rationale / history is useful. I don't mind shortening it. Let me edit a bit...
spec.bs
Outdated
Request and Payment Handler APIs. There is now general agreement | ||
that SPC should be usable independent of Payment Request. We |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps "There is not general agreement that using SPC independent of Payment Request should be considered" or "should be explored"? I don't want to make it sound like we have a concrete plan in place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
New note with background on current shape of API and setting expectation it will change.
Relates to issues #81 and #65 (but does not close them).