Skip to content

Commit

Permalink
๐ŸŽจ ์นด์นด์˜คํŽ˜์ด approval_url ๋ฐฐํฌ ๋„๋ฉ”์ธ์œผ๋กœ ์ˆ˜์ • (#44)
Browse files Browse the repository at this point in the history
* ๐ŸŽจ ์นด์นด์˜คํŽ˜์ด approval_url ๋ฐฐํฌ ๋„๋ฉ”์ธ์œผ๋กœ ์ˆ˜์ •

* ๐Ÿ› ์‹ ์ฒญ - ์„œ๋ฅ˜ ์—ฐ๊ด€๊ด€๊ณ„ ์ˆ˜์ •
  • Loading branch information
Juye0nLee authored Nov 23, 2024
1 parent 7878bba commit c1e43f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/ivory/ivory/domain/Apply.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ public class Apply extends BaseEntity {
@JoinColumn(name="child_id")
private Child child;

@OneToOne
@ManyToOne
@JoinColumn(name="medical_certificate_id")
private MedicalCertificate medicalCertificate;

@OneToOne
@ManyToOne
@JoinColumn(name="absence_certificate_id")
private AbsenceCertificate absenceCertificate;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/ivory/ivory/service/KakaoPayService.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public KakaoPayReadyDto kakaoPayReady(Long applyId) {
parameters.put("total_amount",copay);
parameters.put("vat_amount","200");
parameters.put("tax_free_amount","0");
parameters.put("approval_url","http://localhost:3000/apply/payments/success"); //TODO: ์ถ”ํ›„ ๋ฐฐํฌ๋œ ๋„๋ฉ”์ธ์œผ๋กœ ์ˆ˜์ •ํ•ด์•ผํ•จ
parameters.put("approval_url","https://danpoong-ivory.vercel.app/apply/payments/success"); // ๋„๋ฉ”์ธ
parameters.put("fail_url","http://localhost:3000/apply/payments/fail");
parameters.put("cancel_url","http://localhost:3000/apply/payments/cancel");

Expand Down

0 comments on commit c1e43f6

Please sign in to comment.