wp-e-commerce/WP-e-Commerce — pull request #396 by 1bigidea (2013-05-06 20:47:00+00:00)
Title: Hotfix for Buy Now functionality

There are two errors related to wrapping conditions with DOING_AJAX that 1) cause a fatal error (since no value is returned if we aren't DOING_AJAX) and 2) wpsc_empty_cart shouldn't die if we aren't DOING_AJAX