{"id":417,"date":"2026-06-01T18:31:51","date_gmt":"2026-06-01T18:31:51","guid":{"rendered":"https:\/\/tourninhbinh.vn\/en\/xac-nhan-dat-tour\/"},"modified":"2026-06-01T18:31:51","modified_gmt":"2026-06-01T18:31:51","slug":"xac-nhan-dat-tour","status":"publish","type":"page","link":"https:\/\/tourninhbinh.vn\/en\/xac-nhan-dat-tour\/","title":{"rendered":"X\u00e1c nh\u1eadn \u0111\u1eb7t tour"},"content":{"rendered":"\n<style>\n.op-result{font-family:'Inter',system-ui,sans-serif;max-width:480px;margin:60px auto;padding:0 20px;text-align:center}\n.op-icon{font-size:64px;margin-bottom:20px}\n.op-title{font-size:26px;font-weight:800;margin-bottom:10px}\n.op-msg{font-size:15px;color:#555;line-height:1.6;margin-bottom:28px}\n.op-box{background:#f5f5f5;border-radius:14px;padding:20px 24px;text-align:left;margin-bottom:28px;font-size:14px;line-height:2}\n.op-box strong{color:#1a1a1a}\n.op-btn{display:inline-block;background:#006644;color:#fff;font-size:15px;font-weight:700;padding:14px 36px;border-radius:999px;text-decoration:none}\n.op-fail{color:#c00}\n<\/style>\n<div class=\"op-result\" id=\"op-result\">\n  <div class=\"op-icon\" id=\"op-icon\">\u23f3<\/div>\n  <div class=\"op-title\" id=\"op-title\">\u0110ang x\u00e1c nh\u1eadn&#8230;<\/div>\n  <div class=\"op-msg\" id=\"op-msg\">Vui l\u00f2ng ch\u1edd trong gi\u00e2y l\u00e1t.<\/div>\n  <div class=\"op-box\" id=\"op-box\" style=\"display:none\"><\/div>\n  <a href=\"\/en\/tour\/combo-trang-an-show-anh-hung-co-lau-ninh-binh\/\" class=\"op-btn\" id=\"op-btn\" style=\"display:none\">\u2190 Quay l\u1ea1i trang tour<\/a>\n<\/div>\n<script>\n(function(){\n  var params = new URLSearchParams(window.location.search);\n  var code = params.get('vpc_TxnResponseCode');\n  var cmd  = params.get('vpc_Command');\n  var amt  = params.get('vpc_Amount');\n  var ref  = params.get('vpc_MerchTxnRef');\n  var info = params.get('vpc_OrderInfo');\n\n  var icon  = document.getElementById('op-icon');\n  var title = document.getElementById('op-title');\n  var msg   = document.getElementById('op-msg');\n  var box   = document.getElementById('op-box');\n  var btn   = document.getElementById('op-btn');\n\n  if (!code) {\n    icon.textContent  = '\u274c';\n    title.textContent = 'Kh\u00f4ng t\u00ecm th\u1ea5y th\u00f4ng tin giao d\u1ecbch';\n    msg.textContent   = 'Vui l\u00f2ng li\u00ean h\u1ec7 hotline 0911 585 522 \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3.';\n    btn.style.display = 'inline-block';\n    return;\n  }\n\n  if (cmd === 'pay' && code === '0') {\n    var vnd = amt ? (parseInt(amt) \/ 100).toLocaleString('vi-VN') + '\u20ab' : '';\n    icon.textContent  = '\u2705';\n    title.textContent = 'Thanh to\u00e1n th\u00e0nh c\u00f4ng!';\n    msg.innerHTML     = 'C\u1ea3m \u01a1n b\u1ea1n \u0111\u00e3 \u0111\u1eb7t tour t\u1ea1i <strong>TourNinhBinh.VN<\/strong>.<br>Email x\u00e1c nh\u1eadn \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn h\u1ed9p th\u01b0 c\u1ee7a b\u1ea1n.';\n    box.style.display = 'block';\n    box.innerHTML     =\n      '<strong>M\u00e3 giao d\u1ecbch:<\/strong> ' + (ref || '\u2014') + '<br>' +\n      '<strong>S\u1ed1 ti\u1ec1n:<\/strong> ' + vnd + '<br>' +\n      '<strong>Th\u00f4ng tin:<\/strong> ' + (decodeURIComponent(info || '') || '\u2014');\n    btn.style.display = 'inline-block';\n    btn.textContent   = '\ud83c\udfe0 V\u1ec1 trang ch\u1ee7';\n    btn.href          = '\/';\n  } else {\n    var errMap = {\n      '1':'Giao d\u1ecbch th\u1ea5t b\u1ea1i','2':'Ng\u00e2n h\u00e0ng t\u1eeb ch\u1ed1i','3':'Th\u1ebb h\u1ebft h\u1ea1n ho\u1eb7c kh\u00f4ng h\u1ee3p l\u1ec7',\n      '4':'S\u1ed1 d\u01b0 kh\u00f4ng \u0111\u1ee7','5':'OTP kh\u00f4ng \u0111\u00fang','6':'H\u1ebft th\u1eddi gian nh\u1eadp OTP',\n      '7':'Th\u1ebb b\u1ecb kh\u00f3a','8':'Giao d\u1ecbch b\u1ecb t\u1eeb ch\u1ed1i','99':'L\u1ed7i kh\u00f4ng x\u00e1c \u0111\u1ecbnh'\n    };\n    icon.textContent  = '\u274c';\n    title.textContent = 'Thanh to\u00e1n kh\u00f4ng th\u00e0nh c\u00f4ng';\n    msg.innerHTML     = (errMap[code] || 'L\u1ed7i m\u00e3 ' + code) + '.<br>Vui l\u00f2ng th\u1eed l\u1ea1i ho\u1eb7c li\u00ean h\u1ec7 <strong>0911 585 522<\/strong>.';\n    btn.style.display = 'inline-block';\n  }\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u23f3 \u0110ang x\u00e1c nh\u1eadn&#8230; Vui l\u00f2ng ch\u1edd trong gi\u00e2y l\u00e1t. \u2190 Quay l\u1ea1i trang tour<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_angie_page":false,"footnotes":""},"class_list":["post-417","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/pages\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":0,"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/pages\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/tourninhbinh.vn\/en\/wp-json\/wp\/v2\/media?parent=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}