Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

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.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.