- Posts: 121
- Thank you received: 0
Square Payments - Production mode payments failing
- bluetonguedesigns
-
Topic Author
- Offline
Less
More
4 years 10 months ago #337160
by bluetonguedesigns
-- 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.
-- 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.
4 years 10 months ago #337179
by Tsuki Dev
Kind regards,
Mohamed Thelji.
Tsuki Dev
contact[at]tsukidev[dot]com
Replied by Tsuki Dev on topic Square Payments - Production mode payments failing
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
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 Thelji.
Tsuki Dev
contact[at]tsukidev[dot]com
Please Log in or Create an account to join the conversation.
4 years 10 months ago #337241
by jazzmang
Replied by jazzmang on topic Square Payments - Production mode payments failing
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] =>
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.
4 years 10 months ago #337254
by Tsuki Dev
Kind regards,
Mohamed Thelji.
Tsuki Dev
contact[at]tsukidev[dot]com
Replied by Tsuki Dev on topic Square Payments - Production mode payments failing
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
@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 Thelji.
Tsuki Dev
contact[at]tsukidev[dot]com
Please Log in or Create an account to join the conversation.
4 years 10 months ago #337257
by jazzmang
Replied by jazzmang on topic Square Payments - Production mode payments failing
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.
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.
4 years 10 months ago #337320
by jazzmang
Replied by jazzmang on topic Square Payments - Production mode payments failing
Did you get the login information?
Please Log in or Create an account to join the conversation.
4 years 10 months ago #337343
by jazzmang
Replied by jazzmang on topic Square Payments - Production mode payments failing
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 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.
2 years 11 months ago #355924
by abinaya
Replied by abinaya on topic Square Payments - Production mode payments failing
Yes, I have a same problem like above. How to fix it?
Please Log in or Create an account to join the conversation.
2 years 11 months ago #355935
by nicolas
Replied by nicolas on topic Square Payments - Production mode payments failing
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.
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.219 seconds