Credit card payment using an edc machine