-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feat/stripe #226
Closed
Closed
Feat/stripe #226
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: channel and role creation * fix: channel and role creation * fix: channel creation * fix: put syncRoles function when the team locks * fix: add clearRoles function for removing roles if the discord id changes * fix: adding tests for the syncRoles and setupTeams functions and road to syncRoles * fix: add tests and route * fix: fixed route and added description for api documentation * fix: added coaches and tournament resp to channels * fix: last modifications * fix: bot starting * fix(tests): tests should have an end and should pass * fix(tests): tests should actually end * Fix: Discord (#75) * feat: remake discord bot with only HTTP calls * fix: change ts file to d.ts file * fix: correct suggestions * fix: correct color for team role * fix: correct permissions * fix: apply suggestions * fix: increase coverage in some part of the code * fix: lint Co-authored-by: AlbanSdl <[email protected]> Co-authored-by: Thomas de Lachaux <[email protected]>
* fix(misc): fix coach limit blocking new players in team * smtp credentials are now in a an uri format * empty tables will now longer be rendered in emails * fixed localhost invalid redirect_uri for discord oauth * docs: update discord.md and fake.md
* fix(tickets): optional cartItemId to return current user ticket * tickets should not be sent as an email attachment when declared as sent in pdf format * tickets should be base64-encoded * test(tickets): fix coverage loss * fix(env): forgot this line in previous pr
* fix(tickets): emails now don't send the tickets as attachments * fix(tickets): fixed the failing test * fix(tickets): added back attachments to sendEmail function * fix(tickets): adapted the test to last changes
* fix(discord): solve rate limit issues * fix(discord): take rate limit headers into account * fix(discord): removed trailing log * fix(discord): fetch user loop fix * test(discord): add tests or codecov won't like my pr * test(discord): actually enable tests
MISE EN PROOOOOD
fix: correct discord channels
fix(user): users should not be able to join a team when created another one
DEPLOIEMENT !!!!!!!
fix(user): allow lastname to be two char length (#91)
Fix/discord
* fix(items): added remaining item count to /items * fix(items): correct doc and added loop for tests
…ds in POST /users/current/carts
Remi-pcn
reviewed
Sep 8, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tout semble bon apart les quelques trucs qu'on a comment. @DevNono si jamais tu peux jeter un coup d'oeil aussi
…ms with negative price
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed payment method from Etupay to Stripe
Changes
POST /users/current/cart
now returns the token to pay with Stripe.GET/POST /etupay
), and addedPOST /stripe/accepted
andPOST /stripe/expired
routes to tell when a cart has been payed or expired.PATCH /admin/items/stripe-sync
to synchronize items in Stripe.Breaking changes
Everything related to payments, and cart status.
What's left to do
Stripe
better