protected function PaymentProcess::buildReturnUrl in Commerce Core 8.2
Builds the URL to the "return" page.
Return value
\Drupal\Core\Url The "return" page URL.
File
- modules/
payment/ src/ Plugin/ Commerce/ CheckoutPane/ PaymentProcess.php, line 257
Class
- PaymentProcess
- Provides the payment process pane.
Namespace
Drupal\commerce_payment\Plugin\Commerce\CheckoutPaneCode
protected function buildReturnUrl() {
return Url::fromRoute('commerce_payment.checkout.return', [
'commerce_order' => $this->order
->id(),
'step' => 'payment',
], [
'absolute' => TRUE,
]);
}