{"id":12706,"date":"2023-05-05T16:28:04","date_gmt":"2023-05-05T10:58:04","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=12706"},"modified":"2023-05-05T16:28:04","modified_gmt":"2023-05-05T10:58:04","slug":"configure-magento-square-sandbox-mode","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-square-payment-gateway-extension\/configure-magento-square-sandbox-mode\/","title":{"rendered":"Configure Magento with Square &#8211; Sandbox Mode"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Go to the Square App you have created from your Square Account. Select <\/span><b>Sandbox<\/b><span style=\"font-weight: 400;\"> from the top and then select <\/span><b>Credentials<\/b><span style=\"font-weight: 400;\"> from the left sidebar.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You will get a <\/span><b>Sandbox Application ID<\/b><span style=\"font-weight: 400;\"> and <\/span><b>Sandbox Access Token<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-12707\" title=\"Square Application ID and Access Token Sandbox Mode Square Payment\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Square-Application-ID-and-Access-Token-Sandbox-Mode-Square-Payment.png\" alt=\"Square Application ID and Access Token Sandbox Mode Square Payment\" width=\"1366\" height=\"622\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Square-Application-ID-and-Access-Token-Sandbox-Mode-Square-Payment.png 1366w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Square-Application-ID-and-Access-Token-Sandbox-Mode-Square-Payment-300x137.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Square-Application-ID-and-Access-Token-Sandbox-Mode-Square-Payment-1024x466.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Square-Application-ID-and-Access-Token-Sandbox-Mode-Square-Payment-768x350.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now head on to your Magento store admin. Go to <\/span><b>Stores &gt; Configuration<\/b><span style=\"font-weight: 400;\">. Under the <\/span><b>MageComp<\/b><span style=\"font-weight: 400;\"> tab, select the <\/span><b>Squareup<\/b><span style=\"font-weight: 400;\"> tab. Expand the <\/span><b>General Configuration <\/b><span style=\"font-weight: 400;\">option.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12708\" title=\"General Configuration Sandbox Mode\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/General-Configuration-Sandbox-Mode.png\" alt=\"General Configuration Sandbox Mode\" width=\"1227\" height=\"343\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/General-Configuration-Sandbox-Mode.png 1227w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/General-Configuration-Sandbox-Mode-300x84.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/General-Configuration-Sandbox-Mode-1024x286.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/General-Configuration-Sandbox-Mode-768x215.png 768w\" sizes=\"(max-width: 1227px) 100vw, 1227px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Application Mode &#8211;<\/b><span style=\"font-weight: 400;\"> Select the Sandbox option for testing payments through Square.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Sandbox Application ID &#8211;<\/b><span style=\"font-weight: 400;\"> Copy the Sandbox Application ID from the Square account and paste it here.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Sandbox Access Token &#8211;<\/b><span style=\"font-weight: 400;\"> Copy the Sandbox Access Token from the Square account and paste it here.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Click on the <\/span><b>Save Config<\/b><span style=\"font-weight: 400;\"> button.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now, expand the <\/span><b>Oauth Configuration <\/b><span style=\"font-weight: 400;\">option.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12709\" title=\"Oauth Configuration Sandbox Mode\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Oauth-Configuration-Sandbox-Mode.png\" alt=\"Oauth Configuration Sandbox Mode\" width=\"916\" height=\"205\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Oauth-Configuration-Sandbox-Mode.png 916w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Oauth-Configuration-Sandbox-Mode-300x67.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/05\/Oauth-Configuration-Sandbox-Mode-768x172.png 768w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Get Sandbox Location &#8211;<\/b><span style=\"font-weight: 400;\"> Click the Get OAuth Token button to retrieve the location.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Sandbox Location &#8211;<\/b><span style=\"font-weight: 400;\"> Select the location from the dropdown.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Again hit the <\/span><b>Save Config<\/b><span style=\"font-weight: 400;\"> button to apply your configuration settings.<\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":4958,"menu_order":3,"template":"","manualdocumentationcategory":[2467],"manual_doc_tag":[],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12706"}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12706\/revisions"}],"predecessor-version":[{"id":12710,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12706\/revisions\/12710"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/4958"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=12706"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=12706"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=12706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}