Skip to content

Commit f963f3b

Browse files
berdirbojanz
authored andcommitted
Issue #2857064 by Berdir: Improve the handling of unknown gateway types in the PaymentProcess pane
1 parent ea01f37 commit f963f3b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/payment/src/Plugin/Commerce/CheckoutPane/PaymentProcess.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ public function buildPaneForm(array $pane_form, FormStateInterface $form_state,
177177

178178
return $pane_form;
179179
}
180+
else {
181+
$this->checkoutFlow->redirectToStep($this->checkoutFlow->getNextStepId());
182+
}
180183
}
181184

182185
/**

0 commit comments

Comments
 (0)