/
Rule 2 - Physical Payment Amount Limit

Rule 2 - Physical Payment Amount Limit

For orders subsequent to the first, if the total value equals or exceeds €50, only online payment methods will be allowed. The threshold value of €50 is configurable and can be adjusted as necessary.

Feature toggle and configuration:

Create a new setting in the OpsPortal (DOP) that will allow each restaurant to set the limit.

Identification of Subsequent Orders and Application of Limit:

  1. Trigger the getUserOrders when the payment method screen loads.

  2. The response includes all past orders of the user and a count of these orders.

    1. Sample response of a user with 2 previous orders:

      { "data": { "userOrders": { "count": 2, "resumeAfter": null, "orders": [ /* ... */ ], "__typename": "OrderListResponse" } }
  3. If the count is greater than or equal to 1, indicating at least one previous order and the order value is greater than €50 then physical payment options should not be displayed.

Related content

ADR Solution - Cash Limitation
ADR Solution - Cash Limitation
More like this
Tech Refinement - Cash Limitation Rule Order Limit for New Customers and Order Limit for All Customers
Tech Refinement - Cash Limitation Rule Order Limit for New Customers and Order Limit for All Customers
More like this
Rule 1 - First Order Physical Payment Limit
Rule 1 - First Order Physical Payment Limit
More like this
Cash Limitation
Cash Limitation
More like this
Rule 3 - Repeated Delivery Failure Limitation
Rule 3 - Repeated Delivery Failure Limitation
More like this
Cash Limitation
More like this