w3c / payment-request

Payment Request API
https://www.w3.org/TR/payment-request-1.1/
Other
482 stars 183 forks source link

Fix typo in code sample. #907

Closed rsolomakhin closed 4 years ago

rsolomakhin commented 4 years ago

The code sample at https://w3c.github.io/payment-request/#example-6-constructing-a-paymentrequest has a request.retry() statement, but the retry() method is defined on the PaymentResponse object. So the code sample should replace request.retry() with response.retry(). Thank you, @agektmr, for pointing this out!

marcoscaceres commented 4 years ago

Spec is ruined.