CONTEXT
Currently, the restaurant lacks the ability to choose which payment methods to use, particularly offline options such as cash, vouchers, or home terminals during the delivery process. RBI aims to provide this flexibility to the restaurant by allowing it to temporarily disable the "home terminal" payment method whenever it is not available.
At present, this solution is only available in the markets of Spain and Portugal and applies exclusively to home delivery services.
IMPLEMENTED SOLUTIONS
In the implemented solution, users with access to the FZ-Portal will be able to choose which offline payment methods to activate or deactivate for each restaurant. Additionally, they will have the option to make bulk changes, selecting one or multiple restaurants.
Once these changes are made, the application (whitelabel) will not display the disabled payment methods during the checkout process for home delivery.
\uD83D\uDCD8 Instructions
Adjust permission to change the payment methods control
To open the User board, choose the Roles tab, and after editing some role:
To add permission to Edit and View on Payment Methods role:
Adjust Payment Method Control
To open the Restaurant board, choose the Restaurant or Groups tab and after Edit Restaurants > Edit Payment Methods:
Simply choose the status of each available payment, in this case the print below will display the payment methods:
Dinero
Cheque Gourmet Voucher
It will hide payment methods:
Vale Sodexo
Tarjeta de Crédito A La Entrega
Ticket Restaurant Voucher
Enable or Disable payment methods for multiple restaurants
It is the same logic, but here we need to decide which Payments we want to change.
In the case below, we will change only three payments.
The Payments that not are checked with the checkbox field, will be ignored.
When saving the Payment Methods, the system will ask if the Fz user is sure about the change, and it will also inform how many restaurants will be impacted by this change.
Database
The values of these payments are saved on Sanity, more detail here.
Whitelabel-app
The Whitelabel app hides or shows payment methods based on the status saved in DOP. More details here.
Feature Flag
Intl Tech - Guest App (Whitelabel)
enable-payment-methods-control
FZ Portal (DOP)
enable-payment-methods-control