pos icon indicating copy to clipboard operation
pos copied to clipboard

Metrc environment missing Customer Type interface

Open mashiox opened this issue 3 years ago • 0 comments

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

mashiox avatar Dec 01 '22 22:12 mashiox