You are here

protected function PaymentReference::doGetResumeContextResponse in Payment 8.2

Performs the actual context resumption.

Return value

\Drupal\payment\Response\ResponseInterface

Overrides PaymentTypeBase::doGetResumeContextResponse

File

modules/payment_reference/src/Plugin/Payment/Type/PaymentReference.php, line 102

Class

PaymentReference
The payment reference field payment type.

Namespace

Drupal\payment_reference\Plugin\Payment\Type

Code

protected function doGetResumeContextResponse() {
  return new Response(new Url('payment_reference.resume_context', array(
    'payment' => $this
      ->getPayment()
      ->id(),
  ), array(
    'absolute' => TRUE,
  )));
}