Adding payment gateway to angular firebase project

I have made a project in angular as a Frontend and backend using firebase. How to connect paytm payment gateway to it? Is it possible?

Source: AngularJS