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

Transaction Entity #31

Closed
2 of 3 tasks
Tracked by #18
zainfathoni opened this issue Dec 24, 2021 · 3 comments · Fixed by #45
Closed
2 of 3 tasks
Tracked by #18

Transaction Entity #31

zainfathoni opened this issue Dec 24, 2021 · 3 comments · Fixed by #45
Labels
enhancement New feature or request scripting Automation process
Milestone

Comments

@zainfathoni
Copy link
Owner

zainfathoni commented Dec 24, 2021

Description

Transaction entity to store payment information.

Narrative

  • As a Member
  • I want to purchase the course
  • so that I can access the course content.

Acceptance Criteria

Scenario 1

  • Given I am a member
  • and have not purchased the course,
  • when I purchase the course successfully,
  • then I can access the course content.

Implementation Model

Please refer to the Entity Relationship Diagram.

Tasks

  • Create Transaction table in schema.prisma
  • Seed Course, Subscription, & Transaction data in seed.ts
  • Write integration tests (using Jest) to verify data integrity of the seed script (depends on Configure Jest #33)
This was referenced Dec 24, 2021
@zainfathoni zainfathoni added enhancement New feature or request scripting Automation process labels Dec 25, 2021
@zainfathoni zainfathoni added this to the Hackathon milestone Dec 25, 2021
@guntoroyk
Copy link
Contributor

I'm working on this issue now.

I have a question, what are the possible values for status on Subscription and Transaction table mas @zainfathoni ?

@zainfathoni
Copy link
Owner Author

zainfathoni commented Dec 25, 2021

I'm working on this issue now.

I have a question, what are the possible values for status on Subscription and Transaction table mas @zainfathoni?

I just added two state diagrams in #46. Based on them, there are two possible values for each entity.

Would you please store the constant values in this enum.ts file, Mas @guntoroyk? Thanks for helping out! 🙏

@zainfathoni zainfathoni moved this from Ready to In Progress in Kelas Rumah Berbagi Dec 25, 2021
@guntoroyk
Copy link
Contributor

guntoroyk commented Dec 26, 2021

I'm working on this issue now.
I have a question, what are the possible values for status on Subscription and Transaction table mas @zainfathoni?

I just added two state diagrams in #46. Based on them, there are two possible values for each entity.

Would you please store the constant values in this enum.ts file, Mas @guntoroyk? Thanks for helping out! 🙏

Sure @zainfathoni

@kodiakhq kodiakhq bot closed this as completed in #45 Dec 26, 2021
Repository owner moved this from In Progress to Done in Kelas Rumah Berbagi Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scripting Automation process
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants