You are here

protected function PaymentMethodBase::doRefundPayment in Payment 8.2

Performs the actual payment refund.

1 call to PaymentMethodBase::doRefundPayment()
PaymentMethodBase::refundPayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Refunds the payment.
2 methods override PaymentMethodBase::doRefundPayment()
Basic::doRefundPayment in src/Plugin/Payment/Method/Basic.php
Performs the actual payment refund.
PaymentTestNoResponse::doRefundPayment in modules/payment_test/src/Plugin/Payment/Method/PaymentTestNoResponse.php
Performs the actual payment refund.

File

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

Class

PaymentMethodBase
A base payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

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