Here are the steps to integrate PayPal, the most popular payment gateway, on your website:
Toggle the enable button on your PayPal account to receive payments
Produce a client token
Add the PayPal and JavaScript SDK buttons
Call the Orders API
Incorporate the card form elements