That could be part of the problem; there are significant updates to the core from v1.5.7 to v1.5.7c.
If you go to https://github.com/zencart/zencart/releases and click on the 'Assets' associated with the v1.5.7b and v1.5.7c releases, you'll find zip-files that contain only the changed files (no database changes required) to make the upgrade easier. You'll need to do two updates going from v1.5.7 to v1.5.7c, first from v1.5.7 to v1.5.7b then from v1.5.7b to 1.5.7c.
ZC 1.5.7.cIf you find the input fields for credit card numbers are flat with no text box to type into, this typically means you're missing the jscript_square.php file as described earlier in the Installation Instructions.
Or you've got a firewall or browser plugin blocking access to Square's javascript code.
Or you've got a plugin having jQuery conflicts.
One Page Checkout
Fluorspar Template
IH5
Backup MySQL
Yep, that flat CC field with no input field is exactly what I have.
Done and verifiedFor One-Page Checkout to work, you must COPY the jscript_square.php file from /includes/modules/pages/checkout_payment/ into the /includes/modules/pages/checkout_one/ folder.
Done and verified.If you had placed extra copies of the jscript_square.php file in other checkout flow locations, re-copy that again using the updated file. (common example would be for the One-Page-Checkout addon, described later in this document)
I have not seen any console errors nor any php errors. I have validated HTTPS was well. What am I missing?
Last edited by g2ktcf; 20 Jun 2021 at 07:10 PM.
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.
Bookmarks