Setup B2B shop
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 15
- Joined: 05 Apr 2018, 10:26
Setup B2B shop
Hey,
I try to setup the B2B shop with the vatcheck extension. I followed all the steps mentioned in the manual https://aimeos.org/docs/User_Manual/Setup_B2B_shop but if I buy something in the Store there is no VAT included for if no VAT ID is given or the VAT id is located in my country.
I set the taxflag to zero and added the decorator to the config as well.
Do you have any input why no VAT is applied?
Thank you in advance for your support!
Local installation, MacOS High Sierra
php: 7.1.4,
laravel/framework: 5.4,
aimeos/aimeos-laravel: 2018.04
aimeoscom/ai-vatcheck: 2018.04.5
I try to setup the B2B shop with the vatcheck extension. I followed all the steps mentioned in the manual https://aimeos.org/docs/User_Manual/Setup_B2B_shop but if I buy something in the Store there is no VAT included for if no VAT ID is given or the VAT id is located in my country.
I set the taxflag to zero and added the decorator to the config as well.
Do you have any input why no VAT is applied?
Code: Select all
'client' => [
'html' => [
'basket' => [
'cache' => [
// 'enable' => false, // Disable basket content caching
],
],
'checkout' => [
'standard' => [
'address' => [
'billing' => [
'mandatory' => [
'order.base.address.salutation',
'order.base.address.firstname',
'order.base.address.lastname',
'order.base.address.address1',
'order.base.address.postal',
'order.base.address.city',
'order.base.address.languageid',
'order.base.address.countryid',
'order.base.address.email',
],
'optional' => [
'order.base.address.company',
'order.base.address.vatid',
],
],
'delivery' => [
'mandatory' => [
'order.base.address.salutation',
'order.base.address.firstname',
'order.base.address.lastname',
'order.base.address.address1',
'order.base.address.postal',
'order.base.address.city',
'order.base.address.languageid',
'order.base.address.countryid',
'order.base.address.email',
],
'optional' => [
'order.base.address.company',
'order.base.address.vatid',
],
],
'decorators' => [
'global' => [
'VatCheck'
],
],
],
],
],
],
],
'mshop' => [
'price' => [
'taxflag' => 0
],
],
Local installation, MacOS High Sierra
php: 7.1.4,
laravel/framework: 5.4,
aimeos/aimeos-laravel: 2018.04
aimeoscom/ai-vatcheck: 2018.04.5
- Attachments
-
- AddVat config.
- Screen Shot 2018-07-25 at 15.42.14.png (66 KiB) Viewed 1248 times
Re: Setup B2B shop
Your configuration is correct and in my setup (Laravel 5.6, Aimeos 2018.07, ai-vatcheck 2018.07 because 2018.04 isn't supported any more), everything works fine. Do you have a publically available test installation where I can test myself?Mightrider wrote: I try to setup the B2B shop with the vatcheck extension. I followed all the steps mentioned in the manual https://aimeos.org/docs/User_Manual/Setup_B2B_shop but if I buy something in the Store there is no VAT included for if no VAT ID is given or the VAT id is located in my country.
Cheers
Norbert