PayError Event
Information about errors during data delivery.
Syntax
virtual int FirePayError(AdaptivePayPayErrorEventParams *e);
typedef struct {
char* ErrorCode;
char* Message;
char* Severity;
char* RecipientEmail;
char* InvoiceId;
int Primary;
int reserved;
} AdaptivePayPayErrorEventParams;
Remarks
The PayError event is fired when the response from PayPal contains one or more error messages about failed payments. This is different from the Warning event, which reports system and formatting errors. Please note that the ErrorCode will be the exact code returned from PayPal, and does not map to any of the class's internal error codes.