Details
-
Technical Testing
-
Status: Closed
-
Critical
-
Resolution: Completed
-
None
-
None
-
Commerce Sprint 03 - Feb/2023, Commerce Sprint 04 - Feb/2023
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
- THEN an array of URLs linked to the virtual product are returned with the details of the Order item
- Note: Right now only one file can be linked to a virtual product but we have plans to add multiple at a later date
- 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