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.