Table of Contents |
---|
...
We need to implement a solution to allow the user disable some that allows users to temporarily disable certain offline payment (such as methods (e.g., vouchers, cash, etc.) for specific restaurants in the DOP, allowing users to choose which ones they want to temporarily disable for a specific restaurant, with this the disabled payment . When a payment method is disabled, it will not be displayed in the WL-app to specific for that restaurant.
Currently, the only place that manages which management of available payment methods are available by market and brand is hard-coded in the Front-end (Whitelabel). However, we are unable to retrieve this information from the Whitelabel because this implementation is hard-coded and relies on the feature flag of front-end. As a result, it is not possible to obtain This implementation relies on a feature flag, making it impossible to retrieve this information from other services, such as DOP.
ThereforeTo address this issue, we need to prioritize solving this issue. The solution finding a solution. Here are the options we have are considering:
Option 1 - Payment Methods List in Sanity
...
Sanity and DOP Payments | Whitelabel Payments | Payments avaliable to user on payment screen |
---|---|---|
cash: true Sodexo Voucher: false Ticket Restaurant: false Payment delivery card: true | Credit Card Paypal cash Sodexo Voucher Ticket Restaurant Payment delivery card | Credit Card Paypal cash Payment delivery card |
...