Disable off-site payment redirect I am using Drupal Commerce Kickstart and since we are having only one payment method I would like to disable the extra step "Payment" in the checkout process which is reserved for "Off-site payment redirect".

I did not find a way to disable this directly in the UI at Checkout settings (admin/commerce/config/checkout) because this checkout pane seems to be locked.

So I digged in code and found line 309 to 315 in commerce_payment.module (profiles\commerce_kickstart\modules\contrib\commerce\modules\payment\commerce_payment.module).

  $checkout_panes['commerce_payment_redirect'] = array(
'title' =&gt; t('Off-site payment redirect'),
'page' =&gt; 'payment',
'locked' =&gt; TRUE,
'file' =&gt; 'includes/commerce_payment.checkout_pane.inc',
'base' =&gt; 'commerce_payment_redirect_pane',
 );


If I completely remove these lines the payment step is gone. If I set the locked value to "FALSE" I can disable the pane at Checkout settings.

What is the cause that this step is locked and is it safe to disable this step this way?
You don't need to disable it, because it will automatically skip itself if the payment method does not require an off-site redirect.