I thought all transactions had to have a membership card. Otherwisr, it would be open to everybody.
Costco makes most of their profit on membership enrollment so it doesn't make sense for them to allow non members to make purchases.
Cash or their Am Ex card (although their agreement with Am Ex is coming to an end soon).