Ejemplo n.º 1
0
 /**
  * Is Notification Authentic
  *
  * @param \Insig\SagepayBundle\Model\NotificationRequest $notification
  * @param string $securityKey
  * @return boolean
  * @author Damon Jones
  */
 public function isNotificationAuthentic(NotificationRequest $request, $securityKey)
 {
     return $request->getVpsSignature() === $request->getComputedSignature($this->vendor, $securityKey);
 }