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

Feature: payments #14

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Conversation

HenriqueSFernandes
Copy link
Contributor

@HenriqueSFernandes HenriqueSFernandes commented Dec 23, 2024

This PR implements the payment logic.
Close #1

@HenriqueSFernandes HenriqueSFernandes linked an issue Dec 23, 2024 that may be closed by this pull request
4 tasks
@jose-carlos-sousa jose-carlos-sousa marked this pull request as ready for review December 24, 2024 17:59
@HenriqueSFernandes
Copy link
Contributor Author

How to use?

  1. Start Redis server with redis-server
  2. Start jobs with node ace jobs:listen
  3. Migrate and seed the database with node ace migration:fresh && node ace db:seed
  4. Go to /payment and insert your phone number.
  5. Visit /payment/1 to see the current status of the payment
  6. Decline the payment (or accept it if you want, it's your money xD)
  7. After a couple of seconds, refresh the page and see that the payment status has updated to declined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buy early bird ticket flow
3 participants