You are here

public function PayPalBasic::getPaymentExecutionResult in PayPal for Payment 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Payment/Method/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasic::getPaymentExecutionResult()

Gets the payment execution status.

Return value

\Drupal\payment\OperationResultInterface

Overrides PaymentMethodBase::getPaymentExecutionResult

File

src/Plugin/Payment/Method/PayPalBasic.php, line 72

Class

PayPalBasic
Abstract class for PayPal payment methods.

Namespace

Drupal\paypal_payment\Plugin\Payment\Method

Code

public function getPaymentExecutionResult() {
  return new OperationResult($this->paymentExecutionResult);
}