결제하기 paymentWidget.requestPayment 문의합니다.

pc.

.then

* pc
* mobile

.then
.then.

자 pc, mobile () &.
, , .

paymentWidget.requestPayment({
orderId: order_no,
orderName: product_name,
successUrl: BASE_URL + ENV_DIR + "/OrderPG/success",
failUrl: BASE_URL + ENV_DIR + "/OrderPG/fail",
customerEmail: user_email,
customerName: user_name,
customerMobilePhone: user_phone,
}).then(function(data){
// /*
// // (. .)alert
// // ()
// */
console.log('then'); <==
delete_order(order_no);
// location.reload();
}).catch(function (error) {
// print_m(error);
//,
delete_order(order_no);
modal_alert('error', '', error.message, '', 'N', 'N');
// modal_alert('error', '', '.<br/>:' + error.message, '', 'N', 'N');
}).finally(function(){

});
Was this page helpful?