# applicationID and/or locationId is incorrect

**URL:** <https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628>\
**Category:** Questions\
**Tags:** sandbox\
**Created:** [September 22, 2021, 7:05pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628 "2021-09-22T19:05:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![orthodoxws](https://avatars.discourse-cdn.com/v4/letter/o/22d042/32.png) [@orthodoxws](https://developer.squareup.com/forums/u/orthodoxws)\
**Post date:** [September 22, 2021, 7:05pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/1 "2021-09-22T19:05:48Z")

</div>

I am using the Web Payments SDK Quickstart and although I enter the Sandbox Application ID, Location ID and SQUARE\_ACCESS\_TOKEN from the Sandbox Developer backend, I am getting the following error when trying to load the Card example:

applicationID and/or locationId is incorrect

I

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [September 22, 2021, 9:44pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/2 "2021-09-22T21:44:32Z")

</div>

With the quickstart you do have to configure the credentials for each example and honestly I’ve even miss configured mine. If you are using the `Card` example are you sure that is configured correctly? 🙂

---

<div class="post-metadata">

**Author:** ![orthodoxws](https://avatars.discourse-cdn.com/v4/letter/o/22d042/32.png) [@orthodoxws](https://developer.squareup.com/forums/u/orthodoxws)\
**Post date:** [September 23, 2021, 3:25pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/3 "2021-09-23T15:25:56Z")

</div>

Thanks for the reply. Yes I’ve configured it. Here’s what I’ve got:

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [September 23, 2021, 4:05pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/4 "2021-09-23T16:05:56Z")

</div>

Thanks for providing the image. For future reference please don’t share your access token. The applicationId and locationId are okay to share but the access token is secrete.

Looking at the image you provided I see that you are trying to use the network instead of localhost. Unfortunately, the network isn’t available with the quickstart and that isn’t something that the team can remove when you start the server. 🙂

---

<div class="post-metadata">

**Author:** ![orthodoxws](https://avatars.discourse-cdn.com/v4/letter/o/22d042/32.png) [@orthodoxws](https://developer.squareup.com/forums/u/orthodoxws)\
**Post date:** [September 23, 2021, 7:53pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/5 "2021-09-23T19:53:29Z")

</div>

I’m sorry. I don’t understand how I cannot use the network instead of localhost.

I am looking to use Square to process credit card charges after a customer goes through a shopping cart process on our website. All we need is a payment form. Our shopping cart is PHP and Javascript. Would you please let me know where I should start? I thought that the quickstart would be the right place.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [September 23, 2021, 8:45pm UTC](https://developer.squareup.com/forums/t/applicationid-and-or-locationid-is-incorrect/3628/6 "2021-09-23T20:45:25Z")

</div>

With the quickstart Micro is a 3rd party library that is used and it displays the network under localhost. The example doesn’t support the ![Screen Shot 2021-09-23 at 1.42.27 PM](https://global.discourse-cdn.com/square/original/1X/e8e6f8ed81b7dd3ed580c0ad993fcacbba4c0a6a.png) test. You should test the integration using `http://localhost:3000` or deploy your application to test. 🙂
