I am testing this one an older store so do not let the URL fool you. radiant-holidays.com/Test. This is not the live store.
Hello,
sometimes I get an error mail when a customer wants to pay by Square:
Error Dump: stdClass Object
(
[errors] => Array
(
[0] => stdClass Object
(
[code] => VALUE_EMPTY
[detail] => Field must not be blank
[field] => source_id
[category] => INVALID_REQUEST_ERROR
)
[1] => stdClass Object
(
[code] => VALUE_EMPTY
[detail] => Field must not be blank
[field] => idempotency_key
[category] => INVALID_REQUEST_ERROR
)
[2] => stdClass Object
(
[code] => MISSING_REQUIRED_PARAMETER
[detail] => Field must be set
[field] => amount_money
[category] => INVALID_REQUEST_ERROR
)
)
)
I can not find out what the reason is. Minutes before and after people paid successfully.
Zen Cart version 1.5.5f
Square module: 1.5
php-version 7.3.28
Last edited by todoonada; 22 Jun 2021 at 05:07 AM.
I do not remember ever seeing the fields there. Now that I think about it, I do not know if I ever created a cart from scratch after installing the module. I will go back and test that. Be advised that this site is running in a subdirectory of the .com url and we have seen some issues with that from other plugins.
Okay, so first off, I move the site from www.example.com/test to a www.example.com as there were several smaller issues that were driving me nuts. That move solved many of the nagging issues. However, this one is now reproducible at www.wlcartistrydesign.com. I have gone into the Chrome Developer console to get the CC field info AFTER selecting the shipping method. The CC fields were visible (although not in a visually appealing way.) Here is the data in the console for the elements.
Notice that all the div IDs have no content...
When I go back and ADD an item, the fields are back...
What is going on here?
Here is the element details when the fields are visible. Completely different that the first time.
![]()
Last edited by g2ktcf; 26 Jun 2021 at 02:39 PM.