You are hereDrupal commerce checkout redirect pause
Drupal commerce checkout redirect pause
When using different payment methods for checkout, sometimes you will have a payment gateway that will redirect you to different page, like paypal. But what if you want to have your frontender a chance to look at a page before redirect to style it?
You will need to stop the redirect, to do that just find that payment method info function in module, like the one below and change
'offsite_autoredirect' => TRUE, to 'offsite_autoredirect' => FALSE,
$payment_methods = array();
$payment_methods['payflow_link'] = array(
'base' => 'commerce_payflow_link',
'buttonsource' => 'CommerceGuys_Cart_PFL',
'title' => t('Payflow Link'),
'short_title' => t('Payflow Link'),
'description' => t('Payflow Link Hosted Checkout Pages'),
'terminal' => FALSE,
'offsite' => TRUE,
'offsite_autoredirect' => FALSE,
);