{"id":674,"date":"2025-09-11T23:33:31","date_gmt":"2025-09-11T23:33:31","guid":{"rendered":"https:\/\/motortrackvehicle.com\/?page_id=674"},"modified":"2025-10-15T22:18:38","modified_gmt":"2025-10-15T22:18:38","slug":"vinpage","status":"publish","type":"page","link":"https:\/\/motortrackvehicle.com\/?page_id=674","title":{"rendered":"vinpage"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"674\" class=\"elementor elementor-674\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4772fe1 e-flex e-con-boxed e-con e-parent\" data-id=\"4772fe1\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-829567b e-con-full e-flex e-con e-child\" data-id=\"829567b\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dca918e elementor-widget elementor-widget-heading\" data-id=\"dca918e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Get Full Report Select package &amp; Get your Vehicle History Report instantly!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f076c3c elementor-widget elementor-widget-shortcode\" data-id=\"f076c3c\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f673-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"673\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F674#wpcf7-f673-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"673\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.3\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f673-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<\/fieldset>\n<div class=\"styled-form\">\n\t<div class=\"row\">\n\t\t<div class=\"col-6\">\n\t\t\t<p><label> Name *<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"your-name\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required second-field\" autocomplete=\"name\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"your-name\" \/><\/span><br \/>\n<\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"col-6\">\n\t\t\t<p><label> Email Address *<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"your-email\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email second-field\" autocomplete=\"email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"your-email\" \/><\/span><br \/>\n<\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t<p><label> Phone <span class=\"wpcf7-form-control-wrap\" data-name=\"phonetext-736\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-phonetext wpcf7-text wpcf7-validates-as-phonetext\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"phonetext-736\" \/><input type=\"hidden\" name=\"phonetext-736-country-code\" class=\"wpcf7-phonetext-country-code\" \/><\/span> <\/label>\n\t<\/p>\n\t<p><label> VIN \/ Plate Number *<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"your-subject\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required second-field\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"your-subject\" \/><\/span><br \/>\n<\/label>\n\t<\/p>\n\t<div class=\"row\">\n\t\t<div class=\"col-6\">\n\t\t\t<p><label> Country *<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"your-country\"><select class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required second-field\" aria-required=\"true\" aria-invalid=\"false\" name=\"your-country\"><option value=\"\">&#8212;Please choose an option&#8212;<\/option><option value=\"Select Country\">Select Country<\/option><option value=\"Pakistan\">Pakistan<\/option><option value=\"India\">India<\/option><option value=\"United States\">United States<\/option><option value=\"United Kingdom\">United Kingdom<\/option><option value=\"Canada\">Canada<\/option><option value=\"Australia\">Australia<\/option><option value=\"Germany\">Germany<\/option><option value=\"France\">France<\/option><option value=\"China\">China<\/option><option value=\"Japan\">Japan<\/option><\/select><\/span><br \/>\n<\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"col-6\">\n\t\t\t<p><label> State<br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"State\"><textarea cols=\"40\" rows=\"10\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea second-field\" aria-invalid=\"false\" name=\"State\"><\/textarea><\/span><br \/>\n<\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"row\">\n\t\t<div class=\"col-6\">\n\t\t\t<p><strong>Select Package *<\/strong>\n\t\t\t<\/p>\n\t\t\t<p><label><input type=\"checkbox\" name=\"services\" value=\"15\" \/> Loan - $15<\/label><br \/>\n<label><input type=\"checkbox\" name=\"services\" value=\"50\" \/> Basic - $50<\/label><br \/>\n<label><input type=\"checkbox\" name=\"services\" value=\"75\" \/> Gold - $75<\/label><br \/>\n<label><input type=\"checkbox\" name=\"services\" value=\"105\" \/> Platinum - $105<\/label>\n\t\t\t<\/p>\n\t\t<\/div>\n\t\t<div class=\"col-6\">\n\t\t\t<p><strong>Total<\/strong>\n\t\t\t<\/p>\n\t\t\t<p><input type=\"text\" id=\"total\" readonly \/><br \/>\n\t\t\t<input class=\"wpcf7-form-control wpcf7-hidden\" id=\"total_hidden\" value=\"\" type=\"hidden\" name=\"total-hidden\" \/>\n\t\t\t<\/p>\n\t\t<\/div>\n\t<\/div>\n\t<div class=\"payment-buttons\">\n\t\t<p><button type=\"submit\" name=\"payment_method\" value=\"paypal\" class=\"paypal-btn\"><br \/>\n<span class=\"with\">Pay with<\/span><br \/>\n<img decoding=\"async\" src=\"https:\/\/www.paypalobjects.com\/webstatic\/icon\/pp258.png\" alt=\"PayPal\" class=\"paypal-icon\" \/><br \/>\n<span class=\"pay-text\">Pay<\/span><span class=\"pal-text\">Pal<\/span><br \/>\n<\/button>\n\t\t<\/p>\n\t<\/div>\n\n\n\n\n<!-- Debit \/ Credit Card Button -->\n\t<p><button type=\"submit\" name=\"payment_method\" value=\"debit\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/img.icons8.com\/ios-filled\/50\/ffffff\/bank-card-back-side.png\" alt=\"Debit Card\" class=\"card-icon\" \/><br \/>\nDebit \/ Credit Card<br \/>\n<\/button>\n\t<\/p>\n\t<p><script>\ndocument.addEventListener('wpcf7mailsent', function(event) {\n \/\/ Was PayPal chosen?\n const paypalSelected = event.detail.inputs.some(\n input => input.name === \"payment_method\" && input.value === \"paypal\"\n );\n if (!paypalSelected) return;\n\n \/\/ ========== FIXED PART: Checkbox values read correctly ==========\n let amount = 0;\n document.querySelectorAll('input[name=\"services\"]:checked').forEach(chk => {\n amount += parseFloat(chk.value);\n });\n\n if (amount <= 0) {\n alert(\"Please select a package before proceeding to PayPal.\");\n return;\n }\n\n \/\/ Format to two decimals\n const amountStr = amount.toFixed(2);\n\n \/\/ ====== CONFIGURE THESE ======\n const PAYPAL_BUSINESS = \"customartsolutionsltd@gmail.com\";\n const CURRENCY = \"USD\";\n const ITEM_NAME = \"Vehicle Service Package\";\n const RETURN_URL = \"http:\/\/motortrackvehicle.com\/thank-you\";\n const CANCEL_URL = \"http:\/\/motortrackvehicle.com\/\/payment-cancelled\";\n const NOTIFY_URL = \"\";\n \/\/ ==============================\n\n \/\/ Build a form and POST to PayPal\n const form = document.createElement('form');\n form.method = 'POST';\n form.action = 'https:\/\/www.paypal.com\/cgi-bin\/webscr';\n form.style.display = 'none';\n\n function addInput(name, value) {\n const i = document.createElement('input');\n i.type = 'hidden';\n i.name = name;\n i.value = value;\n form.appendChild(i);\n }\n\n addInput('cmd', '_xclick');\n addInput('business', PAYPAL_BUSINESS);\n addInput('item_name', ITEM_NAME);\n addInput('amount', amountStr);\n addInput('currency_code', CURRENCY);\n addInput('no_shipping', '1');\n addInput('no_note', '1');\n addInput('return', RETURN_URL);\n addInput('cancel_return', CANCEL_URL);\n if (NOTIFY_URL) addInput('notify_url', NOTIFY_URL);\n\n \/\/ add user email if exists\n const emailInput = event.detail.inputs.find(inp => inp.name === \"your-email\");\n if (emailInput) addInput('email', emailInput.value);\n\n document.body.appendChild(form);\n form.submit();\n\n}, false);\n<\/script>\n\t<\/p>\n\t<p><script>\n\/\/ === TOTAL CALCULATE FIX ===\ndocument.addEventListener(\"change\", function() {\n let total = 0;\n\n \/\/ Your original HTML checkboxes\n document.querySelectorAll('input[name=\"services\"]:checked').forEach(chk => {\n total += parseFloat(chk.value);\n });\n\n \/\/ Total field\n const totalField = document.getElementById(\"total\");\n const hiddenTotal = document.getElementById(\"total_hidden\");\n\n if (totalField) totalField.value = total;\n if (hiddenTotal) hiddenTotal.value = total;\n});\n<\/script>\n\t<\/p>\n<\/div><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1304852 elementor-widget elementor-widget-heading\" data-id=\"1304852\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">(The Report will takes minimum 1 to 2 hours &amp; maximum 24 hours to receive the report in your email)<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Get Full Report Select package &amp; Get your Vehicle History Report instantly! (The Report will takes minimum 1 to 2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"disabled","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"disabled","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-674","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/pages\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=674"}],"version-history":[{"count":85,"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/pages\/674\/revisions"}],"predecessor-version":[{"id":2651,"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=\/wp\/v2\/pages\/674\/revisions\/2651"}],"wp:attachment":[{"href":"https:\/\/motortrackvehicle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}