-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ACP-4696: Updated doc with new vertax glue endpoint #3049
Changes from 5 commits
205b96f
b212ae6
b902fe2
bd213d0
b387bc1
8565e85
46cf5fa
a0abdb3
adda113
4a7fc52
899b5c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
title: Install Vertex | ||
description: Find out how you can install Vertex in your Spryker shop | ||
draft: true | ||
last_updated: May 17, 2024 | ||
last_updated: Jan 8, 2025 | ||
template: howto-guide-template | ||
related: | ||
- title: Vertex | ||
|
@@ -37,3 +37,4 @@ To install Vertex, integrate the ACP connector module and the Vertex app: | |
|
||
1. [Integrate ACP connector module for tax calculation](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/install-vertex/integrate-the-acp-connector-module-for-tax-calculation.html) | ||
2. [Integrate the Vertex app](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/install-vertex/integrate-the-vertex-app.html) | ||
3. [Integrate the Taxamo app](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/install-vertex/integrate-the-taxamo-app.html) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this not optional? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's not. we have one configuration for the Vertex. but if we don't create an integration for Taxamo we'll have a configuration for it (it's optional) but it won't be possible to use from the SCOSS side. in this case it's require for vertax integration |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: Integrate the Vertex app | ||
description: Find out how you can integrate the Taxamo app into your Spryker shop | ||
draft: true | ||
last_updated: Jan 8, 2025 | ||
template: howto-guide-template | ||
--- | ||
|
||
To [install Taxamo](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/install-vertex/install-vertex.html), you need to update [spryker/tax-app:0.4.0](https://github.com/spryker/tax-app) and install the [spryker/tax-app-rest-api](https://github.com/spryker/tax-app-rest-api) module first. | ||
andriitserkovnyi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
```bash | ||
composer require spryker/tax-app-rest-api:"^0.1.0" --update-with-dependencies | ||
``` | ||
|
||
|
||
To integrate Taxamo API, follow these steps. | ||
|
||
## 1. Configure GlueApplicationDependencyProvider to enable Tax ID validator | ||
|
||
```php | ||
<?php | ||
|
||
namespace Pyz\Glue\GlueApplication; | ||
|
||
use Spryker\Glue\GlueApplication\GlueApplicationDependencyProvider as SprykerGlueApplicationDependencyProvider; | ||
use Spryker\Glue\TaxAppRestApi\Plugin\TaxValidateIdResourceRoutePlugin; | ||
|
||
class GlueApplicationDependencyProvider extends SprykerGlueApplicationDependencyProvider | ||
{ | ||
/** | ||
* @return array<\Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRoutePluginInterface> | ||
*/ | ||
protected function getResourceRoutePlugins(): array | ||
{ | ||
return [ | ||
//.... | ||
new TaxValidateIdResourceRoutePlugin(), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
]; | ||
} | ||
|
||
} | ||
``` | ||
|
||
## Next step | ||
[Configure Vertex in the Back Office](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/connect-vertex.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the criteria of success?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be possible to validate taxId via Glue https://github.com/spryker/spryker-docs/pull/3049/files#diff-56d3ddba26af2334484182a6fb822bb7944196e7f6645114edad9ba00d5a027fR65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should be the reply?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated