function uc_paypal_ec_submit_form in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_paypal/uc_paypal.module \uc_paypal_ec_submit_form()
- 6.2 payment/uc_paypal/uc_paypal.pages.inc \uc_paypal_ec_submit_form()
Submits an order, calling the NVP API to send the order total to PayPal.
1 string reference to 'uc_paypal_ec_submit_form'
- uc_paypal_ec_submit in payment/
uc_paypal/ uc_paypal.pages.inc - Presents the final total to the user for checkout!
File
- payment/
uc_paypal/ uc_paypal.pages.inc, line 410 - Paypal administration menu items.
Code
function uc_paypal_ec_submit_form($form, &$form_state) {
$form['actions'] = array(
'#type' => 'actions',
);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit order'),
);
return $form;
}