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!
The code sample at https://w3c.github.io/payment-request/#example-6-constructing-a-paymentrequest has a
request.retry()
statement, but theretry()
method is defined on thePaymentResponse
object. So the code sample should replacerequest.retry()
withresponse.retry()
. Thank you, @agektmr, for pointing this out!