You are here

function PaymentTypeBase::getResumeContextResponse in Payment 8.2

Resumes the payer's original workflow.

Return value

\Drupal\payment\Response\ResponseInterface

Overrides PaymentTypeInterface::getResumeContextResponse

See also

self::resumeContextAccess

File

src/Plugin/Payment/Type/PaymentTypeBase.php, line 83

Class

PaymentTypeBase
Defines base payment type.

Namespace

Drupal\payment\Plugin\Payment\Type

Code

function getResumeContextResponse() {
  $this->eventDispatcher
    ->preResumeContext($this
    ->getPayment());
  return $this
    ->doGetResumeContextResponse();
}