woothemes/woocommerce — pull request #4960 by kloon (2014-02-26 10:00:59+00:00)
Title: Disable order owner check for payment link if guest checkout enabled

As per #4957, if you have guest checkout enabled you should not force the customer be logged in. Most affect orders created in backend and assigned to a customer, customer will get pay link but becuase they are not logged in will get invalid order message.

Propose ignoring this check when guest checkouts is enabled.