⚠️ Please Note:
The current Flag for cash limitation simply displays and hides a message in
limit-message/index.ts
and hides cash fromclassify-payment-methods.ts
The new change to the frontend will simply hide the payment methods on top of the existing flags that already enable/disable payment methods in
src/components/payment-method/payment-method-options/payment-method-options.tsx
Modify the Payment Method Interface:
...
Update the constants that implement this interface adding the
onlinePayment
method here, the configuration should be:
const | onlinePayment value |
---|---|
PAYPAL_PAYMENT_METHOD_PLACEHOLDER | true |
BLIK_PAYMENT_METHOD_PLACEHOLDER | true |
SODEXO_VOUCHER_PAYMENT_METHOD_PLACEHOLDER | false |
CHEQUE_GOURMET_VOUCHER_PAYMENT_METHOD_PLACEHOLDER | false |
SODEXO_PAYMENT_METHOD_PLACEHOLDER | true |
CHEQUE_GOURMET_PAYMENT_METHOD_PLACEHOLDER | true |
PAYMENT_ON_DELIVERY_CARD_PAYMENT_METHOD_PLACEHOLDER | false |
BIZUM_PAYMENT_METHOD_PLACEHOLDER | true |
WAYLET_PAYMENT_METHOD_PLACEHOLDER | true |
TICKET_RESTAURANT_PAYMENT_METHOD_PLACEHOLDER | true |
TICKET_RESTAURANT_VOUCHER_PAYMENT_METHOD_PLACEHOLDER | false |
APPLEPAYLINK_PAYMENT_METHOD_PLACEHOLDER | true |
Create a Verification Method:
...