Architecture
This section provides how payment transactions are processed through integrated payment extensions. It ensures a secure and efficient flow of payments, refunds, and extension installations, enabling businesses to offer multiple payment options to their customers. This section covers the key flows involved in processing payments, handling refunds, and installing payment extensions.
This section covers the three key flows:
📄️ New Payment Flow
Sellers can easily install and activate payment extensions on their Fynd Commerce store. During checkout, customers can access various payment options the selected extension offers, ensuring a smooth and flexible transaction process. Currently, Fynd Commerce supports a standard checkout flow, where customers are securely redirected to the PG’s hosted page to complete their transactions, ensuring reliability and compliance with payment processing standards.
📄️ Refund Flow
When a customer cancels an order or submits a return request, Fynd Commerce initiates the refund process by calling the initiateRefundSession API of the Payment Extension with the necessary refund details. The Payment Extension then creates a refund request with the designated PG. The PG processes the refund and returns the refund status to the Payment Extension. The Payment Extension, in turn, responds to the initiateRefundSession API with the refund details and the refund status received from the PG.
📄️ Payment Extension Installation
Before proceeding with the installation, the Fynd Commerce verifies whether the extension is already installed for the seller. If it is not installed, the seller is redirected to the OAuth handshake page, where they must approve the installation.