payment gateway procedure