working on the payment gateway