{"id":13014,"date":"2026-07-03T06:56:53","date_gmt":"2026-07-03T06:56:53","guid":{"rendered":"https:\/\/print2buy.com\/sign-in-with-whatsapp\/"},"modified":"2026-07-03T06:56:53","modified_gmt":"2026-07-03T06:56:53","slug":"sign-in-with-whatsapp","status":"publish","type":"page","link":"https:\/\/print2buy.com\/en\/sign-in-with-whatsapp\/","title":{"rendered":"Sign in with WhatsApp"},"content":{"rendered":"\t\t<div class=\"p2b-plogin\" style=\"max-width:420px;margin:0 auto\">\n\t\t\t\n\t\t\t<div id=\"p2b_pl_step1\">\n\t\t\t\t\t<p><label>Your phone (WhatsApp)<br \/>\n\t\t\t\t\t\t<input type=\"tel\" id=\"p2b_pl_phone\" placeholder=\"07xx xxx xxxx\" style=\"width:100%\" autocomplete=\"tel\" \/><\/label><\/p>\n\t\t\t\t\t<p><button type=\"button\" class=\"button\" id=\"p2b_pl_send\" style=\"width:100%;padding:11px\">Send WhatsApp code<\/button><\/p>\n\t\t\t\t<\/div>\n\t\t\t\t<div id=\"p2b_pl_step2\" style=\"display:none\">\n\t\t\t\t\t<p><label>Enter the code<br \/>\n\t\t\t\t\t\t<input type=\"text\" id=\"p2b_pl_code\" inputmode=\"numeric\" maxlength=\"8\" style=\"width:100%;text-align:center;letter-spacing:6px;font-size:22px\" autocomplete=\"one-time-code\" \/><\/label><\/p>\n\t\t\t\t\t<p><button type=\"button\" class=\"button\" id=\"p2b_pl_check\" style=\"width:100%;padding:11px\">Verify &amp; sign in<\/button><\/p>\n\t\t\t\t<\/div>\n\t\t\t\t<p id=\"p2b_pl_msg\" style=\"min-height:1.4em;font-size:13.5px\"><\/p>\n\t\t\t\t<form method=\"post\" action=\"https:\/\/print2buy.com\/wp-admin\/admin-post.php\" id=\"p2b_pl_finish\" style=\"display:none\">\n\t\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"p2b_phone_login_finish\" \/>\n\t\t\t\t\t<input type=\"hidden\" name=\"phone\" id=\"p2b_pl_fphone\" value=\"\" \/>\n\t\t\t\t\t<input type=\"hidden\" name=\"proof\" id=\"p2b_pl_fproof\" value=\"\" \/>\n\t\t\t\t\t<input type=\"hidden\" id=\"p2b_plogin_nonce\" name=\"p2b_plogin_nonce\" value=\"26f82f4944\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/13014\" \/>\t\t\t\t<\/form>\n\t\t\t\t<script>\n\t\t\t\t( function () {\n\t\t\t\t\tvar ajax = \"https:\\\/\\\/print2buy.com\\\/wp-admin\\\/admin-ajax.php\", nonce = \"7b732a188a\";\n\t\t\t\t\tvar lang = \"en\";\n\t\t\t\t\tfunction $( i ) { return document.getElementById( i ); }\n\t\t\t\t\tfunction call( action, data, done ) {\n\t\t\t\t\t\tvar fd = new FormData();\n\t\t\t\t\t\tfd.append( 'action', action ); fd.append( 'nonce', nonce ); fd.append( 'lang', lang );\n\t\t\t\t\t\tObject.keys( data ).forEach( function ( k ) { fd.append( k, data[ k ] ); } );\n\t\t\t\t\t\tfetch( ajax, { method: 'POST', body: fd, credentials: 'same-origin' } )\n\t\t\t\t\t\t\t.then( function ( r ) { return r.json(); } ).then( done )\n\t\t\t\t\t\t\t.catch( function () { done( { success: false } ); } );\n\t\t\t\t\t}\n\t\t\t\t\t$( 'p2b_pl_send' ).addEventListener( 'click', function () {\n\t\t\t\t\t\tvar b = this; b.disabled = true;\n\t\t\t\t\t\tcall( 'p2b_gotp_send', { phone: $( 'p2b_pl_phone' ).value }, function ( r ) {\n\t\t\t\t\t\t\tb.disabled = false;\n\t\t\t\t\t\t\t$( 'p2b_pl_msg' ).textContent = ( r && r.data && r.data.message ) || '\u2026';\n\t\t\t\t\t\t\tif ( r && r.success ) { $( 'p2b_pl_step2' ).style.display = 'block'; $( 'p2b_pl_code' ).focus(); }\n\t\t\t\t\t\t} );\n\t\t\t\t\t} );\n\t\t\t\t\t$( 'p2b_pl_check' ).addEventListener( 'click', function () {\n\t\t\t\t\t\tvar b = this; b.disabled = true;\n\t\t\t\t\t\tcall( 'p2b_gotp_verify', { phone: $( 'p2b_pl_phone' ).value, code: $( 'p2b_pl_code' ).value }, function ( r ) {\n\t\t\t\t\t\t\tb.disabled = false;\n\t\t\t\t\t\t\t$( 'p2b_pl_msg' ).textContent = ( r && r.data && r.data.message ) || '\u2026';\n\t\t\t\t\t\t\tif ( r && r.success ) {\n\t\t\t\t\t\t\t\t$( 'p2b_pl_fphone' ).value = $( 'p2b_pl_phone' ).value;\n\t\t\t\t\t\t\t\t$( 'p2b_pl_fproof' ).value = ( r.data && r.data.proof ) || '';\n\t\t\t\t\t\t\t\t$( 'p2b_pl_finish' ).submit();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} );\n\t\t\t\t}() );\n\t\t\t\t<\/script>\n\t\t<\/div>\n\t\t\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-13014","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/pages\/13014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/comments?post=13014"}],"version-history":[{"count":0,"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/pages\/13014\/revisions"}],"wp:attachment":[{"href":"https:\/\/print2buy.com\/en\/wp-json\/wp\/v2\/media?parent=13014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}