/**
  * Static wrapper for IPN / Payment response handling - this allows us to re-call from the api.
  *
  * @param array $params
  *
  * @return bool
  * @throws CiviCRM_API3_Exception
  */
 public static function processPaymentResponse($params)
 {
     $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $params['processor_id']));
     $responder = new CRM_Core_Payment_OmnipayMultiProcessor('live', $processor);
     $responder->processPaymentNotification($params);
     return TRUE;
 }