juspay/hyperswitch

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

Open

#6083 aperta il 23 set 2024

Vedi su GitHub
 (11 commenti) (0 reazioni) (1 assegnatario)Rust (4676 fork)batch import
good first issuehacktoberfest

Metriche repository

Star
 (42.690 star)
Metriche merge PR
 (Merge medio 6g 22h) (213 PR mergiate in 30 g)

Descrizione

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.

Guida contributor