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

refactor: 결제 기능에 유저 엑세스 토큰 받아오도록 수정 #100

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

Muokok
Copy link
Collaborator

@Muokok Muokok commented Oct 13, 2024

📄 Summary

결제 기능 수정

🕰️ Actual Time of Completion

2시간

🙋🏻 More

@Muokok Muokok self-assigned this Oct 13, 2024
Copy link
Member

@gyuseon25 gyuseon25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~

@@ -54,7 +55,7 @@ public PayPrepareResponse preparePay(PayPrepareRequest request) {
}

String merchantUid = generateMerchantUid();
Pay pay = request.toEntity(item, merchantUid, calculatedAmount, request.getPayMethod());
Pay pay = request.toEntity(item, merchantUid, calculatedAmount, request.getPayMethod(), customUserDetails.getMember());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pay도 추가하고 Purchase에도 추가하면 좋을 거 같아요~

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다!

Copy link
Member

@MinSang22Kim MinSang22Kim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다~!

@MinSang22Kim MinSang22Kim added the 🐞 Bug 버그 수정 label Oct 13, 2024
Copy link
Contributor

@holyPigeon holyPigeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

뒷북 확인이요~

* remove: PaymentType을 삭제하여 결제 수단 Enum을 PayMethod로 통일

* feat: 결제 완료 서비스 로직에 Purchase 저장 로직 추가
* fix: PurchaseService 부분 손수 수정
@Muokok Muokok merged commit bd07de2 into develop Oct 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug 버그 수정
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants