w3c / i18n-activity

Home pages, charters, style-guides, and similar documents related to the W3C Internationalization Activity.
67 stars 23 forks source link

Prevent the use of currency synonyms #212

Closed stevenatkin closed 3 years ago

stevenatkin commented 8 years ago

https://www.w3.org/Mail/flatten/index?subject=i18n-ISSUE-212&list=public-payments-wg

ianbjacobs commented 4 years ago

@r12a, the Payment Request API no longer has a currencySystem feature. The specification now says "An [ISO4217] well-formed 3-letter alphabetic code (i.e., the numeric codes are not supported)."

I believe this issue can be closed. Thanks!

cc @rsolomakhin, @danyao, @marcoscaceres

himorin commented 3 years ago

No issue raised to payment-request repository.

PaymentCurrencyAmount.currency is defined as ISO4217 and to be validated using IsWellFormedCurrencyCode of ECMAScript. Also an note is added for non-standard 3-letter currency codes. https://www.w3.org/TR/payment-request/#h-note-9 PR: https://github.com/w3c/payment-request/pull/694

Points mentioned in original email thread are well considered and are taken into consideration to add an note (also to remove PaymentCurrencyAmount.currencySystem for having base registry).

Closing this tracker (agreed during weekly call).