function uc_payment_gateway_select_form_submit in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_payment/uc_payment.admin.inc \uc_payment_gateway_select_form_submit()
File
- payment/
uc_payment/ uc_payment.module, line 816
Code
function uc_payment_gateway_select_form_submit($form_id, $form_values) {
unset($_SESSION['uc_payment_method']);
unset($_SESSION['uc_payment_order_id']);
unset($_SESSION['uc_payment_amount']);
unset($_SESSION['uc_payment_data']);
uc_payment_process($form_values['method'], $form_values['order_id'], $form_values['amount'], unserialize($form_values['p_data']), FALSE, $form_values['p_selected']);
drupal_goto('admin/store/orders/' . $form_values['order_id']);
}