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

Make starter bundle a one time purchase #265

Merged
merged 2 commits into from
Jan 16, 2023

Conversation

yoganlava
Copy link
Contributor

@yoganlava yoganlava commented Jan 16, 2023

Old starter bundle handling code was in the old premium purchase section.
This just moves it to the soft spirit orb purchasing section.
The SKU is passed along as well in order to identify the bundle.

Closes #234

Summary

Describe your changes here. Remove any inapplicable sections.

App changes (app/, etc.):

  • Allow sending of bundle SKU to server
  • Restore code that selectively pushes the Starter Bundle

Server changes (config/, server/, worker/, etc.):

  • Move Starter Bundle verification from the Premium Purchase section to the Spirit Orb purchase section
  • Set purchase count for the spirit orb

Testing

Have you have tested your changes in the following scenarios?
Feel free to check off scenarios which don't apply.

  • Starting backend services locally with docker compose up succeeds.
  • I am able to create a new user and log in locally.
  • I am able to complete a practice game locally.
  • I am able to complete a purchase of Orbs, etc.

Old starter bundle handling code was in the old premium purchase section.
This just moves it to the soft spirit orb purchasing section.
The SKU is passed along as well in order to identify the bundle.
@willroberts willroberts merged commit 620ecda into open-duelyst:main Jan 16, 2023
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

Successfully merging this pull request may close these issues.

[P2] Limited 10-Orb Bundle can be purchased more than once
2 participants