...
🛠️ Potential Solutions
🧐 Assumptions
The assumptions is that we We will only add the brands of credit cards in the add “add new credit card card” option.
Do not show sodexo“sodexo”, cheque gourmet and ticket restaurant “cheque gourmet” and “ticket restaurant” brands in adding a the “add new credit card card” option.
Do not display card components for sodexo“sodexo”, cheque gourmet and ticket restaurant “cheque gourmet” and “ticket restaurant”.
Iframe loading is indifferent to card component details (can be shown before loading the iframe).
Solution #1 - Map cards accepted in whitelabel-app
The first solution is to add a mapper just to the frontend to obtain the types of cards accepted for payment and directly obtain these values that will be displayed, as there are few changes, changing . Changing accepted cards is something that changes very infrequently, we would not have problems with changes in these fields.
...
Info |
---|
The types of payments for "sodexosodexo”, restaurant ticket “ticket restaurant” and cheque “cheque gourmet" must be shown only one of them and not the credit cards. |
...