retry method

JSPromise<JSAny?> retry([
  1. PaymentValidationErrors errorFields
])

The PaymentResponse interface's retry() method makes it possible to ask the user to retry a payment after an error occurs during processing.

This lets your app gracefully deal with situations such as invalid shipping addresses or declined credit cards.

Implementation

external JSPromise<JSAny?> retry([PaymentValidationErrors errorFields]);