{"id":65,"date":"2024-11-12T19:11:24","date_gmt":"2024-11-12T19:11:24","guid":{"rendered":"http:\/\/wordpress.complexeauto.ca\/blog\/?page_id=65"},"modified":"2024-11-22T20:20:59","modified_gmt":"2024-11-22T20:20:59","slug":"formulaire-de-paiement","status":"publish","type":"page","link":"https:\/\/www.complexeauto.ca\/index.php\/formulaire-de-paiement\/","title":{"rendered":"Formulaire de paiement"},"content":{"rendered":"\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<script type=\"text\/javascript\">var gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});<\/script>\n                <div class='gf_browser_gecko gform_wrapper gravity-theme gform-theme--no-framework' data-form-theme='gravity-theme' data-form-index='0' id='gform_wrapper_1' >\n                        <div class='gform_heading'>\n\t\t\t\t\t\t\t<p class='gform_required_legend'>\u00ab\u00a0<span class=\"gfield_required gfield_required_asterisk\">*<\/span>\u00a0\u00bb indique les champs n\u00e9cessaires<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data'  id='gform_1'  action='\/index.php\/wp-json\/wp\/v2\/pages\/65' data-formid='1' novalidate>\n                        <div class='gform-body gform_body'><div id='gform_fields_1' class='gform_fields top_label form_sublabel_below description_below validation_below'><div id=\"field_1_3\" class=\"gfield gfield--type-text gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_3\" ><label class='gfield_label gform-field-label' for='input_1_3'>Pr\u00e9nom<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_3' id='input_1_3' type='text' value='' class='large'     aria-required=\"true\" aria-invalid=\"false\"   \/><\/div><\/div><div id=\"field_1_1\" class=\"gfield gfield--type-text gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_1\" ><label class='gfield_label gform-field-label' for='input_1_1'>Nom<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_1' id='input_1_1' type='text' value='' class='large'     aria-required=\"true\" aria-invalid=\"false\"   \/><\/div><\/div><div id=\"field_1_5\" class=\"gfield gfield--type-email gfield--width-half gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_5\" ><label class='gfield_label gform-field-label' for='input_1_5'>Courriel<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_5' id='input_1_5' type='email' value='' class='large'    aria-required=\"true\" aria-invalid=\"false\"  \/>\n                        <\/div><\/div><div id=\"field_1_4\" class=\"gfield gfield--type-phone gfield--width-half field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_4\" ><label class='gfield_label gform-field-label' for='input_1_4'>T\u00e9l\u00e9phone (facultatif)<\/label><div class='ginput_container ginput_container_phone'><input name='input_4' id='input_1_4' type='tel' value='' class='large'    aria-invalid=\"false\"   \/><\/div><\/div><div id=\"field_1_7\" class=\"gfield gfield--type-product gfield--input-type-price gfield--width-full gfield_price gfield_price_1_7 gfield_product_1_7 gfield_contains_required field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_7\" ><label class='gfield_label gform-field-label' for='input_1_7'>Montant du paiement<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_product_price'>\n\t\t\t\t\t<input name='input_7' id='input_1_7' type='text' value='' class='large ginput_amount'   aria-required=\"true\" aria-invalid=\"false\"  \/>\n\t\t\t\t<\/div><\/div><fieldset id=\"field_1_8\" class=\"gfield gfield--type-creditcard gfield--width-full field_sublabel_above gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_8\" ><legend class='gfield_label gform-field-label gfield_label_before_complex' >Carte de cr\u00e9dit<\/legend><div class='ginput_complex ginput_container ginput_container_creditcard gform-grid-row' id='input_1_8'><span class='ginput_full gform-grid-col' id='input_1_8_1_container' >\n                                    <div class='gform_card_icon_container'><div class='gform_card_icon gform_card_icon_amex' >American Express<\/div><div class='gform_card_icon gform_card_icon_discover' >Discover<\/div><div class='gform_card_icon gform_card_icon_mastercard' >MasterCard<\/div><div class='gform_card_icon gform_card_icon_visa' >Visa<\/div><span class='screen-reader-text' id='field_1_8_supported_creditcards'>Cartes bancaires prises en charge\u00a0: American Express, Discover, MasterCard, Visa<\/span><\/div>\n                                    <label for='input_1_8_1' id='input_1_8_1_label' class='gform-field-label gform-field-label--type-sub '>Num\u00e9ro de carte<\/label>\n                                    <input type='text' name='input_8.1' id='input_1_8_1' value=''   onchange='gformMatchCard(\"input_1_8_1\");' onkeyup='gformMatchCard(\"input_1_8_1\");' autocomplete='off' pattern='[0-9]*' title='Seuls les chiffres sont autoris\u00e9s'  aria-required='false'  \/>\n                                 <\/span><span class='ginput_full ginput_cardextras gform-grid-col gform-grid-row' id='input_1_8_2_container'>\n                                            <fieldset class='ginput_cardinfo_left gform-grid-col' id='input_1_8_2_cardinfo_left'>\n                                            <legend class='gform-field-label gform-field-label--type-sub '>Date d\u2019expiration<\/legend>\n                                                <span class='ginput_card_expiration_container ginput_card_field gform-grid-row'>\n                                                   <span class='ginput_card_expiration_month_container gform-grid-col'>\n                                                       <label for='input_1_8_2_month' class='gform-field-label gform-field-label--type-sub screen-reader-text'>Mois<\/label>\n                                                       <select name='input_8.2[]' id='input_1_8_2_month'   class='ginput_card_expiration ginput_card_expiration_month' aria-required='false'  >\n                                                           <option value=''>Mois<\/option><option value='1' >01<\/option><option value='2' >02<\/option><option value='3' >03<\/option><option value='4' >04<\/option><option value='5' >05<\/option><option value='6' >06<\/option><option value='7' >07<\/option><option value='8' >08<\/option><option value='9' >09<\/option><option value='10' >10<\/option><option value='11' >11<\/option><option value='12' >12<\/option>\n                                                       <\/select>\n                                                   <\/span>\n                                                   <span class='ginput_card_expiration_year_container gform-grid-col'>\n                                                       <label for='input_1_8_2_year' class='gform-field-label gform-field-label--type-sub screen-reader-text'>Ann\u00e9e<\/label>\n                                                       <select name='input_8.2[]' id='input_1_8_2_year'   class='ginput_card_expiration ginput_card_expiration_year' aria-required='false'  >\n                                                           <option value=''>Ann\u00e9e<\/option><option value='2026' >2026<\/option><option value='2027' >2027<\/option><option value='2028' >2028<\/option><option value='2029' >2029<\/option><option value='2030' >2030<\/option><option value='2031' >2031<\/option><option value='2032' >2032<\/option><option value='2033' >2033<\/option><option value='2034' >2034<\/option><option value='2035' >2035<\/option><option value='2036' >2036<\/option><option value='2037' >2037<\/option><option value='2038' >2038<\/option><option value='2039' >2039<\/option><option value='2040' >2040<\/option><option value='2041' >2041<\/option><option value='2042' >2042<\/option><option value='2043' >2043<\/option><option value='2044' >2044<\/option><option value='2045' >2045<\/option>\n                                                       <\/select>\n                                                   <\/span>\n                                                <\/span>\n                                            <\/fieldset><span class='ginput_cardinfo_right gform-grid-col' id='input_1_8_2_cardinfo_right'>\n                                                <label for='input_1_8_3' class='gform-field-label gform-field-label--type-sub '>Code de s\u00e9curit\u00e9 (CVC)<\/label>\n                                                <input type='text' name='input_8.3' id='input_1_8_3'   class='ginput_card_security_code' value='' autocomplete='off' pattern='[0-9]*' title='Seuls les chiffres sont autoris\u00e9s'  aria-required='false'  \/>\n                                                <span class='ginput_card_security_code_icon'>&nbsp;<\/span>\n                                             <\/span>\n                                        <\/span><span class='ginput_full gform-grid-col' id='input_1_8_5_container'>\n                                            <label for='input_1_8_5' id='input_1_8_5_label' class='gform-field-label gform-field-label--type-sub '>Nom du titulaire de la carte<\/label>\n                                            <input type='text' name='input_8.5' id='input_1_8_5' value=''    aria-required='false'  \/>\n                                        <\/span> <\/div><\/fieldset><div id=\"field_1_6\" class=\"gfield gfield--type-total gfield--width-full gfield_price gfield_price_1_ gfield_total gfield_total_1_ field_sublabel_below gfield--no-description field_description_below field_validation_below gfield_visibility_visible\"  aria-atomic=\"true\" aria-live=\"polite\" data-js-reload=\"field_1_6\" ><label class='gfield_label gform-field-label' for='input_1_6'>Total<\/label><div class='ginput_container ginput_container_total'>\n\t\t\t\t\t\t\t<input type='text' readonly name='input_6' id='input_1_6' value='$ 0.00 CAD' class='gform-text-input-reset ginput_total ginput_total_1' \/>\n\t\t\t\t\t\t<\/div><\/div><div id=\"field_1_9\" class=\"gfield gfield--type-honeypot gform_validation_container field_sublabel_below gfield--has-description field_description_below field_validation_below gfield_visibility_visible\"  data-js-reload=\"field_1_9\" ><label class='gfield_label gform-field-label' for='input_1_9'>Comments<\/label><div class='ginput_container'><input name='input_9' id='input_1_9' type='text' value='' autocomplete='new-password'\/><\/div><div class='gfield_description' id='gfield_description_1_9'>Ce champ n\u2019est utilis\u00e9 qu\u2019\u00e0 des fins de validation et devrait rester inchang\u00e9.<\/div><\/div><\/div><\/div>\n        <div class='gform-footer gform_footer top_label'> <input type='submit' id='gform_submit_button_1' class='gform_button button' onclick='gform.submission.handleButtonClick(this)' value='Proc\u00e9der au paiement'  \/> \n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_1' value='postback' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_1' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='1' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_1' value='WyJbXSIsIjYyYmZiNjVkMThhMmQwMWUyMmYxZWRiYWY1ZmZhMDM3Il0=' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_1' id='gform_target_page_number_1' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_1' id='gform_source_page_number_1' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div><script type=\"text\/javascript\">\n\/* <![CDATA[ *\/\n gform.initializeOnLoaded( function() {gformInitSpinner( 1, 'https:\/\/www.complexeauto.ca\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery('#gform_ajax_frame_1').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_1');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_1').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_1').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_1').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_1').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/  }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_1').val();gformInitSpinner( 1, 'https:\/\/www.complexeauto.ca\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [1, current_page]);window['gf_submitting_1'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_1').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [1]);window['gf_submitting_1'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_1').text());}else{jQuery('#gform_1').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger(\"gform_pre_post_render\", [{ formId: \"1\", currentPage: \"current_page\", abort: function() { this.preventDefault(); } }]);                if (event && event.defaultPrevented) {                return;         }        const gformWrapperDiv = document.getElementById( \"gform_wrapper_1\" );        if ( gformWrapperDiv ) {            const visibilitySpan = document.createElement( \"span\" );            visibilitySpan.id = \"gform_visibility_test_1\";            gformWrapperDiv.insertAdjacentElement( \"afterend\", visibilitySpan );        }        const visibilityTestDiv = document.getElementById( \"gform_visibility_test_1\" );        let postRenderFired = false;                function triggerPostRender() {            if ( postRenderFired ) {                return;            }            postRenderFired = true;            jQuery( document ).trigger( 'gform_post_render', [1, current_page] );            gform.utils.trigger( { event: 'gform\/postRender', native: false, data: { formId: 1, currentPage: current_page } } );            gform.utils.trigger( { event: 'gform\/post_render', native: false, data: { formId: 1, currentPage: current_page } } );            if ( visibilityTestDiv ) {                visibilityTestDiv.parentNode.removeChild( visibilityTestDiv );            }        }        function debounce( func, wait, immediate ) {            var timeout;            return function() {                var context = this, args = arguments;                var later = function() {                    timeout = null;                    if ( !immediate ) func.apply( context, args );                };                var callNow = immediate && !timeout;                clearTimeout( timeout );                timeout = setTimeout( later, wait );                if ( callNow ) func.apply( context, args );            };        }        const debouncedTriggerPostRender = debounce( function() {            triggerPostRender();        }, 200 );        if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) {            const observer = new MutationObserver( ( mutations ) => {                mutations.forEach( ( mutation ) => {                    if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) {                        debouncedTriggerPostRender();                        observer.disconnect();                    }                });            });            observer.observe( document.body, {                attributes: true,                childList: false,                subtree: true,                attributeFilter: [ 'style', 'class' ],            });        } else {            triggerPostRender();        }    } );} ); \n\/* ]]> *\/\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-65","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/pages\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/comments?post=65"}],"version-history":[{"count":4,"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/pages\/65\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/pages\/65\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/www.complexeauto.ca\/index.php\/wp-json\/wp\/v2\/media?parent=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}