-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACP-4696: Updated doc with new vertax glue endpoint
- Loading branch information
Showing
4 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...shop/third-party-integrations/vertex/install-vertex/integrate-the-taxamo-app.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
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-rest-api) and install the [spryker/tax-app-rest-api](https://github.com/spryker/tax-app-rest-api) module first. | ||
|
||
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(), | ||
]; | ||
} | ||
|
||
} | ||
``` | ||
|
||
## Next step | ||
[Configure Vertex in the Back Office](/docs/pbc/all/tax-management/{{page.version}}/base-shop/third-party-integrations/vertex/connect-vertex.html) |