Patent attributes
A wireless device includes a contactless communications facility such as a contactless Integrated Circuit (IC) card to engage in a transaction with a vending machine. The wireless device obtains credential information from the vending machine and authenticates the vending machine prior to consummation of the transaction. This authentication prevents the users of the wireless devices from transmitting sensitive information (such as credit card data) to the vending machine when the vending machine is in fact a rogue vending machine; i.e., one that purports to vend legitimate products or services but rather is surreptitiously configured to steal sensitive financial information from unsuspecting users.