public function PaymentMethodRefundPaymentInterface::refundPayment in Payment 8.2
Refunds the payment.
Implementations must dispatch the \Drupal\payment\Event\PaymentEvents::PAYMENT_PRE_REFUND Symfony event before refunding the payment.
Return value
\Drupal\payment\OperationResultInterface
See also
self::refundPaymentAccess
1 method overrides PaymentMethodRefundPaymentInterface::refundPayment()
- PaymentMethodBase::refundPayment in src/
Plugin/ Payment/ Method/ PaymentMethodBase.php - Refunds the payment.
File
- src/
Plugin/ Payment/ Method/ PaymentMethodRefundPaymentInterface.php, line 44
Class
- PaymentMethodRefundPaymentInterface
- Defines a payment method that can Refund authorized payments.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function refundPayment();