This is a sample project that show how to implement Google pay using Paysafe as a merchant. This is the actually client side Java implementation. The purpose is to give you an example on how to do this. Its not safe to use this directly has a commercial project since its is considered a proof of concept only. Also, the GRASP as been defined perfectly and you can modify the code to make it much more maintainable i this regard.