결제수단이 아직 선택되지 않았어요. 결제수단을 선택해 주세요.

react서 nextjs .
paymentWidgetRef.current?.renderPaymentMethods('#payment-widget', netPrice);

await paymentWidgetRef.current?.requestPayment({
orderId: order.orderId,
orderName: order.orderName,
successUrl: hasLinkParam ? window.location.origin + PATH.orderSuccessLink : window.location.origin + PATH.orderSuccess,
failUrl: window.location.origin + '/fail',
customerEmail: order.orderPayerInfo?.payerEmail,
customerName: order.orderPayerInfo?.payerName,
customerMobilePhone: order.orderPayerInfo?.payerMobileNumber,
});

.
Was this page helpful?