{"id":1051,"date":"2025-08-25T12:28:30","date_gmt":"2025-08-25T12:28:30","guid":{"rendered":"https:\/\/disoh.com\/?page_id=1051"},"modified":"2025-08-25T12:28:52","modified_gmt":"2025-08-25T12:28:52","slug":"merci","status":"publish","type":"page","link":"https:\/\/disoh.com\/fr\/thank-you\/","title":{"rendered":"Merci de votre attention."},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1051\" class=\"elementor elementor-1051\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ac2ebe0 e-flex e-con-boxed e-con e-parent\" data-id=\"ac2ebe0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5ae56c8 elementor-widget elementor-widget-shortcode\" data-id=\"5ae56c8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">[disoh_cart]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-51af174 elementor-widget elementor-widget-html\" data-id=\"51af174\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<script>\ndocument.addEventListener('DOMContentLoaded', function(){\n  try {\n    var pref = (localStorage.getItem('currency') || 'usd').toLowerCase();\n    var desiredId = (pref === 'eur') ? 2 : 1;       \/\/ WHMCS: EUR=2, USD=1\n    var url = new URL(window.location.href);\n    var current = url.searchParams.get('currency');\n\n    \/\/ allow 'eur'\/'usd' or '1'\/'2'\n    var currentId = (current === '2' || current === 'eur') ? 2 :\n                    (current === '1' || current === 'usd') ? 1 : null;\n\n    if (currentId !== desiredId) {\n      url.searchParams.set('currency', desiredId); \/\/ keep other params (add[] \/ host)\n      window.location.replace(url.toString());     \/\/ soft reload, no history step\n    }\n  } catch(e){}\n});\n<\/script>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function(){\n  const form = document.getElementById('disoh-cart-form');\n  if (!form) return;\n\n  form.addEventListener('submit', async function(ev){\n    ev.preventDefault();\n\n    const fd = new FormData(form);\n\n    try {\n      const resp = await fetch('<?php echo admin_url('admin-ajax.php'); ?>', {\n        method: 'POST',\n        body: fd\n      });\n      const data = await resp.json();\n\n      if (!data.ok) {\n        alert('Order error: ' + data.error);\n        return;\n      }\n\n      openStripeModal(data);\n\n    } catch(e) {\n      alert('Network error: ' + e.message);\n    }\n  });\n\n  function openStripeModal(orderData) {\n    document.getElementById('stripe-modal-title').textContent = 'Invoice #' + orderData.invoiceid;\n    document.getElementById('stripe-modal').style.display = 'block';\n\n    const stripe = Stripe('<?php echo esc_js($keys['pub']); ?>');\n\n    fetch('<?php echo admin_url('admin-ajax.php'); ?>?action=disoh_create_pi', {\n      method: 'POST',\n      headers: { 'Content-Type': 'application\/json' },\n      body: JSON.stringify(orderData)\n    })\n    .then(r => r.json())\n    .then(pi => {\n      if (!pi.ok) {\n        document.getElementById('disoh-payment-messages').textContent = pi.error || 'Could not start payment';\n        return;\n      }\n\n      const elements = stripe.elements({ clientSecret: pi.client_secret });\n      const paymentElement = elements.create('payment');\n      paymentElement.mount('#disoh-payment-element');\n\n      document.getElementById('disoh-pay-now').addEventListener('click', async () => {\n        const { error } = await stripe.confirmPayment({\n          elements,\n          confirmParams: {\n            return_url: '<?php echo site_url('\/thank-you'); ?>'\n          }\n        });\n        if (error) {\n          document.getElementById('disoh-payment-messages').textContent = error.message;\n        }\n      });\n    });\n  }\n});\n<\/script>\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>[disoh_cart]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1051","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Thank you &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/fr\/merci\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Thank you &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"[disoh_cart]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/fr\/merci\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-25T12:28:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/thank-you\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/thank-you\\\/\",\"name\":\"Thank you &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\"},\"datePublished\":\"2025-08-25T12:28:30+00:00\",\"dateModified\":\"2025-08-25T12:28:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/thank-you\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/thank-you\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/thank-you\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Thank you\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Merci - Disoh","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/disoh.com\/fr\/merci\/","og_locale":"fr_FR","og_type":"article","og_title":"Thank you &#8211; Disoh","og_description":"[disoh_cart]","og_url":"https:\/\/disoh.com\/fr\/merci\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","article_modified_time":"2025-08-25T12:28:52+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/thank-you\/","url":"https:\/\/disoh.com\/thank-you\/","name":"Merci - Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/#website"},"datePublished":"2025-08-25T12:28:30+00:00","dateModified":"2025-08-25T12:28:52+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/thank-you\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/thank-you\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/thank-you\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"Thank you"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/#website","url":"https:\/\/disoh.com\/","name":"Disoh","description":"Solutions num\u00e9riques H\u00e9bergement","publisher":{"@id":"https:\/\/disoh.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/disoh.com\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"_links":{"self":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/pages\/1051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/comments?post=1051"}],"version-history":[{"count":4,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/pages\/1051\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/pages\/1051\/revisions\/1055"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/media?parent=1051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}