-
Notifications
You must be signed in to change notification settings - Fork 4
[FEAT] 카카오페이 결제 구현 (#71) #115
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
Merged
Merged
Conversation
This file contains hidden or 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
Closed
1 task
dongjune8931
approved these changes
Feb 4, 2025
Member
dongjune8931
left a comment
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.
고생하셨습니다.
src/main/java/com/brainpix/kakaopay/service/KakaoPayService.java
Outdated
Show resolved
Hide resolved
src/main/java/com/brainpix/kakaopay/service/KakaoPayService.java
Outdated
Show resolved
Hide resolved
redblackblossom
approved these changes
Feb 7, 2025
Contributor
redblackblossom
left a comment
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.
고생하셨습니다.
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.
📌 관련 이슈
✨ PR 세부 내용
결제의 과정은 '준비-결제-승인' 이고 구체적인 과정은 다음과 같습니다.
결제 준비 단계(/kakao-pay/ready) : 카카오페이 쪽에 결제 정보를 생성하도록 합니다. 응답으로 url을 받는데, 사용자를 이쪽으로 리다이렉트 되도록 합니다.
사용자의 결제 : url로 이동하여 비밀번호를 입력하고 결제를 진행합니다. 다음 결과에 따라 프론트 쪽 url로 리다이렉트합니다.
결제 최종 승인 단계(/kakao-pay/approve) : 최종 승인까지 완료되어야 실제로 돈이 빠져나갑니다. 프론트에서 orderId와 pgToken를 전달하면 결제 최종 승인 api를 호출해 마무리합니다.
위 url과 화면 구성은 회의 때 얘기를 나눠봐야할 것 같습니다.
https://github.com/user-attachments/assets/419a0922-25a6-40e8-b19e-a29d9b431d12