CRM-14708 accept POSTs without x_cust_id based on missing contact_id problem & existi...
authorEileen <eileen@fuzion.co.nz>
Mon, 19 May 2014 08:20:08 +0000 (04:20 -0400)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 19 May 2014 08:41:50 +0000 (20:41 +1200)
Conflicts:
CRM/Core/Payment/AuthorizeNetIPN2.php

CRM/Core/Payment/AuthorizeNetIPN.php

index 531e117d787468a5c38ec9f00aa3276c6d75dda1..fbcf06929da0cf6d62f172ca88c78d21d1519cdd 100644 (file)
@@ -239,7 +239,7 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   function getIDs(&$ids, &$input) {
-    $ids['contact'] = self::retrieve('x_cust_id', 'Integer');
+    $ids['contact'] = self::retrieve('x_cust_id', 'Integer', FALSE, 0);
     $ids['contribution'] = self::retrieve('x_invoice_num', 'Integer');
 
     // joining with contribution table for extra checks