requestPayment 호출 시 "필수 파라미터가 누락되었습니다" 가 발생합니다.

paymentWidget.requestPayment({
orderId: currentUser.OrderId,
orderName: orderName,
amount: amountOfPayment,
customerEmail: currentUser.Email,
customerName: currentUser.FullName
}).....

로 promise .
https://docs.tosspayments.com/reference/widget-sdk#promise%EB%A1%9C-%EC%B2%98%EB%A6%AC%ED%95%98%EA%B8%B0
.
젯 JavaScript SDK.
결제위젯 JavaScript SDK | 토스페이먼츠 개발자센터
Was this page helpful?