Skip to content

Commit

Permalink
Update metadata for PaymentResponse API (#24208)
Browse files Browse the repository at this point in the history
* Update metadata for PaymentResponse API

This PR updates and corrects the metadata (spec URLs, descriptions, statuses, etc.) for the `PaymentResponse` API.

Additional Notes: This fixes #24205.

* Use the same spec URL
  • Loading branch information
queengooborg authored Aug 28, 2024
1 parent 6d23965 commit 6326723
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions api/PaymentResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
"__compat": {
"description": "<code>payerdetailchange</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event",
"spec_url": "https://w3c.github.io/payment-request/#dfn-payerdetailchange",
"support": {
"chrome": {
"version_added": "78"
Expand Down Expand Up @@ -255,14 +256,15 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
"payerEmail": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail",
"spec_url": "https://w3c.github.io/payment-request/#payeremail-attribute",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -306,14 +308,15 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
"payerName": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName",
"spec_url": "https://w3c.github.io/payment-request/#payername-attribute",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -357,14 +360,15 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
"payerPhone": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone",
"spec_url": "https://w3c.github.io/payment-request/#payerphone-attribute",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -408,8 +412,8 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
Expand Down Expand Up @@ -524,6 +528,7 @@
"shippingAddress": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress",
"spec_url": "https://w3c.github.io/payment-request/#shippingaddress-attribute",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -567,14 +572,15 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
"shippingOption": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption",
"spec_url": "https://w3c.github.io/payment-request/#shippingoption-attribute",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -618,8 +624,8 @@
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": true
"standard_track": true,
"deprecated": false
}
}
},
Expand Down

0 comments on commit 6326723

Please sign in to comment.