Enabling online payments is essential for an e-commerce store and the integration of a payment system can be done through API’s or plugins.API: Here we use a set of routines to communicate with the system facilitatingthe payment.PLUGINS: Here we add an extension(plugin) to the software which has built in capabilities for facilitating payment.