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

feat: 봉사자의 후원기능을 구현한다. #432

Merged
merged 17 commits into from
Dec 13, 2023
Merged

feat: 봉사자의 후원기능을 구현한다. #432

merged 17 commits into from
Dec 13, 2023

Conversation

pushedrumex
Copy link
Member

@pushedrumex pushedrumex commented Dec 12, 2023

⛏ 작업 사항

  • 봉사자의 후원금 기부 API 를 구현했습니다.
  • 봉사자는 toss pay를 통해 기부금액을 결제할 수 있습니다.
  • webClient 를 사용하여 PG API 를 호출합니다.

📝 작업 요약

  • 외부 API 를 호출하는 ApiService 구현
  • MockWebServer 를 사용하여 외부 API 호출 테스트 코드 작성
  • PG와 통신하는 PaymentClient 구현
  • 후원 신청 API 생성 : toss PG 통신을 위한 데이터 응답
  • 결제 성공 API 생성: toss PG 에 결제를 확인하는 로직 수행
  • 결제 실패 API 생성
  • 프론트와의 연동 확인
  1. 결제 성공 시, /api/payments/success 로 리다이렉트

스크린샷 2023-12-12 오후 5 21 21

  1. 서버에서 PG 에 결제 확인을 한 후 응답 확인

스크린샷 2023-12-12 오후 5 21 55

💡 관련 이슈

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

github-actions bot commented Dec 12, 2023

Test Results

281 files  +13  281 suites  +13   26s ⏱️ -2s
647 tests +23  647 ✔️ +23  0 💤 ±0  0 ±0 
655 runs  +23  655 ✔️ +23  0 💤 ±0  0 ±0 

Results for commit c3ab8d0. ± Comparison against base commit c40db7a.

♻️ This comment has been updated with latest results.

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
97.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Member

@bjo6300 bjo6300 left a comment

Choose a reason for hiding this comment

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

👍🏻

@pushedrumex pushedrumex merged commit 0fd46f0 into dev Dec 13, 2023
@pushedrumex pushedrumex deleted the feat/#427 branch December 13, 2023 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: 봉사자의 후원기능을 구현한다.
2 participants