Questo documento è stato aggiornato.
La traduzione in Italiano non è ancora completa.
Aggiornamento inglese: 11 feb 2023
Aggiornamento Italiano: 11 feb 2022

PaymentError

Use an object based on PaymentError to represent errors that occur while processing payment requests. The message property can appear to the customer on the merchant site that is accessing Meta Pay.

Constructors

PaymentError (PaymentErrorCode, message)

ParameterTypeDescription

code

PaymentErrorCode

A code that identifies the error.

message

string

A message that describes the error.

Properties

PropertyTypeDescription

code

PaymentErrorCode

A code that identifies the error. This property is read-only.

message

string

A message that describes the error. This property is read-only.