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

[FEATURE] 결제 정보 dbml 수정 #30

Merged
merged 6 commits into from
Sep 19, 2023
Merged

[FEATURE] 결제 정보 dbml 수정 #30

merged 6 commits into from
Sep 19, 2023

Conversation

bongsh0112
Copy link
Collaborator

  • 결제 정보 dbml 수정

@bongsh0112 bongsh0112 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 18, 2023
@bongsh0112 bongsh0112 self-assigned this Sep 18, 2023
Comment on lines 8 to 14
pg : "kakaopay.TC0ONETIME",
pay_method : 'card',
merchant_uid: "09090902", // 계속 바뀌게 설정해야함. 결제에서 가장 중요한 정보 -> 이걸로 결제 하나하나를 식별함
name : '당근 10kg',
amount : 1004,
buyer_email : 'Iamport@chai.finance',
buyer_name : '아임포트 기술지원팀'
Copy link
Owner

Choose a reason for hiding this comment

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

해당 부분 html에서 가져올 수 있게 샘플코드만 변형해주세요

Comment on lines 25 to 32
IMP.request_pay({
pg : "tosspay.tosstest",
pay_method : 'card',
merchant_uid: "1341",
name : '당근 10kg',
amount : 1004,
buyer_email : 'Iamport@chai.finance',
buyer_name : '아임포트 기술지원팀'
Copy link
Owner

Choose a reason for hiding this comment

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

위와 동일해요~

Comment on lines 43 to 50
IMP.request_pay({
pg : "html5_inicis.INIBillTst",
pay_method : 'card',
merchant_uid: "57854673",
name : '당근 10kg',
amount : 1004,
buyer_email : 'Iamport@chai.finance',
buyer_name : '아임포트 기술지원팀'
Copy link
Owner

Choose a reason for hiding this comment

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

위와 동일해요~

msg += '// 카드 승인번호 : ' + response.apply_num;

postPayInfo(true);
console.log(msg);
Copy link
Owner

Choose a reason for hiding this comment

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

console말고 alert로 실패 성공을 알려주면 되지않을까요

Copy link
Owner

@donsonioc2010 donsonioc2010 left a comment

Choose a reason for hiding this comment

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

파양!

@donsonioc2010 donsonioc2010 merged commit a729efd into dev Sep 19, 2023
2 checks passed
@donsonioc2010 donsonioc2010 deleted the feat/29-payment branch September 19, 2023 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants