Skip to content

Metrc environment missing Customer Type interface #4

@mashiox

Description

@mashiox

Metrc users in medical-only environments have KYC requirements on the Sales Receipt API request.

Presently we are using values discovered in the API documentation

https://github.com/openthc/pos/blob/master/lib/Controller/POS/Checkout/Commit.php#L228-L230

We need to settle on an interface to pass context for SalesCustomerType and PatientLicenseNumber in the POS interface at some point in the handling of the active Ticket.

Proposal:

Scenario: Metrc Retail Contact adds Customer information to active Ticket
Given I am a Retail Contact with the Payment interface of an active Ticket open
When I enter "Patient" for the "Customer Type" option
And I enter "000001" for the "Patient License" option
Then I have filled the Customer License requirements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions