Closed zhsolutions closed 7 years ago
You are not using the latest version which fixed #10 and #11
EDIT: Just update the library to 1.1.0
After updating dont forget to rerun migrations and to check if your published config file looks similar to this config
EDIT: Also check the changelog and correct the input parameters of charge method on Square facade
@zhsolutions awaiting your feedback
My Composer Config is: "nikolag/square": "^1.1",
Seems like your composer didn't fetch the newest version, remove your composer.lock file and remove vendor folder and run composer update, tell me which version does composer install?
This is the installation output of the CL running :
composer require nikolag/square --dev
After that the Issue #10 still present.
And yes, the data I am passing is all there that is required in array form
@zhsolutions can you check does the file SquareConfig.php from v1.1.0 match the same file in your vendor folder?
It Does not Match
Hmm that is strange, if you are truly installing v1.1.0 then both your local copy in vendor and external one here should match..
I do not disagree...BUT i can tell you the composer file, the locked file both confirm its 1.1.0 I also uninstalled & deleted any record of the old installation before running the new ccommand..
Seems likes its downloading some sort of old cache of the files rather then the actual files.
IDK, i manually overwrote the files with the downloaded ones from the .zip.
Seems as though that worked
@zhsolutions try running composer clearcache
and then remove vendor, composer.lock and do composer install
@zhsolutions if the above solution worked, please close the issues
@zhsolutions closing the issues since u are not responding I take it that you've resolved the issue, feel free to reopen it if it appears again
Related to https://github.com/NikolaGavric94/nikolag-square/issues/10 I change line 131 to: ApiException $exception
And I get Call to undefined method SquareConnect\ApiException::getCategory()