How to make payment page with multiple products

I want to make a page in which there are 3 products , on selecting the product through radio button or dropdown, price will show on page there should be many payment gateway such as paypal , razorpay …
I never make any page like this through html , php , js… and I don’t have any idea about it…