Beispiel #1
0
 /**
  * Process a capture notification from a payment gateway for specified amount
  * Creates an invoice automatically if the amount covers the order base grand total completely
  * Updates transactions hierarchy, if required
  * Prevents transaction double processing
  * Updates payment totals, updates order status and adds proper comments
  *
  * @param float $amount
  * @param bool $skipFraudDetection
  * @return $this
  */
 public function registerCaptureNotification($amount, $skipFraudDetection = false)
 {
     return $this->orderPaymentProcessor->registerCaptureNotification($this, $amount, $skipFraudDetection);
 }