You are here

protected function PaymentMethodBase::doCapturePayment in Payment 8.2

Performs the actual payment capture.

1 call to PaymentMethodBase::doCapturePayment()
PaymentMethodBase::capturePayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Captures the payment.
2 methods override PaymentMethodBase::doCapturePayment()
Basic::doCapturePayment in src/Plugin/Payment/Method/Basic.php
Performs the actual payment capture.
PaymentTestNoResponse::doCapturePayment in modules/payment_test/src/Plugin/Payment/Method/PaymentTestNoResponse.php
Performs the actual payment capture.

File

src/Plugin/Payment/Method/PaymentMethodBase.php, line 301

Class

PaymentMethodBase
A base payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

protected function doCapturePayment() {
  throw new \Exception('Child classes must override this method to support payment capture.');
}