Closed j2is closed 3 years ago
Thanks for reporting!
Are you on version 1.0.0 and installing from scratch?
On Mon, 15 Feb 2021 at 3:13 AM, j2is notifications@github.com wrote:
Hey I get a missing token exception when trying to install the latest beta. [yii\base\InvalidConfigException] yii\base\InvalidConfigException: Missing required parameter "token" when instantiating "XeroPHP\Application". in /.../vendor/yiisoft/yii2/di/Container.php:488
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thejoshsmith/commerce-xero/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKCPKYOJ55MBFZX7EYEOJTS67K7XANCNFSM4XTIO6RA .
Just tried installing with composer in a fresh project and it looks like the version 1.0.0 tag wasn't in Packagist 🤦🏻. If you run composer require thejoshsmith/commerce-xero:1.0.0
and try again is it resolved?
Thanks! Same error with that version
Can you please send me your composer.json file so that I can try and replicate? Also what PHP version are you running?
Hey @j2is, just checking this is still an issue for you? If not I'll close it to keep things tidy!
I'm having the same issue here. With version 1.0.1
my composer for reference
{
"minimum-stability": "beta",
"prefer-stable": true,
"require": {
"aelvan/imager": "v2.4.0",
"aws/aws-sdk-php": "^3.156",
"barrelstrength/sprout-reports": "^1.5",
"born05/craft-sentry": "^1.0",
"cavellblood/craft-string-base64": "1.0.1",
"clubstudioltd/craft-asset-rev": "6.0.2",
"craftcms/aws-s3": "1.2.5",
"craftcms/cms": "3.5.9",
"craftcms/commerce": "3.2.6",
"craftcms/commerce-paypal": "2.1.0.1",
"craftcms/commerce-paypal-checkout": "^1.1",
"craftcms/commerce-stripe": "2.2.1",
"craftcms/element-api": "2.6.0",
"craftcms/redactor": "2.3.3.2",
"davtur19/turibot": "^1.6",
"dukt/social": "2.0.1",
"enupal/socializer": "^1.1",
"ether/web-payments": "1.0.3",
"fostercommerce/klaviyoconnect": "3.1.3.2",
"hashtagerrors/user-initials-photo": "1.1.1",
"jalendport/craft-queuemanager": "1.2.0",
"kuriousagency/commerce-bundles": "1.0.13",
"longman/telegram-bot": "^0.64.0",
"mediabeastnz/craft-commerce-abandoned-cart": "^1.6",
"mediabeastnz/craft-commerce-back-in-stock": "1.4.0",
"mmikkel/reasons": "2.2.1",
"nystudio107/craft-imageoptimize": "1.6.14",
"nystudio107/craft-retour": "3.1.39",
"nystudio107/craft-seomatic": "3.3.8",
"nystudio107/craft-similar": "1.0.6",
"nystudio107/craft-units": "1.0.3",
"ostark/craft-async-queue": "^2.0",
"owldesign/qarr": "1.2.2.2",
"paulwscom/semaphore-client": "^0.6.0",
"putyourlightson/craft-amazon-ses": "1.2.1",
"putyourlightson/craft-blitz": "3.6.5",
"rias/craft-scout": "2.3.1",
"selvinortiz/doxter": "3.5.1",
"solspace/craft-freeform": "3.5.6",
"solspace/craft3-calendar": "2.0.25",
"spicyweb/craft-neo": "2.4.5",
"studioespresso/craft-dumper": "2.0.0",
"studioespresso/craft-easyaddressfield": "1.4.0",
"studioespresso/craft-facebook-catalog": "1.2.0",
"studioespresso/craft-google-shopping-feed": "1.1.0",
"superbig/craft3-restrict": "2.0.3",
"swishdigital/out-of-stock": "3.0.3.1",
"thejoshsmith/commerce-xero": "1.0.1",
"topshelfcraft/wordsmith": "3.0.5",
"verbb/cp-nav": "2.0.9",
"verbb/events": "1.1.6",
"verbb/gift-voucher": "^2.5",
"verbb/smith": "^1.1",
"verbb/workflow": "1.5.3",
"vlucas/phpdotenv": "^3.4.0"
},
"repositories": [
{
"type": "path",
"url": "./paymongo"
}
],
"autoload": {
"psr-4": {
"modules\\": "modules/",
"secret\\redacted\\": "modules/redacted/"
}
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
}```
Hey, yes this is still an issue for me too unfortunately
On 24 Feb 2021, at 09:20, Julien Marie notifications@github.com wrote:
{ "minimum-stability": "beta", "prefer-stable": true, "require": { "aelvan/imager": "v2.4.0", "aws/aws-sdk-php": "^3.156", "barrelstrength/sprout-reports": "^1.5", "born05/craft-sentry": "^1.0", "cavellblood/craft-string-base64": "1.0.1", "clubstudioltd/craft-asset-rev": "6.0.2", "craftcms/aws-s3": "1.2.5", "craftcms/cms": "3.5.9", "craftcms/commerce": "3.2.6", "craftcms/commerce-paypal": "2.1.0.1", "craftcms/commerce-paypal-checkout": "^1.1", "craftcms/commerce-stripe": "2.2.1", "craftcms/element-api": "2.6.0", "craftcms/redactor": "2.3.3.2", "davtur19/turibot": "^1.6", "dukt/social": "2.0.1", "enupal/socializer": "^1.1", "ether/web-payments": "1.0.3", "fostercommerce/klaviyoconnect": "3.1.3.2", "hashtagerrors/user-initials-photo": "1.1.1", "jalendport/craft-queuemanager": "1.2.0", "kuriousagency/commerce-bundles": "1.0.13", "longman/telegram-bot": "^0.64.0", "mediabeastnz/craft-commerce-abandoned-cart": "^1.6", "mediabeastnz/craft-commerce-back-in-stock": "1.4.0", "mmikkel/reasons": "2.2.1", "nystudio107/craft-imageoptimize": "1.6.14", "nystudio107/craft-retour": "3.1.39", "nystudio107/craft-seomatic": "3.3.8", "nystudio107/craft-similar": "1.0.6", "nystudio107/craft-units": "1.0.3", "ostark/craft-async-queue": "^2.0", "owldesign/qarr": "1.2.2.2", "paulwscom/semaphore-client": "^0.6.0", "putyourlightson/craft-amazon-ses": "1.2.1", "putyourlightson/craft-blitz": "3.6.5", "rias/craft-scout": "2.3.1", "selvinortiz/doxter": "3.5.1", "solspace/craft-freeform": "3.5.6", "solspace/craft3-calendar": "2.0.25", "spicyweb/craft-neo": "2.4.5", "studioespresso/craft-dumper": "2.0.0", "studioespresso/craft-easyaddressfield": "1.4.0", "studioespresso/craft-facebook-catalog": "1.2.0", "studioespresso/craft-google-shopping-feed": "1.1.0", "superbig/craft3-restrict": "2.0.3", "swishdigital/out-of-stock": "3.0.3.1", "thejoshsmith/commerce-xero": "1.0.1", "topshelfcraft/wordsmith": "3.0.5", "verbb/cp-nav": "2.0.9", "verbb/events": "1.1.6", "verbb/gift-voucher": "^2.5", "verbb/smith": "^1.1", "verbb/workflow": "1.5.3", "vlucas/phpdotenv": "^3.4.0" }, "repositories": [ { "type": "path", "url": "./paymongo" } ], "autoload": { "psr-4": { "modules\": "modules/", "secret\redacted\": "modules/redacted/" } }, "config": { "sort-packages": true, "optimize-autoloader": true }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ] } }
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thejoshsmith/commerce-xero/issues/1#issuecomment-784932984, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTFBZWZV7JPO2IFUIOODM3TATAHRANCNFSM4XTIO6RA.
Hey, yes this is still an issue for me too unfortunately
Can you also share your composer.json ? Maybe there are commonalities ?
Thanks guys will spend some time on this tomorrow.
Awesome
On Wed, 24 Feb 2021, 19:44 Josh Smith, notifications@github.com wrote:
Thanks guys will spend some time on this tomorrow.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thejoshsmith/commerce-xero/issues/1#issuecomment-785019016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABOHOIMRPTMQ3DCJANKQF3TATRAJANCNFSM4XTIO6RA .
Any news on this issue?
Just on the road at the moment, I'll post an update tonight (NZ time). I have a new release ready to go!
On Fri, Feb 26, 2021 at 5:07 PM Julien Marie notifications@github.com wrote:
Any news on this issue?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/thejoshsmith/commerce-xero/issues/1#issuecomment-786397214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKCPK3EPRPB3VQRRGCADL3TA4M7DANCNFSM4XTIO6RA .
Awesome, thanks!
On Sat, 27 Feb 2021, 07:56 Josh Smith, notifications@github.com wrote:
Just on the road at the moment, I'll post an update tonight (NZ time). I have a new release ready to go!
On Fri, Feb 26, 2021 at 5:07 PM Julien Marie notifications@github.com wrote:
Any news on this issue?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub < https://github.com/thejoshsmith/commerce-xero/issues/1#issuecomment-786397214 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABKCPK3EPRPB3VQRRGCADL3TA4M7DANCNFSM4XTIO6RA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thejoshsmith/commerce-xero/issues/1#issuecomment-786955822, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABOHON6QGEOFBWIXPXZRBLTBAYJLANCNFSM4XTIO6RA .
@julienmarie I was (finally) able to replicate the token exception issue using your composer.json file. It's bizarre that I didn't strike this during dev. Version 1.0.2 is now out which resolves this.
I'll close this issue for now, but please re-open if it isn't resolved for you!
Just wanted to say thank you, works so well!
Hey I get a missing token exception when trying to install the latest beta. [yii\base\InvalidConfigException] yii\base\InvalidConfigException: Missing required parameter "token" when instantiating "XeroPHP\Application". in /.../vendor/yiisoft/yii2/di/Container.php:488