PayPal Integrator V5 - Online Help
PayPal Integrator V5
Questions / Feedback?

Warning Event

Information about errors during data delivery.

Syntax

adaptivepay.on('Warning', [callback])

Callback

The 'callback' is called when the 'Warning' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.errorCode
e.severity
e.message
e.parameter

Remarks

The Warning event is fired when the response from PayPal contains one or more error messages in the response. If the error found in the PayPal response has a Severity of "Error", the component will fail with an error. Otherwise, this Warning event will fire with the ErrorCode returned by Paypal, as well as the Severity, Message, and Parameter of the error.

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.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0