In https://github.com/mozilla/payments-ui/pull/94 the product configuration has been mapped to a product dictionary. However, if the payments-config module gets updated and it includes new products, the code will have to be manually changed to recognize the new products. Can we make it so one can simply update payments-config and nothing else?
In https://github.com/mozilla/payments-ui/pull/94 the product configuration has been mapped to a product dictionary. However, if the payments-config module gets updated and it includes new products, the code will have to be manually changed to recognize the new products. Can we make it so one can simply update
payments-config
and nothing else?