File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ Create new file `xero_config.php` in `config` directory:
4040``` php
4141<?php
4242
43- /**
44- * Do not forget to replace "https://example.com" with your website URL
45- */
4643return [
4744 'XeroOauth2' => [
4845 'clientId' => 'your-client-id',
@@ -57,12 +54,15 @@ return [
5754 'accounting.contacts',
5855 // Any other scopes needed for your application goes here
5956 ],
60- // Must end with `/success` so do not remove it while replacing it with your website URL
6157 'successUrl' => 'http://example.com/success'
6258 ]
6359];
6460```
6561
62+ ** Note:**
63+ - Do not forget to replace "https://example.com " with your website URL in your ` config/xero_config.php ` file.
64+ - Success url(` XeroOauth2.successUrl ` ) must end with ` /success ` , so do not remove it while replacing it with your website URL.
65+
6666After creating the configuration file, make sure to load the file in your ` bootstrap.php ` using ` Configure::load('xero_config', 'default'); ` .
6767
6868** Important:**
You can’t perform that action at this time.
0 commit comments