[Skip to main content](#vessel-content)

#   Square Payments - Production mode payments failing

##

- **[bluetonguedesigns](/forum/user/4156-bluetonguedesigns "View bluetonguedesigns's Profile")**
- [![bluetonguedesigns's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4156.png)](/forum/user/4156-bluetonguedesigns "View bluetonguedesigns's Profile") Topic Author
- [ Offline](/forum/user/4156-bluetonguedesigns)

Less More

- Posts: 121
- Thank you received: 0
-
-
-

5 years 2 weeks ago [\#337160](#337160) by [bluetonguedesigns](/forum/user/4156-bluetonguedesigns "View bluetonguedesigns's Profile")  *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337160 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")* was created by *[bluetonguedesigns](/forum/user/4156-bluetonguedesigns "View bluetonguedesigns's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 3.10.3
-- PHP version -- : 7.4.25
-- Browser(s) name and version -- : Firefox latest
-- Error-message(debug-mod must be tuned on) -- : Square payment issue

Sandbox mode worked fine. Now trying production payment tests and fails.

Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.

Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.

Still fails.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")**
- [![Tsuki Dev's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34574.png)](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")
- [ Offline](/forum/user/34574-tsuki-dev)
- Inspired web agency - Official Hikashop partner

Less More

- Posts: 145
- Thank you received: 35
-
- [](https://tsukidev.com/)
-

5 years 2 weeks ago [\#337179](#337179) by [Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")  Replied by *[Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337179 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Hello,

That issue is probably coming from the fact that the api credentials inserted through your Square configuration payment page via "Hikashop-&gt;System-&gt;Payment methods" are not correct for a production environment.

Can you check again the credentials you used and if you're still having that issue, can you send us a temporary back-end access via email at *tsukidev.contact\[at\]gmail\[dot\]com* so that we can directly test and debug it ? Thank you.

Kind regards,
Mohamed.
[ Tsuki Dev](http://tsukidev.com/)
*tsukidev.contact\[at\]gmail\[dot\]com*

---

Kind regards,
Mohamed Thelji.
[ Tsuki Dev](http://tsukidev.com/)
*contact\[at\]tsukidev\[dot\]com*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

5 years 2 weeks ago [\#337241](#337241) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337241 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Having the exact same problem.

I sse this in the debug payment log but not sure what field is empty:

[result:Square\Http\ApiResponse:private] =&gt;
[body:Square\Http\ApiResponse:private] =&gt; {"errors": [{"code": "VALUE_EMPTY","detail": "Field must not be blank","field": "source_id","category": "INVALID_REQUEST_ERROR"}]}

[errors:Square\Http\ApiResponse:private] =&gt; Array
(
[0] =&gt; Square\Models\Error Object
(
[category:Square\Models\Error:private] =&gt; INVALID_REQUEST_ERROR
[code:Square\Models\Error:private] =&gt; VALUE_EMPTY
[detail:Square\Models\Error:private] =&gt; Field must not be blank
[field:Square\Models\Error:private] =&gt; source_id
)

)

[cursor:Square\Http\ApiResponse:private] =&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")**
- [![Tsuki Dev's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34574.png)](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")
- [ Offline](/forum/user/34574-tsuki-dev)
- Inspired web agency - Official Hikashop partner

Less More

- Posts: 145
- Thank you received: 35
-
- [](https://tsukidev.com/)
-

5 years 2 weeks ago [\#337254](#337254) by [Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")  Replied by *[Tsuki Dev](/forum/user/34574-tsuki-dev "View Tsuki Dev's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337254 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Hello,

@jazzmang :
Can you check again if the credentials you used where production credentials ?
If you're still having that issue, can you send us a temporary back-end access via email at *tsukidev.contact\[at\]gmail\[dot\]com* so that we can directly test and debug it ? Thank you.

Kind regards,
Mohamed.
[ Tsuki Dev](http://tsukidev.com/)
*tsukidev.contact\[at\]gmail\[dot\]com*

---

Kind regards,
Mohamed Thelji.
[ Tsuki Dev](http://tsukidev.com/)
*contact\[at\]tsukidev\[dot\]com*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

5 years 2 weeks ago [\#337257](#337257) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337257 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Yes, I have verified they are the production values.

The production application ID alone has a completely different prefix so easy to tell.

I'll email a login here shortly.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

5 years 1 week ago [\#337320](#337320) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337320 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Did you get the login information?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile")
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

5 years 1 week ago [\#337343](#337343) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#337343 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Well, it is working now.

The client sent me a completely new and different set of app id, token, and location ID information.

After entering them, it works.

I'm not sure what they did in developer.squareup.com, but my guess is they didn't save some changes after putting it into production.

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[abinaya](/forum/user/78954-abinaya "View abinaya's Profile")**
- [![abinaya's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/78954-abinaya "View abinaya's Profile")
- [ Offline](/forum/user/78954-abinaya)

Less More

- Posts: 1
- Thank you received: 0
-
-

3 years 1 month ago [\#355924](#355924) by [abinaya](/forum/user/78954-abinaya "View abinaya's Profile")  Replied by *[abinaya](/forum/user/78954-abinaya "View abinaya's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#355924 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Yes, I have a same problem like above. How to fix it?

- [ ![Screenshot2023-10-17121100.png](/forum/attachment/57992) ](/forum/attachment/57992 "...0-17121100.png") [ ](/forum/attachment/57992?download=1 "...0-17121100.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86592
- Thank you received: 14333
-
-

3 years 1 month ago [\#355935](#355935) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Square Payments - Production mode payments failing](/forum/29-payment-methods/903498-square-payments-production-mode-payments-failing#355935 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4.25 -- Browser(s) name and version -- : Firefox latest -- Error-message(debug-mod must be tuned on) -- : Square payment issue  Sandbox mode worked fine. Now trying production payment tests and fails.  Hiyas, have setup and tested in sandbox mode, works perfectly, have tried a few real payments, they fail.  Turned off sandbox mode, replaced tokens etc from square to the production ones. Double checked it all.  Still fails.")*

Hi,

You indeed seem to have the same error as @jazzmang and he said that after entering the correct credentials in his Square payment method it worked fine.
So it's probably the same problem. I would recommend you to double check the credentials with the Square merchant support and to check that you don't have extra spaces before / after the credentials in the settings of the payment method as it could invalidate them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDM0OTgtc3F1YXJlLXBheW1lbnRzLXByb2R1Y3Rpb24tbW9kZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.080 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
