# I followed the Walkthrough but met the err 500

**URL:** <https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482>\
**Category:** Questions\
**Created:** [May 6, 2021, 6:30am UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482 "2021-05-06T06:30:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yulia](https://avatars.discourse-cdn.com/v4/letter/y/ecb155/32.png) [@Yulia](https://developer.squareup.com/forums/u/Yulia)\
**Post date:** [May 6, 2021, 6:30am UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482/1 "2021-05-06T06:30:26Z")

</div>

Hi,

I followed this instruction: [https://developer.squareup.com/docs/payment-form/payment-form-walkthrough](https://developer.squareup.com/docs/payment-form/payment-form-walkthrough)

But I’m failed and have no idea on where to check the log. Please advice. Thanks!

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [May 6, 2021, 3:24pm UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482/2 "2021-05-06T15:24:43Z")

</div>

Hi @Yulia welcome to the forums!

Can you clarify where you’re seeing the error 500? The code in the walkthrough should be printing out the successful payment or the error, I believe. Feel free to provide your Square app id and I can try taking a look at the logs on our side as well.

---

<div class="post-metadata">

**Author:** ![Yulia](https://avatars.discourse-cdn.com/v4/letter/y/ecb155/32.png) [@Yulia](https://developer.squareup.com/forums/u/Yulia)\
**Post date:** [May 6, 2021, 10:02pm UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482/3 "2021-05-06T22:02:08Z")

</div>

Hi sjosey,

This line below popups the failure status.  
alert(‘Payment failed to complete!\nCheck browser developer console for more details’);

And I checked the console. it shows  
 ![image](https://global.discourse-cdn.com/square/original/1X/8f3295092a65f61de201c70f0b28fb5e00e89a18.png)

My square app id is sandbox-sq0idb-b0c0E9guIyHD3POQu-x5Fw

Thank you! Really appreciate it!

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [May 7, 2021, 3:42pm UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482/4 "2021-05-07T15:42:43Z")

</div>

If you expand “result” it should show you the cause of the failure. Looking it up in our logs, though, the error is:

```auto
"This business can only process payments in AUD but amount was provided in USD."

```

so you need to change “USD” to “AUD” in the `CreatePayment` request.

---

<div class="post-metadata">

**Author:** ![Yulia](https://avatars.discourse-cdn.com/v4/letter/y/ecb155/32.png) [@Yulia](https://developer.squareup.com/forums/u/Yulia)\
**Post date:** [May 8, 2021, 6:03am UTC](https://developer.squareup.com/forums/t/i-followed-the-walkthrough-but-met-the-err-500/2482/5 "2021-05-08T06:03:16Z")

</div>

Thank you!!! Totally ignored there was an “expand” symbol…
