If you look at the source of pages such as checkoutpayment.aspx.cs, you'll see in the Page_Load() method:



ThisCustomer.RequireCustomerRecord();
...
if (!ThisCustomer.IsRegistered)


This...