function uc_ups_confirm_shipment in Ubercart 5
Same name and namespace in other branches
- 8.4 shipping/uc_ups/src/Plugin/Ubercart/FulfillmentMethod/uc_ups.ship.inc \uc_ups_confirm_shipment()
- 6.2 shipping/uc_ups/uc_ups.ship.inc \uc_ups_confirm_shipment()
- 7.3 shipping/uc_ups/uc_ups.ship.inc \uc_ups_confirm_shipment()
Last chance for user to review shipment.
See also
theme_uc_ups_confirm_shipment
uc_ups_confirm_shipment_submit
1 string reference to 'uc_ups_confirm_shipment'
- uc_ups_menu in shipping/
uc_ups/ uc_ups.module - Implementation of hook_menu().
File
- shipping/
uc_ups/ uc_ups.module, line 1194 - Shipping quote module that interfaces with www.ups.com to get rates for small package shipments.
Code
function uc_ups_confirm_shipment($order_id) {
$form = array();
$form['digest'] = array(
'#type' => 'hidden',
'#value' => $_SESSION['ups']['digest'],
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Request Pickup'),
);
return $form;
}