Create Payment Extension
In this page, you will learn to create payment extension and get the Extension API key
and the Extension API Secret
, which are required for interaction between Fynd Platform and Payment Extension.
Prerequisites
- Ensure that you have created your partner organization on Fynd Partners and logged in.
Steps to Create Payment Extension
- Go to your partner panel.
- Click Extensions.
- Click Create Extension.
- Select Payment from the Extension type dropdown list.
- Choose either Public or Private as a distribution method. By default, the payment extension distribution type is set to Public.
-
In the Basic Details section, fill in the following:
- Extension Name: Enter the name for the extension.
- Contact Email: Enter the email address where Fynd can contact you in case of an urgent issue with your extension.
- Logo: Upload the logo for the extension.
- Description: Briefly describe the functionality of your payment extension.
-
Permission: The Payment extension automatically assigns required permissions so that it can call the updatePaymentSession and updateRefundSession APIs. If you need to request additional permissions you can use the Request additional permissions toggle, which will allow your extension to call other Platform API.
-
Enter Extension URL.
What is Extension URL?
The Extension URL is also called the Extension base URL, the server's URL where you have hosted your extension. Fynd Platform uses this URL to communicate with your extension. While developing in your local machine, you can tunnel your local host to the internet using tunneling services like ngrok and use the tunnel URL as your
Extension URL
. To avoid changing yourExtension URL
frequently in a development phase, you can use static domain offered by ngrok as yourExtension URL
.