seller id와 mid를 어떻게 설정해야하나요?
본사 : mathvieacl
지급대행 : mvpmt
매개변수를 어떻게 넣으면될까요?
// TossPay 결제 요청 (iframe으로 모달 내 처리 시도, PC 기본 iframe)
await widgets.requestPayment({
orderId: $("#uniqId").val(),
orderName: "학원 수강료",
successUrl: "https://mathview.kr/main/php/success.html",
failUrl: "https://mathview.kr/main/php/fail.html",
customerEmail: $("#parentEmail").val(),
customerName:$("#parentName").val(),
customerMobilePhone: $("#phoneNumber").val(),
windowTarget: 'iframe' // PC에서 iframe으로 열리도록 설정 (모달 내 iframe처럼 동작)
}).catch(error => {
console.error('Error requesting payment:', error);
alert('결제 요청 중 오류가 발생했습니다.');
});
지급대행 : mvpmt
매개변수를 어떻게 넣으면될까요?
// TossPay 결제 요청 (iframe으로 모달 내 처리 시도, PC 기본 iframe)
await widgets.requestPayment({
orderId: $("#uniqId").val(),
orderName: "학원 수강료",
successUrl: "https://mathview.kr/main/php/success.html",
failUrl: "https://mathview.kr/main/php/fail.html",
customerEmail: $("#parentEmail").val(),
customerName:$("#parentName").val(),
customerMobilePhone: $("#phoneNumber").val(),
windowTarget: 'iframe' // PC에서 iframe으로 열리도록 설정 (모달 내 iframe처럼 동작)
}).catch(error => {
console.error('Error requesting payment:', error);
alert('결제 요청 중 오류가 발생했습니다.');
});
