hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[FEATURE] add a mapping of countries in CountryAlpha2 enum to countries in human readable format for payout links

Open kashif-m opened this issue 5 months ago • 9 comments

Problem Statement Display countries in human readable format in the dropdown for payout widget.

Details Payout component in SDK collects the required details for processing payouts. This widget has a form for selecting the recipient's address - fields like name, city, postal code and country is collected and sent to backend service. The fields to be collected are embedded in the payout link during initialization. Country for payout widget are always in CountryAlpha2 format as backend API requires it. However, it's not in a human readable format.

Task Consume already existing Country module for mapping the CountryAlpha2 enums to a human readable format for the payout widget.

kashif-m avatar Sep 23 '24 06:09 kashif-m