Buyer selects a product and places order within your (merchant) app.
Your app invokes UPI with required information such as, receiver VPA, amount, reference.
Android displays Pay with Google Pay option which is capable of handling UPI. Buyer selects Google Pay to make the transaction.
Google Pay does the transaction and presents the buyer with information about it.