A payment gateway authorizes credit card or direct payments processing for online businesses.
Chec/Commerce.js sits on top of payment gateways and gives merchants a suite of robust eCommerce functionalities that payment gateways do not support.
You can choose to accept payments with Stripe, Square, Paymill, PayPal, and Razorpay.