{"id":482,"date":"2019-11-01T07:46:45","date_gmt":"2019-11-01T07:46:45","guid":{"rendered":"https:\/\/help.foosales.com\/docs\/frequently-asked-questions\/setup\/im-having-trouble-logging-into-foosales\/"},"modified":"2024-11-27T09:57:16","modified_gmt":"2024-11-27T16:57:16","slug":"mam-potize-s-prihlasenim-do-foosales","status":"publish","type":"docs","link":"https:\/\/help.foosales.com\/cs\/docs\/frequently-asked-questions\/setup\/im-having-trouble-logging-into-foosales\/","title":{"rendered":"M\u00e1m pot\u00ed\u017ee s p\u0159ihl\u00e1\u0161en\u00edm do FooSales?"},"content":{"rendered":"<h3>Common Issues:<\/h3>\n<ol>\n<li><a href=\"#1-have-you-installed-and-activated-the-foosales-wordpress-plugin\">Have you installed and activated the FooSales WordPress plugin?<\/a><\/li>\n<li><a href=\"#2-was-your-url-entered-correctly\">Was your URL entered correctly?<\/a><\/li>\n<li><a href=\"#3-did-you-enter-the-correct-username-and-password\">Did you enter the correct username and password?<\/a><\/li>\n<li><a href=\"#4-does-the-wordpress-user-have-appropriate-permissions\">Does the WordPress user have appropriate permissions?<\/a><\/li>\n<li><a href=\"#5-do-you-have-any-security-plugins-installed\">Do you have any security plugins installed?<\/a><\/li>\n<li><a href=\"#6-do-you-use-a-captcha-plugin\">Do you use a CAPTCHA plugin?<\/a><\/li>\n<li><a href=\"#7-is-rest-api-accessible\">Is REST API accessible?<\/a><\/li>\n<li><a href=\"#8-is-your-site-installed-in-a-subdirectory-of-another-wordpress\">Is your site installed in a subdirectory of another WordPress site?<\/a><\/li>\n<li><a href=\"#9-do-you-have-a-wordpress-com-site-instead-of-a-self-hosted-word\">Do you have a WordPress.com site instead of a self-hosted WordPress site?<\/a><\/li>\n<\/ol>\n<h3>1. Have you installed and activated the FooSales WordPress plugin?<\/h3>\n<p>The <a href=\"https:\/\/www.foosales.com\/downloads\/wordpress-plugin\/\" target=\"_blank\" rel=\"noopener\">FooSales WordPress plugin<\/a> needs to first be installed on your web store and <em>remain activated<\/em> in order to login to the FooSales POS apps.<\/p>\n<h3>2. Was your URL entered correctly?<\/h3>\n<p><span style=\"font-weight: 400;\">Ensure that your website URL is entered exactly as it appears in your web browser&#8217;s address bar.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-53958\" src=\"https:\/\/help.foosales.com\/wp-content\/uploads\/2019\/11\/foosales-url-1.png\" alt=\"\" width=\"487\" height=\"140\" title=\"\" srcset=\"https:\/\/help.foosales.com\/wp-content\/uploads\/2019\/11\/foosales-url-1.png 487w, https:\/\/help.foosales.com\/wp-content\/uploads\/2019\/11\/foosales-url-1-300x86.png 300w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/p>\n<ol>\n<li>Did you specify the correct protocol (including <strong>https:\/\/<\/strong>)?<\/li>\n<li>Does your website URL start with &#8216;<strong>www<\/strong>&#8216; or does it <em>exclude<\/em> &#8216;<strong>www<\/strong>&#8216;?<\/li>\n<li>Does your website URL have a trailing slash at the end (<strong>\/<\/strong>)?<\/li>\n<\/ol>\n<p>You can find the exact URL that you need to enter in your <strong>WordPress admin area<\/strong>.<br \/>\nGo to <strong>Settings<\/strong> &gt; <strong>General<\/strong> &gt; <strong>WordPress Address (URL)<\/strong><\/p>\n<h3>3. Did you enter the correct username and password?<\/h3>\n<p>FooSales uses the same <strong>WordPress username and password<\/strong> that you use to connect to your website. Please ensure that you entered your username and password correctly and that you did not enter your <strong>FooSales Account<\/strong> login details instead.<\/p>\n<h3>4. Does the WordPress user have appropriate permissions?<\/h3>\n<p>By default, access to the FooSales web and tablet apps is restricted to users with the \u201c<strong>Administrator<\/strong>\u201d or \u201c<strong>Cashier<\/strong>\u201d user roles, or\u00a0any user with \u201c<strong>publish FooSales<\/strong>\u201d permission. You can find out more about <a href=\"https:\/\/help.foosales.com\/docs\/frequently-asked-questions\/setup\/what-role-user-permission-do-i-need-to-log-into-foosales\/\">managing user roles and permissions<\/a> using a free third-party plugin.<\/p>\n<h3>5. Do you have any security plugins installed?<\/h3>\n<p>FooSales uses an API to connect to your WordPress site. It is very possible that your security plugin is blocking API access to your site. To test if this is the case, temporarily disable any <em>security<\/em> related plugins such as <strong>Wordfence<\/strong> and <strong>iThemes Security<\/strong> to see if it is blocking access.<\/p>\n<p>If your security plugin is blocking access to FooSales, please try adding the IP address of your tablet device to your security plugin&#8217;s whitelist\/allowlist. If you are using the FooSales web app, please add the following IP address: <strong><em>188.40.1.115<\/em><\/strong><\/p>\n<p>If you are still experiencing problems, please also make sure that <strong>two-factor authentication (2FA)<\/strong> is not enabled.<\/p>\n<h3>6. Do you use a CAPTCHA plugin?<\/h3>\n<p>If you are using a <em>CAPTCHA<\/em> plugin, please ensure that CAPTCHA is not applied to WordPress logins.<\/p>\n<p>If you are using the <strong>Advanced noCaptcha &amp; invisible captcha Settings<\/strong> plugin, you can disable CAPTCHA on the login form via the plugins settings. Login to your <strong>WordPress admin area<\/strong>, go to <strong>Settings<\/strong> &gt;<strong> Advanced noCaptcha &amp; invisible captcha Settings<\/strong> &gt; <strong>Enabled Forms<\/strong> &gt; <strong>Login Form<\/strong> and ensure <strong>Login Form<\/strong> is not checked.<\/p>\n<h3>7. Is REST API accessible?<\/h3>\n<p><span style=\"font-weight: 400;\">Make sure that your website&#8217;s <strong>REST API<\/strong> is accessible by entering the following address in your web browser: &#8216;www.YOURWEBSITE.com\/wp-json\/foosales\/v4&#8217;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You should see a screen that displays code which starts with <code style=\"background-color: #fff2e0;\">{\"namespace\":\"foosales\\\/v4\",\"routes\":<\/code> as opposed to an error page such as <em>404 file not found<\/em> which indicates that something is wrong with your server configuration or the <strong>REST API<\/strong> is blocked.<\/span><\/p>\n<p><strong>If you site is installed in the subfolder of another WordPress site, please proceed to <a href=\"https:\/\/help.foosales.com\/docs\/frequently-asked-questions\/setup\/im-having-trouble-logging-into-foosales\/#8-is-your-site-installed-in-a-subdirectory-of-another-wordpress\">section #8<\/a>.<\/strong><\/p>\n<p>If you are using the &#8220;Plain&#8221; permalink structure please consider one of the other options instead. The &#8220;Plain&#8221; permalink structure uses a different REST API path which the FooSales app does not currently support. You can change this setting if you go to <b>Settings &gt; Permalinks<\/b> and choose e.g. &#8220;Post name&#8221; instead.<\/p>\n<p>If the REST API is not accessible, the app will try to connect using the less preferred <strong>XML-RPC<\/strong> connection. Ask your hosting company to confirm that there are no security restrictions on the \u2018xmlrpc.php\u2019 file which is part of WordPress and advise if the IP address of your device has been blocked from connecting to your site<\/p>\n<p>If you still experience issues, please contact <a href=\"https:\/\/help.foosales.com\/contact\/support\/?subject=XML-RPC%20Connectivity%20Issues\"><span style=\"font-weight: 400;\">FooSales Technical Support<\/span><\/a> and include as much detail as possible so we can get back to you with other possible solutions<span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3>8. Is your site installed in a subdirectory of another WordPress site?<\/h3>\n<p>If your site is installed in a subdirectory of another WordPress site, then the .htaccess files of your subdirectory might cause permalinks conflict, making the REST API inaccessible.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<ul>\n<li>Main WordPress site: https:\/\/www.example.com\/<\/li>\n<li>Your test WordPress site: https:\/\/www.example.com\/testsite\/<\/li>\n<\/ul>\n<p>To solve this, you need to edit the .htaccess file in your subdirectory WordPress install. Replace the code inside your .htaccess file with the following code:<\/p>\n<pre># BEGIN WordPress\r\nRewriteEngine On\r\nRewriteBase \/your-subdirectory\/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/subdirectory\/index.php [L]\r\n# END WordPress<\/pre>\n<p>Ensure that you replace <em>\/subdirectory\/<\/em> with your own subdirectory name.<\/p>\n<h3>9. Do you have a WordPress.com site instead of a self-hosted WordPress site?<\/h3>\n<p>FooSales is compatible with <a href=\"https:\/\/wordpress.com\/\" target=\"_blank\" rel=\"noopener\">WordPress.com<\/a> sites, however, you will not be able to login to the FooSales apps using a WordPress.com user account. You will need to create a classic WordPress user with an administrator or cashier user role as outlined in <a href=\"https:\/\/help.foosales.com\/docs\/frequently-asked-questions\/setup\/how-to-set-up-a-classic-wordpress-com-user\/\">this help guide<\/a>. Please also ensure that your site is set to public\/launched.<\/p>\n<p class=\"notice\">If you have tried all the troubleshooting steps above and you are still experiencing a connection issue, please contact <a class=\"\" href=\"https:\/\/help.foosales.com\/contact\/support\/?subject=XML-RPC%20Connectivity%20Issues\">FooSales Technical Support<\/a> and provide as much detail as possible so we can get back to you with other possible solutions.<\/p>\n","protected":false},"featured_media":0,"parent":143,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","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":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"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":""},"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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"doc_tag":[276,194,195,190,44,45,46,189,32,21,277,188,330],"class_list":["post-482","docs","type-docs","status-publish","hentry","doc_tag-2fa","doc_tag-advanced-nocaptcha","doc_tag-captcha","doc_tag-connect","doc_tag-connection","doc_tag-error","doc_tag-issue","doc_tag-ithemes-security","doc_tag-login","doc_tag-rest-api","doc_tag-two-factor-authentication","doc_tag-wordfence","doc_tag-wordpress-com"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs\/482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/comments?post=482"}],"version-history":[{"count":0,"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs\/482\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs\/143"}],"next":[{"title":"Jak\u00e9 jsou syst\u00e9mov\u00e9 po\u017eadavky pro pou\u017eit\u00ed FooSales?","link":"https:\/\/help.foosales.com\/cs\/docs\/frequently-asked-questions\/setup\/what-are-the-system-requirements-to-use-foosales\/","href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs\/475"}],"prev":[{"title":"Nemohu p\u0159istupovat k FooSales kv\u016fli chyb\u011b p\u0159\u00edstupu k souboru XML-RPC?","link":"https:\/\/help.foosales.com\/cs\/docs\/frequently-asked-questions\/setup\/im-unable-to-access-foosales-due-to-a-xml-rpc-file-access-error\/","href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/docs\/481"}],"wp:attachment":[{"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/media?parent=482"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.foosales.com\/cs\/wp-json\/wp\/v2\/doc_tag?post=482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}