-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Fix broken links in Payment API #31526
Conversation
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.
Thank you @skyclouds2001 !
It's important that we explain the syntax of dictionary objects, even if we don't have a separate page for them.
Also it looks like:
- the shipping options were removed (in Drop PaymentAddress, shipping + billing address support w3c/payment-request#955 I think)
- we are referring to
PaymenrDetailsModifier
in a few places and therefore should probably have a dictionary page for it.
files/en-us/web/api/paymentrequest/merchantvalidation_event/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequest/paymentmethodchange_event/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequest/paymentmethodchange_event/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestevent/changepaymentmethod/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md
Outdated
Show resolved
Hide resolved
…f PaymentRequest.show & PaymentRequestUpdateEvent.updateWith
…ns` of PaymentRequest.show & PaymentRequestUpdateEvent.updateWith
Yes, this page is a complex one. The general rule about dictionaries is that:
We do sometimes make exceptions:
The difficulty on this API is that some of these dictionaries are being phased out (non-standard or deprecated) but have not been removed from the implementation. This is a reason why this has not been cleaned before. |
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.
Two sentences were not clear to me (it wasn't an extensive review).
files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Jean-Yves Perrier <[email protected]>
Co-authored-by: Jean-Yves Perrier <[email protected]>
files/en-us/web/api/paymentrequest/paymentmethodchange_event/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequest/paymentmethodchange_event/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestevent/changepaymentmethod/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: wbamberg <[email protected]>
files/en-us/web/api/paymentrequestevent/changepaymentmethod/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestevent/changepaymentmethod/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/paymentrequestupdateevent/updatewith/index.md
Outdated
Show resolved
Hide resolved
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.
👍 thank you!
Description
updateWith()
method is defined onPaymentRequestUpdateEvent
andPaymentMethodChangeEvent
simply inherit this method fromPaymentRequestUpdateEvent
PaymentInstrument
is a non-standard dictionary and hasn't its own documentation, so remove its mentionpayerdetailchange
event is fired onPaymentResponse
rather thenPaymentRequest
PaymentShippingOption
is a non-standard dictionary and hasn't its own documentationPaymentDetailsModifier
is a dictionary and hasn't its own documentation, so add for its detailAddressErrors
is a non-standard dictionary and hasn't its own documentationretry()
andcomplete()
methods are onPaymentResponse
just removes these linksMotivation
Additional details
Related issues and pull requests