Square Payments - Production mode payments failing

  • Posts: 121
  • Thank you received: 0
3 years 1 week ago #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.

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 33
  • MODERATOR
3 years 1 week ago #337179

Hello,

That issue is probably coming from the fact that the api credentials inserted through your Square configuration payment page via "Hikashop->System->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
tsukidev.contact[at]gmail[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 years 1 week ago #337241

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] =>
[body:Square\Http\ApiResponse:private] => {"errors": [{"code": "VALUE_EMPTY","detail": "Field must not be blank","field": "source_id","category": "INVALID_REQUEST_ERROR"}]}

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

)

[cursor:Square\Http\ApiResponse:private] =>

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 33
  • MODERATOR
3 years 6 days ago #337254

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
tsukidev.contact[at]gmail[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 years 6 days ago #337257

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 or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 years 3 days ago #337320

Did you get the login information?

Please Log in or Create an account to join the conversation.

  • Posts: 238
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 years 2 days ago #337343

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

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
1 year 1 month ago #355924

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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
1 year 1 month ago #355935

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 or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum