文档已更新。
中文(简体) 译文尚未完成。
英语更新时间:2023年2月11日
中文(简体) 更新时间:2022年3月11日

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.