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

Add logic for phonepe callback #113

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Add logic for phonepe callback #113

merged 1 commit into from
Nov 27, 2023

Conversation

hvs-flick
Copy link
Collaborator

@hvs-flick hvs-flick commented Nov 20, 2023

Flow when we get a callback from phonepe ( logic in PhonePeCallBackController, PaymentRequestbuilder)

  • First we will fetch payment request the details from DB using using unique merchantTransactionId
  • then we will check the payment status
  • if it is successful, we will add player in list and update status of request to success in DB
  • If it fails, then we will update status of request accordingly in DB.

Other changes are mostly refactoring.

@abhimanyu-fm abhimanyu-fm merged commit ed7e2e8 into main Nov 27, 2023
1 check passed
@abhimanyu-fm abhimanyu-fm deleted the phonepe-integration branch November 27, 2023 09:35
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.

2 participants