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
$checkout_panes['commerce_payment_redirect'] = array( 'title' => t('Off-site payment redirect'), 'page' => 'payment', 'locked' => TRUE, 'file' => 'includes/commerce_payment.checkout_pane.inc', 'base' => '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?