[Refactor] : 결제 페이지에 준회원이 아닌 경우 접근하지 못하도록 해요. #86
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.
🎉 변경 사항
현재 토스페이먼츠 결제 위젯에 누구나 링크만 있으면 접근할 수 있는 것 같아서 준회원일 때에만 결제 페이지에 접근할 수 있도록 해요.
토스페이먼츠 결제 화면으로 게스트, 정회원 상태일 때 넘어가면 자동으로 대시보드로 넘어갑니다.
+) 토스트로 안내를 추가적으로 하는 것이 좋을까요?
ex. 게스트일때 => 준회원 조건을 모두 충족한 이후 회비를 납부해주세요.
ex. 정회원일때 => 이미 회비 납부를 완료했어요.