Skip to content

[FEAT] 카카오페이 연동 구현(#46)#47

Merged
hyowon0204 merged 8 commits intodevelopfrom
feat/#46-kakaopay-integration-api
Aug 10, 2025
Merged

[FEAT] 카카오페이 연동 구현(#46)#47
hyowon0204 merged 8 commits intodevelopfrom
feat/#46-kakaopay-integration-api

Conversation

@hyowon0204
Copy link
Contributor

@hyowon0204 hyowon0204 commented Jul 29, 2025

📌 관련 이슈

✨ PR 세부 내용

  • 결제 관련 카카오페이 연동 구현
  • 환불 관련 카카오페이 연동 구현

💬 리뷰 요청 사항

  • 우선은 로컬환경으로 작업 했습니다.

✅ 체크리스트

  • 빌드 및 테스트 통과
  • 주요 기능 정상 동작
IMG_7982

@hyowon0204 hyowon0204 self-assigned this Jul 29, 2025
@hyowon0204 hyowon0204 added the ✨ feature 새로운 기능을 추가합니다 label Jul 29, 2025
.tax_free_amount("0")
.approval_url("http://localhost:8080/pay/success")
.cancel_url("http://localhost:8080/pay/cancel")
.fail_url("http://localhost:8080/pay/fail")
Copy link
Contributor

Choose a reason for hiding this comment

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

현재 approval_url, cancel_url, fail_url에 localhost를 사용하고 있어 외부에서서 접근할 수 없을 것 같습니다. 저희 서버 도메인으로 바꾸셔야 할 듯 합니다.
도메인도 직접 노출보다는 환경변수 ${APP_HOST}로 처리하는 것이 좋을 것 같습니다. (prod.yml에 반영)

Copy link
Contributor

Choose a reason for hiding this comment

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

하드코딩보다 아이템명이나 가격도 등록되어 있는 객실에 맞춰 결제가 진행되는 것이 좋을 것 같습니다.

private final ObjectMapper objectMapper;

@Value("${kakao.pay.secret-key}")
private String adminKey;
Copy link
Contributor

Choose a reason for hiding this comment

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

${kakao.pay.secret-key} prod.yml에 반영 부탁드립니다! 키도 저한테 따로 보내주시면 깃허브시크릿으로 배포하겠습니다.

Copy link
Contributor

@99hyuk 99hyuk Aug 6, 2025

Choose a reason for hiding this comment

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

노션에 키 올려놓으신 거 확인해서 깃허브 시크릿에 등록은 해두었습니다.
다만 변수 이름을 KAKAOPAY_SECRET_KEY로 올려두어서
kakao:
pay:
secret-key: ${KAKAOPAY_SECRET_KEY}
이렇게 prod.yml에 반영 부탁드립니다!

@hyowon0204 hyowon0204 merged commit 9c83f56 into develop Aug 10, 2025
1 check passed
@hyowon0204 hyowon0204 deleted the feat/#46-kakaopay-integration-api branch August 14, 2025 17:34
@hyowon0204 hyowon0204 changed the title [FEAT] 카카오페이 연동 구현 [FEAT] 카카오페이 연동 구현(#46) Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature 새로운 기능을 추가합니다

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 카카오페이 연동 API 구현

2 participants