{"id":147469,"date":"2026-08-19T11:58:52","date_gmt":"2026-08-19T15:58:52","guid":{"rendered":"https:\/\/cmrra.ca\/?page_id=147469"},"modified":"2026-08-19T11:59:35","modified_gmt":"2026-08-19T15:59:35","slug":"verify","status":"publish","type":"page","link":"https:\/\/cmrra.ca\/fr\/verify\/","title":{"rendered":"V\u00e9rification d\u2019identit\u00e9"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row row_height_percent=\u00a0\u00bb50&Prime; override_padding=\u00a0\u00bbyes\u00a0\u00bb h_padding=\u00a0\u00bb2&Prime; top_padding=\u00a0\u00bb2&Prime; bottom_padding=\u00a0\u00bb2&Prime; back_color=\u00a0\u00bbaccent\u00a0\u00bb back_image=\u00a0\u00bb145121&Prime; back_position=\u00a0\u00bbcenter bottom\u00a0\u00bb parallax=\u00a0\u00bbyes\u00a0\u00bb overlay_color=\u00a0\u00bbaccent\u00a0\u00bb overlay_alpha=\u00a0\u00bb35&Prime; overlay_color_blend=\u00a0\u00bbdarken\u00a0\u00bb gutter_size=\u00a0\u00bb3&Prime; column_width_percent=\u00a0\u00bb100&Prime; shift_y=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; content_parallax=\u00a0\u00bb0&Prime; uncode_shortcode_id=\u00a0\u00bb673280&Prime; back_color_type=\u00a0\u00bbuncode-palette\u00a0\u00bb overlay_color_type=\u00a0\u00bbuncode-palette\u00a0\u00bb row_height_pixel=\u00a0\u00bb40&Prime;][vc_column column_width_use_pixel=\u00a0\u00bbyes\u00a0\u00bb position_vertical=\u00a0\u00bbmiddle\u00a0\u00bb align_horizontal=\u00a0\u00bbalign_center\u00a0\u00bb gutter_size=\u00a0\u00bb2&Prime; style=\u00a0\u00bbdark\u00a0\u00bb overlay_alpha=\u00a0\u00bb50&Prime; shift_x=\u00a0\u00bb0&Prime; shift_y=\u00a0\u00bb0&Prime; shift_y_down=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; medium_width=\u00a0\u00bb0&Prime; mobile_width=\u00a0\u00bb0&Prime; width=\u00a0\u00bb1\/1&Prime; column_width_pixel=\u00a0\u00bb900&Prime;][vc_custom_heading heading_semantic=\u00a0\u00bbh5&Prime; text_size=\u00a0\u00bbfontsize-160000&Prime; text_transform=\u00a0\u00bbuppercase\u00a0\u00bb text_space=\u00a0\u00bbfontspace-135905&Prime; uncode_shortcode_id=\u00a0\u00bb132949&Prime;]Adh\u00e9rez \u00e0 la CMRRA[\/vc_custom_heading][vc_custom_heading heading_semantic=\u00a0\u00bbh4&Prime; text_font=\u00a0\u00bbfont-136269&Prime; text_size=\u00a0\u00bbfontsize-338686&Prime; uncode_shortcode_id=\u00a0\u00bb161361&Prime;]V\u00e9rification d\u2019identit\u00e9[\/vc_custom_heading][vc_empty_space empty_h=\u00a0\u00bb0&Prime;][\/vc_column][\/vc_row][vc_row row_height_percent=\u00a0\u00bb0&Prime; back_color=\u00a0\u00bbcolor-jevc\u00a0\u00bb overlay_alpha=\u00a0\u00bb50&Prime; gutter_size=\u00a0\u00bb3&Prime; column_width_percent=\u00a0\u00bb100&Prime; shift_y=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; content_parallax=\u00a0\u00bb0&Prime; uncode_shortcode_id=\u00a0\u00bb190080&Prime; back_color_type=\u00a0\u00bbuncode-palette\u00a0\u00bb][vc_column][vc_column_text]  <div id=\"gfsi-container\" style=\"max-width:560px;margin:40px auto;text-align:center;\">\n    <h2>Derni\u00e8re \u00e9tape : v\u00e9rifiez votre identit\u00e9<\/h2>\n    <p>Une fen\u00eatre s\u00e9curis\u00e9e s\u2019ouvrira pour compl\u00e9ter la v\u00e9rification aupr\u00e8s de notre fournisseur.<\/p>\n    <p>\n      <button id=\"gfsi-open\" style=\"padding:10px 16px;border-radius:8px;cursor:pointer;\">\n        Ouvrir la v\u00e9rification      <\/button>\n    <\/p>\n    <p style=\"font-size:12px;color:#666;\">Si la fen\u00eatre ne s\u2019ouvre pas automatiquement, cliquez sur le bouton.<\/p>\n  <\/div>\n\n  <script src=\"https:\/\/js.stripe.com\/v3\/\"><\/script>\n  <script>\n    (function() {\n      const params = new URLSearchParams(location.search);\n      const entryId = params.get('e');\n      const pageLang = 'fr';\n\n      const completeUrl =\n        pageLang === 'fr'\n          ? 'https:\/\/cmrra.ca\/fr\/verification-terminee\/'\n          : 'https:\/\/cmrra.ca\/fr\/verify-complete\/';\n\n      let running = false;\n\n      async function launch() {\n        if (!entryId) {\n          alert(pageLang === 'fr' ? 'Identifiant manquant.' : 'Missing entry id.');\n          return;\n        }\n\n        if (running) return;\n        running = true;\n\n        try {\n          \/\/ Cache-busting param: makes each request a distinct URL so an\n          \/\/ edge\/CDN cache (e.g. WP Engine) can't serve a stale response\n          \/\/ while a proper cache-exclusion rule is pending.\n          const cacheBust = Date.now() + '-' + Math.random().toString(36).slice(2);\n          const endpoint = 'https:\/\/cmrra.ca\/fr\/wp-json\/gfsi\/v1\/identity-client-secret\/?e=' + encodeURIComponent(entryId) + '&lang=' + encodeURIComponent(pageLang) + '&_cb=' + cacheBust;\n          const res = await fetch(endpoint, { credentials: 'same-origin' });\n\n          if (!res.ok) {\n            const txt = await res.text();\n            alert(pageLang === 'fr' ? 'Impossible de d\u00e9marrer la v\u00e9rification : ' + txt : 'Could not start verification: ' + txt);\n            return;\n          }\n\n          const data = await res.json();\n\n          if (data && (data.already_verified || data.status === 'verified')) {\n            window.location.href = completeUrl;\n            return;\n          }\n\n          if (!data.client_secret || !data.publishable_key) {\n            alert(pageLang === 'fr' ? 'Information Stripe manquante.' : 'Missing client secret or publishable key.');\n            return;\n          }\n\n          const stripe = Stripe(data.publishable_key, {\n            locale: pageLang || data.locale || 'auto'\n          });\n\n          let result = null;\n\n          if (stripe.verifyIdentity) {\n            result = await stripe.verifyIdentity(data.client_secret);\n          } else if (stripe.identity && stripe.identity.verify) {\n            result = await stripe.identity.verify(data.client_secret);\n          } else {\n            alert(pageLang === 'fr' ? 'Stripe Verify indisponible.' : 'Stripe verifyIdentity not available.');\n            return;\n          }\n\n          if (result && result.error) {\n            alert(\n              result.error.message ||\n              (\n                pageLang === 'fr'\n                  ? 'La v\u00e9rification n\u2019a pas \u00e9t\u00e9 compl\u00e9t\u00e9e. Vous pouvez r\u00e9essayer.'\n                  : 'Verification not completed. You can try again.'\n              )\n            );\n            return;\n          }\n\n          \/\/ The modal returning is not enough to declare success. Check the\n          \/\/ actual Stripe VerificationSession from the parent page and only\n          \/\/ navigate when Stripe reports \"verified\".\n          const statusEndpointBase =\n            'https:\/\/cmrra.ca\/fr\/wp-json\/gfsi\/v1\/identity-status\/?e=' +\n            encodeURIComponent(entryId);\n\n          for (let attempt = 0; attempt < 12; attempt++) {\n            \/\/ Fresh cache-busting param on every poll \u2014 each attempt must\n            \/\/ hit live PHP, not a cached copy of an earlier attempt.\n            const statusEndpoint = statusEndpointBase + '&_cb=' + Date.now() + '-' + Math.random().toString(36).slice(2);\n            const statusRes = await fetch(statusEndpoint, { credentials: 'same-origin' });\n\n            if (statusRes.ok) {\n              const statusData = await statusRes.json();\n              const stripeStatus = statusData.status || '';\n\n              if (stripeStatus === 'verified') {\n                window.location.href = completeUrl;\n                return;\n              }\n\n              if (stripeStatus === 'requires_input' || stripeStatus === 'canceled') {\n                \/\/ Stay on \/verify. The applicant can reopen\/retry from here.\n                return;\n              }\n            }\n\n            await new Promise(resolve => setTimeout(resolve, 1000));\n          }\n\n          \/\/ If Stripe is still processing, remain on the verification page.\n          \/\/ The resume button\/link will safely re-check the same application.\n\n        } finally {\n          running = false;\n        }\n      }\n\n      const btn = document.getElementById('gfsi-open');\n      if (btn) {\n        btn.addEventListener('click', function(e) {\n          e.preventDefault();\n          launch();\n        });\n      }\n\n      setTimeout(launch, 250);\n    })();\n  <\/script>\n  [\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row row_height_percent=\u00a0\u00bb50&Prime; override_padding=\u00a0\u00bbyes\u00a0\u00bb h_padding=\u00a0\u00bb2&Prime; top_padding=\u00a0\u00bb2&Prime; bottom_padding=\u00a0\u00bb2&Prime; back_color=\u00a0\u00bbaccent\u00a0\u00bb back_image=\u00a0\u00bb145121&Prime; back_position=\u00a0\u00bbcenter bottom\u00a0\u00bb parallax=\u00a0\u00bbyes\u00a0\u00bb overlay_color=\u00a0\u00bbaccent\u00a0\u00bb overlay_alpha=\u00a0\u00bb35&Prime; overlay_color_blend=\u00a0\u00bbdarken\u00a0\u00bb gutter_size=\u00a0\u00bb3&Prime; column_width_percent=\u00a0\u00bb100&Prime; shift_y=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; content_parallax=\u00a0\u00bb0&Prime; uncode_shortcode_id=\u00a0\u00bb673280&Prime; [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rs_blank_template":"","rs_page_bg_color":"","slide_template_v7":"","footnotes":""},"class_list":["post-147469","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>V\u00e9rification d\u2019identit\u00e9 - CMRRA<\/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:\/\/cmrra.ca\/fr\/verify\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"V\u00e9rification d\u2019identit\u00e9 - CMRRA\" \/>\n<meta property=\"og:description\" content=\"[vc_row row_height_percent=\u00a0\u00bb50&Prime; override_padding=\u00a0\u00bbyes\u00a0\u00bb h_padding=\u00a0\u00bb2&Prime; top_padding=\u00a0\u00bb2&Prime; bottom_padding=\u00a0\u00bb2&Prime; back_color=\u00a0\u00bbaccent\u00a0\u00bb back_image=\u00a0\u00bb145121&Prime; back_position=\u00a0\u00bbcenter bottom\u00a0\u00bb parallax=\u00a0\u00bbyes\u00a0\u00bb overlay_color=\u00a0\u00bbaccent\u00a0\u00bb overlay_alpha=\u00a0\u00bb35&Prime; overlay_color_blend=\u00a0\u00bbdarken\u00a0\u00bb gutter_size=\u00a0\u00bb3&Prime; column_width_percent=\u00a0\u00bb100&Prime; shift_y=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; content_parallax=\u00a0\u00bb0&Prime; uncode_shortcode_id=\u00a0\u00bb673280&Prime; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cmrra.ca\/fr\/verify\/\" \/>\n<meta property=\"og:site_name\" content=\"CMRRA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CMRRA\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-19T15:59:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/verify\\\/\",\"url\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/verify\\\/\",\"name\":\"V\u00e9rification d\u2019identit\u00e9 - CMRRA\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#website\"},\"datePublished\":\"2026-08-19T15:58:52+00:00\",\"dateModified\":\"2026-08-19T15:59:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/verify\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cmrra.ca\\\/fr\\\/verify\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/verify\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cmrra.ca\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"V\u00e9rification d\u2019identit\u00e9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/\",\"name\":\"CMRRA\",\"description\":\"Canadian Music Reproduction Rights Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#organization\",\"name\":\"Canadian Musical Reproduction Rights Agency\",\"url\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ffb593fef5b9e79625346b2de7667ac0\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/cmrra-logo-50th-square.jpg\",\"contentUrl\":\"https:\\\/\\\/ffb593fef5b9e79625346b2de7667ac0\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/cmrra-logo-50th-square.jpg\",\"width\":696,\"height\":696,\"caption\":\"Canadian Musical Reproduction Rights Agency\"},\"image\":{\"@id\":\"https:\\\/\\\/cmrra.ca\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/CMRRA\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"V\u00e9rification d\u2019identit\u00e9 - CMRRA","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:\/\/cmrra.ca\/fr\/verify\/","og_locale":"fr_FR","og_type":"article","og_title":"V\u00e9rification d\u2019identit\u00e9 - CMRRA","og_description":"[vc_row row_height_percent=\u00a0\u00bb50&Prime; override_padding=\u00a0\u00bbyes\u00a0\u00bb h_padding=\u00a0\u00bb2&Prime; top_padding=\u00a0\u00bb2&Prime; bottom_padding=\u00a0\u00bb2&Prime; back_color=\u00a0\u00bbaccent\u00a0\u00bb back_image=\u00a0\u00bb145121&Prime; back_position=\u00a0\u00bbcenter bottom\u00a0\u00bb parallax=\u00a0\u00bbyes\u00a0\u00bb overlay_color=\u00a0\u00bbaccent\u00a0\u00bb overlay_alpha=\u00a0\u00bb35&Prime; overlay_color_blend=\u00a0\u00bbdarken\u00a0\u00bb gutter_size=\u00a0\u00bb3&Prime; column_width_percent=\u00a0\u00bb100&Prime; shift_y=\u00a0\u00bb0&Prime; z_index=\u00a0\u00bb0&Prime; content_parallax=\u00a0\u00bb0&Prime; uncode_shortcode_id=\u00a0\u00bb673280&Prime; [&hellip;]","og_url":"https:\/\/cmrra.ca\/fr\/verify\/","og_site_name":"CMRRA","article_publisher":"https:\/\/www.facebook.com\/CMRRA\/","article_modified_time":"2026-08-19T15:59:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cmrra.ca\/fr\/verify\/","url":"https:\/\/cmrra.ca\/fr\/verify\/","name":"V\u00e9rification d\u2019identit\u00e9 - CMRRA","isPartOf":{"@id":"https:\/\/cmrra.ca\/fr\/#website"},"datePublished":"2026-08-19T15:58:52+00:00","dateModified":"2026-08-19T15:59:35+00:00","breadcrumb":{"@id":"https:\/\/cmrra.ca\/fr\/verify\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cmrra.ca\/fr\/verify\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cmrra.ca\/fr\/verify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cmrra.ca\/fr\/"},{"@type":"ListItem","position":2,"name":"V\u00e9rification d\u2019identit\u00e9"}]},{"@type":"WebSite","@id":"https:\/\/cmrra.ca\/fr\/#website","url":"https:\/\/cmrra.ca\/fr\/","name":"CMRRA","description":"Canadian Music Reproduction Rights Agency","publisher":{"@id":"https:\/\/cmrra.ca\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cmrra.ca\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/cmrra.ca\/fr\/#organization","name":"Canadian Musical Reproduction Rights Agency","url":"https:\/\/cmrra.ca\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/cmrra.ca\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/ffb593fef5b9e79625346b2de7667ac0\/wp-content\/uploads\/2025\/12\/cmrra-logo-50th-square.jpg","contentUrl":"https:\/\/ffb593fef5b9e79625346b2de7667ac0\/wp-content\/uploads\/2025\/12\/cmrra-logo-50th-square.jpg","width":696,"height":696,"caption":"Canadian Musical Reproduction Rights Agency"},"image":{"@id":"https:\/\/cmrra.ca\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CMRRA\/"]}]}},"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/pages\/147469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/comments?post=147469"}],"version-history":[{"count":3,"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/pages\/147469\/revisions"}],"predecessor-version":[{"id":147472,"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/pages\/147469\/revisions\/147472"}],"wp:attachment":[{"href":"https:\/\/cmrra.ca\/fr\/wp-json\/wp\/v2\/media?parent=147469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}