You are here

protected function PaymentForm::doGetResumeContextResponse in Payment 8.2

Performs the actual context resumption.

Return value

\Drupal\payment\Response\ResponseInterface

Overrides PaymentTypeBase::doGetResumeContextResponse

File

modules/payment_form/src/Plugin/Payment/Type/PaymentForm.php, line 90

Class

PaymentForm
The payment form field payment type.

Namespace

Drupal\payment_form\Plugin\Payment\Type

Code

protected function doGetResumeContextResponse() {
  return new Response(Url::fromUri($this
    ->getDestinationUrl()));
}