어플리케이션에서 결제 취소 관련 문의

, (next.js+react-native), 에 x() .
, 아 failUrl의 requestPayment의 catch(error).
?
.
try {

await paymentWidget?.requestPayment({
orderId: orderId,
orderName: orderName,
customerName: myName,
successUrl: window.location.origin + '/successPurchase',
failUrl: window.location.origin + '/failPurchase',
});
} catch (error) {
//
}
Was this page helpful?