Promise 방식으로 requsetPayment()를 호출 시 Error 처리가 이상합니다.

. .
npm SDK 고 vue.

.
서 Error
과 widget
". . ."
[] .
[] 시 Error 닌 widget 서 toss의 failurl (https://pages.tosspayments.com/error/?...) .

재 then() 도 catch()[].
.


== ==
this.paymentWidget.requestPayment({
orderId: this.paymentData.orderId,
orderName: this.paymentData.orderName,
customerName: this.paymentData.customerName,
customerEmail: this.paymentData.customerEmail
})
.then(res => {
//
})
.catch(error => {
//
})
Was this page helpful?