Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrc environment missing Customer Type interface #4

Open
mashiox opened this issue Dec 1, 2022 · 0 comments
Open

Metrc environment missing Customer Type interface #4

mashiox opened this issue Dec 1, 2022 · 0 comments

Comments

@mashiox
Copy link
Member

mashiox commented Dec 1, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@mashiox and others