Electronic transactions often include a payment phase. Payments can de executed using bank cards or using electronic cash. Privacy and security are desired features for these operations. Sometimes the purchase involves a physical product but services can be also purchased. E-tickets represent the purchase of a service and denote the right to use it. Following this line we have developed protocols of electronic cash, micropayments, e-ticketing and automatic fare collection.