To accept payments, your platform requires a trustful payment gateway solution. There are multiple payment gateway providers on the web.
These are platforms like: Stripe, PayPal Commerce, Adyen, Dwolla, and more. Conduct market research to define what solution suits your business needs best.