Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.1.2, 2.1.4, 2.1.5, 2.1, 2.2.0, 2.2.1, 2.2.2
-
Fix Version/s: 2.2.4
-
Component/s: CiviContribute
-
Labels:None
Description
When paypal reports SuccessWithWarning, the transaction is completed, though it appears CiviCRM will record this as an error.
In PayPalImpl.php:
if ( strtolower( $result['ack'] ) != 'success' ) {
$e =& CRM_Core_Error::singleton( );
$e->push( $result['l_errorcode0'],
0, null,
"{$result['l_shortmessage0']} {$result['L_LONGMESSAGE0']}" );
return $e;
}
The 'ACK' return code can also be SuccessWithWarning.
See https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_NVPAPIBasics