juspay/hyperswitch

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

Open

#6 083 ouverte le 23 sept. 2024

Voir sur GitHub
 (11 commentaires) (0 réactions) (1 assigné)Rust (4 676 forks)batch import
good first issuehacktoberfest

Métriques du dépôt

Stars
 (42 690 stars)
Métriques de merge PR
 (Merge moyen 6j 22h) (213 PRs mergées en 30 j)

Description

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.

Guide contributeur