In this situation upon cannot be replaced with on. Upon buying the product means after or when you have purchased the product. Example. Upon buying the car, we will give you a 1 year guarantee. That means when you buy the car you will get a 1 year guarantee. An example of when upon can be replaced with on would be "He placed the apple upon the table. The same as, He placed the apple on the table.