function uc_paypal_cancel in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_paypal/uc_paypal.module \uc_paypal_cancel()
- 6.2 payment/uc_paypal/uc_paypal.pages.inc \uc_paypal_cancel()
Handles a canceled Website Payments Standard sale.
1 string reference to 'uc_paypal_cancel'
- uc_paypal_menu in payment/
uc_paypal/ uc_paypal.module - Implements hook_menu().
File
- payment/
uc_paypal/ uc_paypal.pages.inc, line 447 - Paypal administration menu items.
Code
function uc_paypal_cancel() {
unset($_SESSION['cart_order']);
drupal_set_message(t('Your PayPal payment was canceled. Please feel free to continue shopping or contact us for assistance.'));
drupal_goto(variable_get('uc_paypal_wps_cancel_return_url', 'cart'));
}