Development
In this section, we will learn how to develop Payment's forward and refund API to create the Payments extension on Fynd Commerce.
Follow these Development Best Practices before starting extension development to ensure a smooth, efficient, and maintainable process.
📄️ Best Practices
Follow the given best practices for developing Payments extension before starting the development to ensure a smooth, efficient, and maintainable process:
📄️ Boilerplate Overview
A Boilerplate is a pre-written codebase that speeds development by providing a foundational template for building extensions. Fynd provides a boilerplate that simplifies the development process. This template includes pre-implemented OAuth functionality, necessary API endpoints, and a frontend interface where sellers can enter PG credentials. It is an enhanced version of the General Extension boilerplate with additional configuration to support payment-specific features. Developers should first familiarize themselves with the General Extension boilerplate before working on the Payments boilerplate.
🗃️ New Payment
4 items
🗃️ Refund
4 items
📄️ Installation & Activation Readiness
To implement the activation flow of your Payment extension on Fynd Commerce, you will need to develop the following APIs:
📄️ Get Activation Readiness
📄️ Setup Local Development Environment
To set up your local development environment using the Payment Extension Boilerplate, follow these steps:
📄️ Local Testing
To thoroughly test the activation, payment, and refund processing flow of your payment extension, you can create a development account on Fynd Partners. Follow the steps below to set up a development account and test your extension locally.