PaymentError Class

Represents an error that occurred during a payment transaction.

RichMessaging

The following are properties for PaymentError.

  • code

    The error code returned by the payment gateway.

  • message

    The error message describing the payment failure.

The error code returned by the payment gateway.

public String code {get; set;}

Type: String

The error message describing the payment failure.

public String message {get; set;}

Type: String