Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-10763

Get Order Details API to return array of files linked to virtual product order items

Details

    Description

      As a 3rd party

      I want files lined to to virtual products to be returned in the Get Order Details API

      So that I can access these files if I have purchased a virtual product

       

      Acceptance Criteria

      • IF Authenticated user has permissions to view the order 
      • AND If Order Status matches the Activation Status of the virtual Product (see also COMMERCE-10709)
      • THEN an array of URLs linked to the virtual product are returned with the details of the Order item 
        • Note 1: Right now only one file can be linked to a virtual product but we have plans to add multiple at a later date (COMMERCE-10764)
        • Note 2: It is assumed that we can return the URL and the logic of counting the allowed number of downloads is done when the user clicks on the link
      • Get Order Item API should also work in the same way

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              david.kelly David Kelly
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4 DXP U67