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('.');
});
Was this page helpful?